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_start_relative - Sets a relative alarm to fire*@alarm: ptr to alarm to set*@start: time relative to now to run the alarm

Proto:void alarm_start_relative(struct alarm *alarm, ktime_t start)

Type:void

Parameter:

TypeParameterName
struct alarm *alarm
ktime_tstart
387  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]
389  start = Add two ktime values and do a safety check for overflow:
390  alarm_start - Sets an absolute alarm to fire*@alarm: ptr to alarm to set*@start: time to run the alarm