函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:printk_timed_ratelimit - caller-controlled printk ratelimiting*@caller_jiffies: pointer to caller's state*@interval_msecs: minimum interval between prints* printk_timed_ratelimit() returns true if more than @interval_msecs* milliseconds have elapsed since

函数原型:bool printk_timed_ratelimit(unsigned long *caller_jiffies, unsigned int interval_msecs)

返回类型:bool

参数:

类型参数名称
unsigned long *caller_jiffies
unsigned intinterval_msecs
3033  elapsed等于jiffiescaller_jiffies
3035  如果caller_jiffieselapsed小于等于msecs_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则返回:false
3038  caller_jiffies等于jiffies
3039  返回:true