Home
last modified time | relevance | path

Searched refs:tsc_pg (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/include/clocksource/
Dhyperv_timer.h39 hv_read_tsc_page_tsc(const struct ms_hyperv_tsc_page *tsc_pg, u64 *cur_tsc) in hv_read_tsc_page_tsc() argument
61 sequence = READ_ONCE(tsc_pg->tsc_sequence); in hv_read_tsc_page_tsc()
70 scale = READ_ONCE(tsc_pg->tsc_scale); in hv_read_tsc_page_tsc()
71 offset = READ_ONCE(tsc_pg->tsc_offset); in hv_read_tsc_page_tsc()
80 } while (READ_ONCE(tsc_pg->tsc_sequence) != sequence); in hv_read_tsc_page_tsc()
86 hv_read_tsc_page(const struct ms_hyperv_tsc_page *tsc_pg) in hv_read_tsc_page() argument
90 return hv_read_tsc_page_tsc(tsc_pg, &cur_tsc); in hv_read_tsc_page()
99 static inline u64 hv_read_tsc_page_tsc(const struct ms_hyperv_tsc_page *tsc_pg, in hv_read_tsc_page_tsc() argument
/kernel/linux/linux-5.10/drivers/clocksource/
Dhyperv_timer.c321 } tsc_pg __aligned(PAGE_SIZE);
325 return &tsc_pg.page; in hv_get_tsc_page()
363 phys_addr_t phys_addr = virt_to_phys(&tsc_pg); in resume_hv_clock_tsc()
/kernel/linux/linux-5.10/arch/x86/entry/vdso/
Dvma.c229 struct ms_hyperv_tsc_page *tsc_pg = hv_get_tsc_page(); in vvar_fault() local
231 if (tsc_pg && vclock_was_used(VDSO_CLOCKMODE_HVCLOCK)) in vvar_fault()
233 virt_to_phys(tsc_pg) >> PAGE_SHIFT); in vvar_fault()