函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:alarm_start - Sets an absolute alarm to fire*@alarm: ptr to alarm to set*@start: time to run the alarm

函数原型:void alarm_start(struct alarm *alarm, ktime_t start)

返回类型:void

参数:

类型参数名称
struct alarm *alarm
ktime_tstart
367  base等于struct alarm_base - Alarm timer bases*@lock: Lock for syncrhonized access to the base*@timerqueue: Timerqueue head managing the list of events*@gettime: Function to read the time correlating to the base*@base_clockid: clockid for the base[type]
370  spin_lock_irqsave( & lock, flags)
371  expires等于start
372  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.
373  重启cpu高精度定时器
374  spin_unlock_irqrestore( & lock, flags)
376  trace_alarmtimer_start(alarm, gettime())
调用者
名称描述
alarm_start_relativealarm_start_relative - Sets a relative alarm to fire*@alarm: ptr to alarm to set*@start: time relative to now to run the alarm
timerfd_setup