函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:update_vdso_data

函数原型:static inline void update_vdso_data(struct vdso_data *vdata, struct timekeeper *tk)

返回类型:void

参数:

类型参数名称
struct vdso_data *vdata
struct timekeeper *tk
22  cycle_last等于cycle_last
23  mask等于mask
24  mult等于mult
25  shift等于shift
26  cycle_last等于cycle_last
27  mask等于mask
28  mult等于mult
29  shift等于shift
32  vdso_ts等于basetime[CLOCK_MONOTONIC]
33  sec等于xtime_sec seconds
35  nsec等于xtime_nsec
36  nsec加等于 nanoseconds 左移shift
37 nsec大于等于NSEC_PER_SEC左移shift循环
38  nsec减等于NSEC_PER_SEC左移shift
39  sec自加
41  nsec等于nsec
44  sec等于sec
46  sec加等于 seconds
47  nsec加等于 nanoseconds 左移shift
50  vdso_ts等于basetime[CLOCK_BOOTTIME]
51  sec等于sec
53 nsec大于等于NSEC_PER_SEC左移shift循环
54  nsec减等于NSEC_PER_SEC左移shift
55  sec自加
57  nsec等于nsec
60  vdso_ts等于basetime[CLOCK_MONOTONIC_RAW]
61  sec等于raw_sec
62  nsec等于xtime_nsec
65  vdso_ts等于basetime[CLOCK_TAI]
66  sec等于xtime_sectai_offset
67  nsec等于xtime_nsec
调用者
名称描述
update_vsyscall