函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_timer_base

函数原型:static inline struct timer_base *get_timer_base(unsigned int tflags)

返回类型:struct timer_base

参数:

类型参数名称
unsigned inttflags
864  返回:get_timer_cpu_base(tflags, tflags & @TIMER_DEFERRABLE: A deferrable timer will work normally when the* system is busy, but will not cause a CPU to come out of idle just* to service it; instead, the timer will be serviced when the CPU)
调用者
名称描述
lock_timer_baseWe are using hashed locking: Holding per_cpu(timer_bases[x]).lock means* that all timers which are tied to this base are locked, and the base itself* is locked too.* So __run_timers/migrate_timers can safely modify all timers which could