Searched refs:tsc_pg (Results 1 – 3 of 3) sorted by relevance
38 hv_read_tsc_page_tsc(const struct ms_hyperv_tsc_page *tsc_pg, u64 *cur_tsc) in hv_read_tsc_page_tsc() argument60 sequence = READ_ONCE(tsc_pg->tsc_sequence); in hv_read_tsc_page_tsc()69 scale = READ_ONCE(tsc_pg->tsc_scale); in hv_read_tsc_page_tsc()70 offset = READ_ONCE(tsc_pg->tsc_offset); in hv_read_tsc_page_tsc()79 } while (READ_ONCE(tsc_pg->tsc_sequence) != sequence); in hv_read_tsc_page_tsc()85 hv_read_tsc_page(const struct ms_hyperv_tsc_page *tsc_pg) in hv_read_tsc_page() argument89 return hv_read_tsc_page_tsc(tsc_pg, &cur_tsc); in hv_read_tsc_page()98 static inline u64 hv_read_tsc_page_tsc(const struct ms_hyperv_tsc_page *tsc_pg, in hv_read_tsc_page_tsc() argument
216 static struct ms_hyperv_tsc_page tsc_pg __aligned(PAGE_SIZE);220 return &tsc_pg; in hv_get_tsc_page()226 u64 current_tick = hv_read_tsc_page(&tsc_pg); in read_hv_clock_tsc()281 phys_addr = virt_to_phys(&tsc_pg); in hv_init_tsc_clocksource()
121 struct ms_hyperv_tsc_page *tsc_pg = hv_get_tsc_page(); in vvar_fault() local123 if (tsc_pg && vclock_was_used(VCLOCK_HVCLOCK)) in vvar_fault()125 virt_to_phys(tsc_pg) >> PAGE_SHIFT); in vvar_fault()