函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Apply a multiplier adjustment to the timekeeper

函数原型:static __always_inline void timekeeping_apply_adjustment(struct timekeeper *tk, s64 offset, s32 mult_adj)

返回类型:void

参数:

类型参数名称
struct timekeeper *tk
s64offset
s32mult_adj
1825  interval等于The following members are for timekeeping internal use
1827  如果mult_adj恒等于0则
1828  返回
1829  否则如果mult_adj恒等于负1则
1830  interval等于负interval
1831  offset等于负offset
1832  否则如果mult_adj不等于1则
1833  interval乘等于mult_adj
1834  offset乘等于mult_adj
1884  如果mult_adj大于0且multmult_adj小于mult_adj
1886  WARN_ON_ONCE(1)
1887  返回
1890  mult加等于mult_adj
1891  xtime_interval加等于interval
1892  xtime_nsec减等于offset
调用者
名称描述
timekeeping_adjustAdjust the timekeeper's multiplier to the correct frequency* and also to reduce the accumulated error value.