Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\timer.c Create Date:2022-07-28 10:39:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:timer_set_idx

Proto:static inline void timer_set_idx(struct timer_list *timer, unsigned int idx)

Type:void

Parameter:

TypeParameterName
struct timer_list *timer
unsigned intidx
483  flags = flags & ~TIMER_ARRAYMASK | idx << TIMER_ARRAYSHIFT
Caller
NameDescribe
enqueue_timerEnqueue the timer into the hash bucket, mark it pending in* the bitmap and store the index in the timer flags.