函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\timer.c Create Date:2022-07-27 11:39:21
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:round_jiffies_common

函数原型:static unsigned long round_jiffies_common(unsigned long j, int cpu, bool force_up)

返回类型:unsigned long

参数:

类型参数名称
unsigned longj
intcpu
boolforce_up
277  original等于j
287  j加等于cpu乘3
289  rem等于j取模HZ
298  如果rem小于HZ除4且非force_upj等于jrem
300  否则j等于jremHZ
304  j减等于cpu乘3
310  返回:如果ime_is_after_jiffies(a) return true if a is after jiffies (j)则j否则original
调用者
名称描述
__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