函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

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

返回类型:void

参数:

类型参数名称
struct alarm_base *base
struct alarm *alarm
171  如果state按位与ALARMTIMER_STATE_ENQUEUED从时钟队列移除定时器
174  添加定时器到时钟队列
175  state或等于ALARMTIMER_STATE_ENQUEUED
调用者
名称描述
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