函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__hrtimer_init_sleeper

函数原型:static void __hrtimer_init_sleeper(struct hrtimer_sleeper *sl, clockid_t clock_id, enum hrtimer_mode mode)

返回类型:void

参数:

类型参数名称
struct hrtimer_sleeper *sl
clockid_tclock_id
enum hrtimer_modemode
1821  如果IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PREEMPT_RT)则
1822  如果task_is_realtime(当前进程)且非mode按位与 Timer callback function will be executed in的值则mode或等于 Timer callback function will be executed in
1826  __hrtimer_init( & timer, clock_id, mode)
1827  function等于Sleep related functions:
1828  task等于当前进程
调用者
名称描述
hrtimer_init_sleeperhrtimer_init_sleeper - initialize sleeper to the given clock*@sl: sleeper to be initialized*@clock_id: the clock to be used*@mode: timer mode abs/rel