table of contents
other versions
__ROUND_JIFFIES_UP_R(9) | Driver Basics | __ROUND_JIFFIES_UP_R(9) |
NAME¶
__round_jiffies_up_relative - function to round jiffies up to a full secondSYNOPSIS¶
unsigned long
__round_jiffies_up_relative(unsigned long j,
int cpu);
ARGUMENTS¶
jthe time in (relative) jiffies that should be
rounded
cpu
the processor number on which the timeout will
happen
DESCRIPTION¶
This is the same as __round_jiffies_relative except that it will never round down. This is useful for timeouts for which the exact time of firing does not matter too much, as long as they don't fire too early.COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |