Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:alarm_restart

Proto:void alarm_restart(struct alarm *alarm)

Type:void

Parameter:

TypeParameterName
struct alarm *alarm
396  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]
399  spin_lock_irqsave( & lock, flags)
400  hrtimer_set_expires( & timer, expires)
401  hrtimer_restart( & timer)
402  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.
403  spin_unlock_irqrestore( & lock, flags)
Caller
NameDescribe
do_timerfd_gettime