Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\jiffies.h Create Date:2022-07-28 05:35:43
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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:

Proto:static inline unsigned long _msecs_to_jiffies(const unsigned int m)

Type:unsigned long

Parameter:

TypeParameterName
const unsigned intm
311  Return ( m + Parameters used to convert the timespec values: / HZ - 1) / Parameters used to convert the timespec values: / HZ
Caller
NameDescribe
__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