函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hrtimer_start_range_ns - (re)start an hrtimer*@timer: the timer to be added*@tim: expiry time*@delta_ns: "slack" range for the timer*@mode: timer mode: absolute (HRTIMER_MODE_ABS) or* relative (HRTIMER_MODE_REL), and pinned (HRTIMER_MODE_PINNED);* softirq

函数原型:void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, u64 delta_ns, const enum hrtimer_mode mode)

返回类型:void

参数:

类型参数名称
struct hrtimer *timer
ktime_ttim
u64delta_ns
const enum hrtimer_modemode
1126  如果非IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PREEMPT_RT)则WARN_ON_ONCE(!(mode & Timer callback function will be executed in) ^ !is_soft)
1128  否则WARN_ON_ONCE(!(mode & Timer callback function will be executed in) ^ !is_hard)
1131  base等于lock_hrtimer_base(timer, & flags)
1133  如果__hrtimer_start_range_ns(timer, tim, delta_ns, mode, base)则When a timer is enqueued and expires earlier than the already enqueued* timers, we have to check, whether it expires earlier than the timer for* which the clock event device was armed.* Called with interrupts disabled and base->cpu_base.lock held
1136  Counterpart to lock_hrtimer_base above:
调用者
名称描述
iocg_kick_delay
iocg_kick_waitq