Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name: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.

Proto:static void alarmtimer_dequeue(struct alarm_base *base, struct alarm *alarm)

Type:void

Parameter:

TypeParameterName
struct alarm_base *base
struct alarm *alarm
189  If Not (state & ALARMTIMER_STATE_ENQUEUED) Then Return
192  merqueue_del - Removes a timer from the timerqueue.*@head: head of timerqueue*@node: timer node to be removed* Removes the timer node from the timerqueue. Returns true if the queue is* not empty after the remove.
193  state &= ~ALARMTIMER_STATE_ENQUEUED
Caller
NameDescribe
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