search for: clock_t_to_jiffi

Displaying 4 results from an estimated 4 matches for "clock_t_to_jiffi".

Did you mean: clock_t_to_jiffies
2007 Apr 18
0
[Bridge] [PATCH] (4/11) bridge - ioctl cleanup and consolidation
...rg0, indices, num*sizeof(int))) + get_port_ifindices(br, indices, num); + if (copy_to_user((void *)args[1], indices, num*sizeof(int))) num = -EFAULT; kfree(indices); return num; @@ -119,7 +148,7 @@ return -EPERM; spin_lock_bh(&br->lock); - br->bridge_forward_delay = clock_t_to_jiffies(arg0); + br->bridge_forward_delay = clock_t_to_jiffies(args[1]); if (br_is_root_bridge(br)) br->forward_delay = br->bridge_forward_delay; spin_unlock_bh(&br->lock); @@ -130,7 +159,7 @@ return -EPERM; spin_lock_bh(&br->lock); - br->bridge_hello_time =...
2007 Apr 18
0
[Bridge] setting STP values via brctl
..., __tv_to_jiffies(tv), BRCTL_SET_BRIDGE_HELLO_TIME); } Note the tv_to_jiffies() call. Then, I looked in the kernel file linux/net/bridge/br_sysfs_br.c at the following function: static void set_hello_time(struct net_bridge *br, unsigned long val) { unsigned long t = clock_t_to_jiffies(val); br->hello_time = t; if (br_is_root_bridge(br)) br->bridge_hello_time = t; } Note the clock_t_to_jiffies() call. Are we converting the time in brctl to jiffies and then when it enters the kernel, we again change the value again to jiffies? Or have I m...
2017 Jan 28
6
make SCSI passthrough support optional
Hi all, this series builds on my previous changes in Jens' for-4.11/rq-refactor branch that split out the BLOCK_PC fields from struct request into a new struct scsi_request, and makes support for struct scsi_request and the SCSI passthrough ioctls optional. It is now only enabled by drivers that need it. In addition I've made SCSI passthrough support in the virtio_blk driver an optional
2017 Jan 28
6
make SCSI passthrough support optional
Hi all, this series builds on my previous changes in Jens' for-4.11/rq-refactor branch that split out the BLOCK_PC fields from struct request into a new struct scsi_request, and makes support for struct scsi_request and the SCSI passthrough ioctls optional. It is now only enabled by drivers that need it. In addition I've made SCSI passthrough support in the virtio_blk driver an optional