函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:timer_set_idx

函数原型:static inline void timer_set_idx(struct timer_list *timer, unsigned int idx)

返回类型:void

参数:

类型参数名称
struct timer_list *timer
unsigned intidx
483  flags等于flags按位与TIMER_ARRAYMASK的反按位或idx左移TIMER_ARRAYSHIFT
调用者
名称描述
enqueue_timerEnqueue the timer into the hash bucket, mark it pending in* the bitmap and store the index in the timer flags.