Searched refs:tsc_pg (Results 1 – 3 of 3) sorted by relevance
39 hv_read_tsc_page_tsc(const struct ms_hyperv_tsc_page *tsc_pg, u64 *cur_tsc) in hv_read_tsc_page_tsc() argument61 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() argument90 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
321 } 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()
229 struct ms_hyperv_tsc_page *tsc_pg = hv_get_tsc_page(); in vvar_fault() local231 if (tsc_pg && vclock_was_used(VDSO_CLOCKMODE_HVCLOCK)) in vvar_fault()233 virt_to_phys(tsc_pg) >> PAGE_SHIFT); in vvar_fault()