函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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

函数原型: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
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)
调用者
名称描述
SYSCALL_DEFINE2
timerfd_setup