Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:alarm_init - Initialize an alarm structure*@alarm: ptr to alarm to be initialized*@type: the type of the alarm*@function: callback that is run when the alarm fires

Proto:void alarm_init(struct alarm *alarm, enum alarmtimer_type type, ktime_tenum alarmtimer_restart (*function)(struct alarm *, ))

Type:void

Parameter:

TypeParameterName
struct alarm *alarm
enum alarmtimer_typetype
enum alarmtimer_restart (*function
354  hrtimer_init - initialize a timer to the given clock*@timer: the timer to be initialized*@clock_id: the clock to be used*@mode: The modes which are relevant for intitialization:* HRTIMER_MODE_ABS, HRTIMER_MODE_REL, HRTIMER_MODE_ABS_SOFT,*
356  __alarm_init(alarm, type, function)
Caller
NameDescribe
SYSCALL_DEFINE2