Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\hrtimer.c Create Date:2022-07-28 10:40:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:void hrtimer_start_range_ns(struct hrtimer *timer, ktime_t tim, u64 delta_ns, const enum hrtimer_mode mode)

Type:void

Parameter:

TypeParameterName
struct hrtimer *timer
ktime_ttim
u64delta_ns
const enum hrtimer_modemode
1126  If Not IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_PREEMPT_RT) Then WARN_ON_ONCE(!(mode & Timer callback function will be executed in) ^ !is_soft)
1128  Else WARN_ON_ONCE(!(mode & Timer callback function will be executed in) ^ !is_hard)
1131  base = lock_hrtimer_base(timer, & flags)
1133  If __hrtimer_start_range_ns(timer, tim, delta_ns, mode, base) Then 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:
Caller
NameDescribe
iocg_kick_delay