函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\timer_list.c Create Date:2022-07-27 11:44:38
Last Modify:2020-03-17 14:55:40 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:print_active_timers

函数原型:static void print_active_timers(struct seq_file *m, struct hrtimer_clock_base *base, u64 now)

返回类型:void

参数:

类型参数名称
struct seq_file *m
struct hrtimer_clock_base *base
u64now
77  next等于0
81  next_one :
82  i等于0
84  h_nmi_watchdog - restart NMI watchdog timeout.* If the architecture supports the NMI watchdog, touch_nmi_watchdog()* may be used to reset the timeout - for code which intentionally* disables interrupts for a long time. This call is stateless.
86  raw_spin_lock_irqsave( & lock, flags)
88  curr等于返回计时器的最早的过期时间
93 curri小于next循环
94  curr等于merqueue_iterate_next - Returns the timer after the provided timer*@node: Pointer to a timer.* Provides the timer that is after the given node. This is used, when* necessary, to iterate through the list of timers in a timer list
95  i自加
98  如果curr
100  timer等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(curr, structhrtimer, node)
101  tmp等于timer
102  raw_spin_unlock_irqrestore( & lock, flags)
104  print_timer(m, timer, & tmp, i, now)
105  next自加
106  转到:next_one
108  raw_spin_unlock_irqrestore( & lock, flags)
调用者
名称描述
print_base