__ROUND_JIFFIES_UP(9) Driver Basics __ROUND_JIFFIES_UP(9)NAME__round_jiffies_up - function to round jiffies up to a full second
SYNOPSIS
unsigned long __round_jiffies_up(unsigned long j, int cpu);
ARGUMENTS
j
the time in (absolute) jiffies that should be rounded
cpu
the processor number on which the timeout will happen
DESCRIPTION
This is the same as __round_jiffies 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.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 __ROUND_JIFFIES_UP(9)