Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lock_hrtimer_base

Proto:static inline struct hrtimer_clock_base *lock_hrtimer_base(const struct hrtimer *timer, unsigned long *flags)

Type:struct hrtimer_clock_base

Parameter:

TypeParameterName
const struct hrtimer *timer
unsigned long *flags
280  base = base
282  raw_spin_lock_irqsave( & lock, * flags)
284  Return base
Caller
NameDescribe
hrtimer_start_range_nshrtimer_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
hrtimer_try_to_cancelhrtimer_try_to_cancel - try to deactivate a timer*@timer: hrtimer to stop* Returns:* * 0 when the timer was not active* * 1 when the timer was active* * -1 when the timer is currently executing the callback function and* cannot be stopped
__hrtimer_get_remaininghrtimer_get_remaining - get remaining time for the timer*@timer: the timer to read*@adjust: adjust relative timers when CONFIG_TIME_LOW_RES=y