search for: tv_to_jiffies

Displaying 1 result from an estimated 1 matches for "tv_to_jiffies".

Did you mean: __tv_to_jiffies
2007 Apr 18
0
[Bridge] setting STP values via brctl
...lass/net/br0/bridge/hello_time 2999 Much bigger than expected. I started looking at the source. In the libbridge/libbridge_devif.c file of brctl, we have the following routine: int br_set_bridge_hello_time(const char *br, struct timeval *tv) { return br_set(br, "hello_time", __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_jiffie...