函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:update_vsyscall

函数原型:void update_vsyscall(struct timekeeper *tk)

返回类型:void

参数:

类型参数名称
struct timekeeper *tk
72  vdata等于__arch_get_k_vdso_data()
77  vdso_write_begin(vdata)
79  clock_mode等于__arch_get_clock_mode(tk)
80  clock_mode等于__arch_get_clock_mode(tk)
83  vdso_ts等于basetime[The IDs of the various system clocks (for POSIX.1b interval timers):]
84  sec等于xtime_sec
85  nsec等于xtime_nsec
88  vdso_ts等于basetime[CLOCK_REALTIME_COARSE]
89  sec等于xtime_sec
90  nsec等于xtime_nsec右移shift
93  vdso_ts等于basetime[CLOCK_MONOTONIC_COARSE]
94  sec等于xtime_sec seconds
95  nsec等于xtime_nsec右移shift
96  nsec等于nsec nanoseconds
97  sec加等于__iter_div_u64_rem(nsec, NSEC_PER_SEC, & nsec)
103  WRITE_ONCE(hrtimer_res, hrtimer_resolution)
109  如果__arch_update_vdso_data()则update_vdso_data(vdata, tk)
112  __arch_update_vsyscall(vdata, tk)
114  vdso_write_end(vdata)
116  __arch_sync_vdso_data(vdata)