Home
last modified time | relevance | path

Searched refs:caller_jiffies (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/include/linux/
Dprintk.h177 extern bool printk_timed_ratelimit(unsigned long *caller_jiffies,
224 static inline bool printk_timed_ratelimit(unsigned long *caller_jiffies, in printk_timed_ratelimit() argument
/linux-6.6.21/kernel/printk/
Dprintk.c3952 bool printk_timed_ratelimit(unsigned long *caller_jiffies, in printk_timed_ratelimit() argument
3955 unsigned long elapsed = jiffies - *caller_jiffies; in printk_timed_ratelimit()
3957 if (*caller_jiffies && elapsed <= msecs_to_jiffies(interval_msecs)) in printk_timed_ratelimit()
3960 *caller_jiffies = jiffies; in printk_timed_ratelimit()