函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\jiffies.h Create Date:2022-07-27 06:39:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:HZ is equal to or smaller than 1000, and 1000 is a nice round* multiple of HZ, divide with the factor between them, but round* upwards:

函数原型:static inline unsigned long _msecs_to_jiffies(const unsigned int m)

返回类型:unsigned long

参数:

类型参数名称
const unsigned intm
311  返回:mParameters used to convert the timespec values: HZ减1的差除Parameters used to convert the timespec values: HZ
调用者
名称描述
__msecs_to_jiffiesmsecs_to_jiffies: - convert milliseconds to jiffies*@m: time in milliseconds* conversion is done as follows:* - negative values mean 'infinite timeout' (MAX_JIFFY_OFFSET)* - 'too large' values [that would result in larger than
msecs_to_jiffiesmsecs_to_jiffies: - convert milliseconds to jiffies*@m: time in milliseconds* conversion is done as follows:* - negative values mean 'infinite timeout' (MAX_JIFFY_OFFSET)* - 'too large' values [that would result in larger than