函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lock_hrtimer_base

函数原型:static inline struct hrtimer_clock_base *lock_hrtimer_base(const struct hrtimer *timer, unsigned long *flags)

返回类型:struct hrtimer_clock_base

参数:

类型参数名称
const struct hrtimer *timer
unsigned long *flags
280  base等于base
282  raw_spin_lock_irqsave( & lock, * flags)
284  返回:base
调用者
名称描述
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