Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

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

Type:void

Parameter:

TypeParameterName
struct alarm_base *base
struct alarm *alarm
171  If state & ALARMTIMER_STATE_ENQUEUED Then 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.
174  merqueue_add - Adds timer to timerqueue.*@head: head of timerqueue*@node: timer node to be added* Adds the timer node to the timerqueue, sorted by the node's expires* value. Returns true if the newly added timer is the first expiring timer in* the queue.
175  state |= ALARMTIMER_STATE_ENQUEUED
Caller
NameDescribe
alarmtimer_firedalarmtimer_fired - Handles alarm hrtimer being fired
alarm_startalarm_start - Sets an absolute alarm to fire*@alarm: ptr to alarm to set*@start: time to run the alarm
alarm_restart