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

Proto:static 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
338  timerqueue_init( & node)
339  function = alarmtimer_fired - Handles alarm hrtimer being fired
340  function = function
341  type = type
342  state = ALARMTIMER_STATE_INACTIVE
Caller
NameDescribe
alarm_initalarm_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