函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:hrtimer_set_expires_range_ns

函数原型:static inline void hrtimer_set_expires_range_ns(struct hrtimer *timer, ktime_t time, u64 delta)

返回类型:void

参数:

类型参数名称
struct hrtimer *timer
ktime_ttime
u64delta
253  _softexpires等于time
254  expires等于Add two ktime values and do a safety check for overflow:
调用者
名称描述
__hrtimer_start_range_ns
hrtimer_nanosleep
schedule_hrtimeout_range_clockschedule_hrtimeout_range_clock - sleep until timeout*@expires: timeout value (ktime_t)*@delta: slack in expires timeout (ktime_t)*@mode: timer mode*@clock_id: timer clock to be used
futex_setup_timerex_setup_timer - set up the sleeping hrtimer