Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\timer.c Create Date:2022-07-28 10:39:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:round_jiffies_common

Proto:static unsigned long round_jiffies_common(unsigned long j, int cpu, bool force_up)

Type:unsigned long

Parameter:

TypeParameterName
unsigned longj
intcpu
boolforce_up
277  original = j
287  j += cpu * 3
289  rem = j % HZ
298  If rem < HZ / 4 && Not force_up Then j = j - rem
300  Else j = j - rem + HZ
304  j -= cpu * 3
310  Return If ime_is_after_jiffies(a) return true if a is after jiffies (j) Then j Else original
Caller
NameDescribe
__round_jiffies__round_jiffies - function to round jiffies to a full second*@j: the time in (absolute) jiffies that should be rounded*@cpu: the processor number on which the timeout will happen* __round_jiffies() rounds an absolute time in the future (in jiffies)
__round_jiffies_relative__round_jiffies_relative - function to round jiffies to a full second*@j: the time in (relative) jiffies that should be rounded*@cpu: the processor number on which the timeout will happen* __round_jiffies_relative() rounds a time delta in the future (in
round_jiffiesd_jiffies - function to round jiffies to a full second*@j: the time in (absolute) jiffies that should be rounded* round_jiffies() rounds an absolute time in the future (in jiffies)* up or down to (approximately) full seconds
__round_jiffies_up__round_jiffies_up - function to round jiffies up to a full second*@j: the time in (absolute) jiffies that should be rounded*@cpu: the processor number on which the timeout will happen* This is the same as __round_jiffies() except that it will never
__round_jiffies_up_relative__round_jiffies_up_relative - function to round jiffies up to a full second*@j: the time in (relative) jiffies that should be rounded*@cpu: the processor number on which the timeout will happen* This is the same as __round_jiffies_relative() except that
round_jiffies_upd_jiffies_up - function to round jiffies up to a full second*@j: the time in (absolute) jiffies that should be rounded* This is the same as round_jiffies() except that it will never* round down