函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__alarm_init

函数原型:static void __alarm_init(struct alarm *alarm, enum alarmtimer_type type, ktime_tenum alarmtimer_restart (*function)(struct alarm *, ))

返回类型:void

参数:

类型参数名称
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
调用者
名称描述
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