函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__hrtimer_expires_remaining_adjusted

函数原型:static inline ktime_t __hrtimer_expires_remaining_adjusted(const struct hrtimer *timer, ktime_t now)

返回类型:ktime_t

参数:

类型参数名称
const struct hrtimer *timer
ktime_tnow
335  rem等于Subtract two ktime_t variables. rem = lhs -rhs: (expires, now)
341  如果IS_ENABLED(CONFIG_TIME_LOW_RES)且is_relrem减等于hrtimer_resolution
343  返回:rem
调用者
名称描述
common_hrtimer_remaining
hrtimer_expires_remaining_adjusted