函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:alarmtimer_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.

函数原型:static void alarmtimer_dequeue(struct alarm_base *base, struct alarm *alarm)

返回类型:void

参数:

类型参数名称
struct alarm_base *base
struct alarm *alarm
189  如果非state按位与ALARMTIMER_STATE_ENQUEUED的值则返回
192  从时钟队列移除定时器
193  state与等于ALARMTIMER_STATE_ENQUEUED的反
调用者
名称描述
alarmtimer_firedalarmtimer_fired - Handles alarm hrtimer being fired
alarm_try_to_cancelalarm_try_to_cancel - Tries to cancel an alarm timer*@alarm: ptr to alarm to be canceled* Returns 1 if the timer was canceled, 0 if it was not running,* and -1 if the callback was running