函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:从时钟队列移除定时器

函数原型:bool timerqueue_del(struct timerqueue_head *head, struct timerqueue_node *node)

返回类型:bool

参数:

类型参数名称
struct timerqueue_head *head
struct timerqueue_node *node
65  WARN_ON_ONCE('empty' nodes are nodes that are known not to be inserted in an rbtree ( & node))
67  rb_erase_cached( & node, & rb_root)
68  RB_CLEAR_NODE( & node)
70  返回:非RB_EMPTY_ROOT( & rb_root)
调用者
名称描述
alarmtimer_enqueuealarmtimer_enqueue - Adds an alarm timer to an alarm_base timerqueue*@base: pointer to the base where the timer is being run*@alarm: pointer to alarm being enqueued.* Adds alarm to a alarm_base timerqueue* Must hold base->lock when calling.
alarmtimer_dequeuealarmtimer_dequeue - Removes an alarm timer from an alarm_base timerqueue*@base: pointer to the base where the timer is running*@alarm: pointer to alarm being removed* Removes alarm to a alarm_base timerqueue* Must hold base->lock when calling.
cleanup_timerqueue
__remove_hrtimer__remove_hrtimer - internal function to remove a timer* Caller must hold the base lock.* High resolution timer mode reprograms the clock event device when the* timer is the one which expires next. The caller can disable this by setting* reprogram to zero