“d540e43b0ab134b22f015f725ce6e070d12b0244”上不存在“fs/xfs/libxfs/xfs_attr.c”
vgtod.h 624 字节
Newer Older
H
H. Peter Anvin 已提交
1 2
#ifndef _ASM_X86_VGTOD_H
#define _ASM_X86_VGTOD_H
3 4 5 6 7

#include <asm/vsyscall.h>
#include <linux/clocksource.h>

struct vsyscall_gtod_data {
8
	seqcount_t	seq;
9 10

	struct { /* extract of a clocksource struct */
11
		int vclock_mode;
12 13 14 15 16
		cycle_t	cycle_last;
		cycle_t	mask;
		u32	mult;
		u32	shift;
	} clock;
17 18 19

	/* open coded 'struct timespec' */
	time_t		wall_time_sec;
20 21
	u64		wall_time_snsec;
	u64		monotonic_time_snsec;
22 23 24
	time_t		monotonic_time_sec;

	struct timezone sys_tz;
25
	struct timespec wall_time_coarse;
26
	struct timespec monotonic_time_coarse;
27 28 29
};
extern struct vsyscall_gtod_data vsyscall_gtod_data;

H
H. Peter Anvin 已提交
30
#endif /* _ASM_X86_VGTOD_H */