ROUND_JIFFIES_UP_REL

Section: Driver Basics (9)
Updated: February 2011
Index Return to Main Contents
 

NAME

round_jiffies_up_relative - function to round jiffies up to a full second  

SYNOPSIS

unsigned long round_jiffies_up_relative(unsigned long j);
 

ARGUMENTS

j

the time in (relative) jiffies that should be rounded
 

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