Home
last modified time | relevance | path

Searched refs:vdso_data (Results 1 – 25 of 54) sorted by relevance

123

/openbmc/linux/arch/powerpc/include/asm/vdso/
H A Dgettimeofday.h87 const struct vdso_data *vd) in __arch_get_hw_counter()
92 const struct vdso_data *__arch_get_vdso_data(void);
96 const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) in __arch_get_timens_vdso_data()
102 static inline bool vdso_clocksource_ok(const struct vdso_data *vd) in vdso_clocksource_ok()
143 const struct vdso_data *vd);
145 const struct vdso_data *vd);
148 const struct vdso_data *vd);
150 const struct vdso_data *vd);
152 const struct vdso_data *vd);
155 const struct vdso_data *vd);
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A Dvdso.c53 struct vdso_arch_data *vdso_data = &vdso_data_store.data; variable
103 struct vdso_data *arch_get_vdso_data(void *vvar_page) in arch_get_vdso_data()
143 pfn = virt_to_pfn(vdso_data); in vvar_fault()
156 pfn = virt_to_pfn(vdso_data); in vvar_fault()
343 vdso_data->version.major = SYSTEMCFG_MAJOR; in vdso_init()
344 vdso_data->version.minor = SYSTEMCFG_MINOR; in vdso_init()
345 vdso_data->processor = mfspr(SPRN_PVR); in vdso_init()
350 vdso_data->platform = 0x100; in vdso_init()
352 vdso_data->platform |= 1; in vdso_init()
354 vdso_data->dcache_size = ppc64_caches.l1d.size; in vdso_init()
[all …]
/openbmc/linux/arch/powerpc/kernel/vdso/
H A Dvgettimeofday.c10 const struct vdso_data *vd) in __c_kernel_clock_gettime()
16 const struct vdso_data *vd) in __c_kernel_clock_getres()
22 const struct vdso_data *vd) in __c_kernel_clock_gettime()
28 const struct vdso_data *vd) in __c_kernel_clock_gettime64()
34 const struct vdso_data *vd) in __c_kernel_clock_getres()
41 const struct vdso_data *vd) in __c_kernel_gettimeofday()
46 __kernel_old_time_t __c_kernel_time(__kernel_old_time_t *time, const struct vdso_data *vd) in __c_kernel_time()
/openbmc/linux/arch/arm/include/asm/vdso/
H A Dvsyscall.h11 extern struct vdso_data *vdso_data;
18 struct vdso_data *__arm_get_k_vdso_data(void) in __arm_get_k_vdso_data()
20 return vdso_data; in __arm_get_k_vdso_data()
25 void __arm_sync_vdso_data(struct vdso_data *vdata) in __arm_sync_vdso_data()
/openbmc/linux/arch/arm64/include/asm/vdso/
H A Dvsyscall.h12 extern struct vdso_data *vdso_data;
18 struct vdso_data *__arm64_get_k_vdso_data(void) in __arm64_get_k_vdso_data()
20 return vdso_data; in __arm64_get_k_vdso_data()
25 void __arm64_update_vsyscall(struct vdso_data *vdata, struct timekeeper *tk) in __arm64_update_vsyscall()
H A Dcompat_gettimeofday.h107 const struct vdso_data *vd) in __arch_get_hw_counter()
134 static __always_inline const struct vdso_data *__arch_get_vdso_data(void) in __arch_get_vdso_data()
136 const struct vdso_data *ret; in __arch_get_vdso_data()
159 const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) in __arch_get_timens_vdso_data()
161 const struct vdso_data *ret; in __arch_get_timens_vdso_data()
170 static inline bool vdso_clocksource_ok(const struct vdso_data *vd) in vdso_clocksource_ok()
H A Dgettimeofday.h70 const struct vdso_data *vd) in __arch_get_hw_counter()
103 const struct vdso_data *__arch_get_vdso_data(void) in __arch_get_vdso_data()
110 const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) in __arch_get_timens_vdso_data()
/openbmc/linux/lib/vdso/
H A Dgettimeofday.c35 static inline bool vdso_clocksource_ok(const struct vdso_data *vd) in vdso_clocksource_ok()
52 const struct vdso_data *vd; in do_hres_timens()
98 const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) in __arch_get_timens_vdso_data()
110 static __always_inline int do_hres(const struct vdso_data *vd, clockid_t clk, in do_hres()
168 const struct vdso_data *vd = __arch_get_timens_vdso_data(vdns); in do_coarse_timens()
228 __cvdso_clock_gettime_common(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_gettime_common()
255 __cvdso_clock_gettime_data(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_gettime_data()
273 __cvdso_clock_gettime32_data(const struct vdso_data *vd, clockid_t clock, in __cvdso_clock_gettime32_data()
299 __cvdso_gettimeofday_data(const struct vdso_data *vd, in __cvdso_gettimeofday_data()
333 __cvdso_time_data(const struct vdso_data *vd, __kernel_old_time_t *time) in __cvdso_time_data()
[all …]
/openbmc/linux/arch/loongarch/include/asm/vdso/
H A Dgettimeofday.h75 const struct vdso_data *vd) in __arch_get_hw_counter()
92 static __always_inline const struct vdso_data *__arch_get_vdso_data(void) in __arch_get_vdso_data()
94 return (const struct vdso_data *)get_vdso_data(); in __arch_get_vdso_data()
99 const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) in __arch_get_timens_vdso_data()
101 return (const struct vdso_data *)(get_vdso_data() + VVAR_TIMENS_PAGE_OFFSET * PAGE_SIZE); in __arch_get_timens_vdso_data()
H A Dvsyscall.h10 extern struct vdso_data *vdso_data;
16 struct vdso_data *__loongarch_get_k_vdso_data(void) in __loongarch_get_k_vdso_data()
18 return vdso_data; in __loongarch_get_k_vdso_data()
/openbmc/linux/arch/mips/include/asm/vdso/
H A Dvsyscall.h10 extern struct vdso_data *vdso_data;
16 struct vdso_data *__mips_get_k_vdso_data(void) in __mips_get_k_vdso_data()
18 return vdso_data; in __mips_get_k_vdso_data()
H A Dvdso.h61 static inline const struct vdso_data *get_vdso_data(void) in get_vdso_data()
63 return (const struct vdso_data *)(get_vdso_base() - PAGE_SIZE); in get_vdso_data()
68 static inline void __iomem *get_gic(const struct vdso_data *data) in get_gic()
/openbmc/linux/arch/riscv/include/asm/vdso/
H A Dvsyscall.h10 extern struct vdso_data *vdso_data;
15 static __always_inline struct vdso_data *__riscv_get_k_vdso_data(void) in __riscv_get_k_vdso_data()
17 return vdso_data; in __riscv_get_k_vdso_data()
H A Dgettimeofday.h72 const struct vdso_data *vd) in __arch_get_hw_counter()
82 static __always_inline const struct vdso_data *__arch_get_vdso_data(void) in __arch_get_vdso_data()
89 const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) in __arch_get_timens_vdso_data()
/openbmc/linux/arch/csky/include/asm/vdso/
H A Dvsyscall.h10 extern struct vdso_data *vdso_data;
12 static __always_inline struct vdso_data *__csky_get_k_vdso_data(void) in __csky_get_k_vdso_data()
14 return vdso_data; in __csky_get_k_vdso_data()
/openbmc/linux/arch/loongarch/kernel/
H A Dvdso.c31 struct vdso_data data[CS_BASES];
40 struct vdso_data *vdso_data = generic_vdso_data.data; variable
59 pfn = sym_to_pfn(vdso_data); in vvar_fault()
74 pfn = sym_to_pfn(vdso_data); in vvar_fault()
121 struct vdso_data *arch_get_vdso_data(void *vvar_page) in arch_get_vdso_data()
123 return (struct vdso_data *)(vvar_page); in arch_get_vdso_data()
/openbmc/linux/include/vdso/
H A Dhelpers.h9 static __always_inline u32 vdso_read_begin(const struct vdso_data *vd) in vdso_read_begin()
20 static __always_inline u32 vdso_read_retry(const struct vdso_data *vd, in vdso_read_retry()
30 static __always_inline void vdso_write_begin(struct vdso_data *vd) in vdso_write_begin()
42 static __always_inline void vdso_write_end(struct vdso_data *vd) in vdso_write_end()
H A Ddatapage.h90 struct vdso_data { struct
121 extern struct vdso_data _vdso_data[CS_BASES] __attribute__((visibility("hidden"))); argument
122 extern struct vdso_data _timens_data[CS_BASES] __attribute__((visibility("hidden")));
/openbmc/linux/arch/s390/include/asm/vdso/
H A Dgettimeofday.h20 static __always_inline const struct vdso_data *__arch_get_vdso_data(void) in __arch_get_vdso_data()
25 static inline u64 __arch_get_hw_counter(s32 clock_mode, const struct vdso_data *vd) in __arch_get_hw_counter()
57 const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) in __arch_get_timens_vdso_data()
/openbmc/linux/include/asm-generic/vdso/
H A Dvsyscall.h8 static __always_inline struct vdso_data *__arch_get_k_vdso_data(void) in __arch_get_k_vdso_data()
15 static __always_inline void __arch_update_vsyscall(struct vdso_data *vdata, in __arch_update_vsyscall()
22 static __always_inline void __arch_sync_vdso_data(struct vdso_data *vdata) in __arch_sync_vdso_data()
/openbmc/linux/arch/riscv/kernel/
H A Dvdso.c37 struct vdso_data data;
40 struct vdso_data *vdso_data = &vdso_data_store.data; variable
96 struct vdso_data *arch_get_vdso_data(void *vvar_page) in arch_get_vdso_data()
98 return (struct vdso_data *)(vvar_page); in arch_get_vdso_data()
141 pfn = sym_to_pfn(vdso_data); in vvar_fault()
154 pfn = sym_to_pfn(vdso_data); in vvar_fault()
/openbmc/linux/arch/s390/kernel/
H A Dvdso.c29 struct vdso_data data[CS_BASES];
33 struct vdso_data *vdso_data = vdso_data_store.data; variable
42 struct vdso_data *arch_get_vdso_data(void *vvar_page) in arch_get_vdso_data()
44 return (struct vdso_data *)(vvar_page); in arch_get_vdso_data()
81 pfn = virt_to_pfn(vdso_data); in vvar_fault()
105 pfn = virt_to_pfn(vdso_data); in vvar_fault()
/openbmc/linux/arch/csky/kernel/
H A Dvdso.c26 struct vdso_data data;
29 struct vdso_data *vdso_data = &vdso_data_store.data; variable
49 vdso_pagelist[i] = virt_to_page(vdso_data); in vdso_init()
/openbmc/linux/arch/x86/include/asm/vdso/
H A Dgettimeofday.h62 const struct vdso_data *__arch_get_timens_vdso_data(const struct vdso_data *vd) in __arch_get_timens_vdso_data()
251 const struct vdso_data *vd) in __arch_get_hw_counter()
276 static __always_inline const struct vdso_data *__arch_get_vdso_data(void) in __arch_get_vdso_data()
281 static inline bool arch_vdso_clocksource_ok(const struct vdso_data *vd) in arch_vdso_clocksource_ok()
/openbmc/linux/kernel/time/
H A Dvsyscall.c18 static inline void update_vdso_data(struct vdso_data *vdata, in update_vdso_data()
74 struct vdso_data *vdata = __arch_get_k_vdso_data(); in update_vsyscall()
125 struct vdso_data *vdata = __arch_get_k_vdso_data(); in update_vsyscall_tz()
147 struct vdso_data *vdata = __arch_get_k_vdso_data(); in vdso_update_begin()
165 struct vdso_data *vdata = __arch_get_k_vdso_data(); in vdso_update_end()

123