Searched refs:tsc_ref (Results 1 – 2 of 2) sorted by relevance
54 struct hyperv_reftsc *tsc_ref; member109 KASSERT(hyperv_ref_tsc.tsc_ref != NULL, ("reftsc has not been setup")); in hyperv_tsc_mmap()120 *paddr = pmap_kextract((vm_offset_t)hyperv_ref_tsc.tsc_ref); in hyperv_tsc_mmap()142 struct hyperv_reftsc *tsc_ref = hyperv_ref_tsc.tsc_ref; \145 while ((seq = atomic_load_acq_int(&tsc_ref->tsc_seq)) != 0) { \147 uint64_t scale = tsc_ref->tsc_scale; \148 int64_t ofs = tsc_ref->tsc_ofs; \160 if (tsc_ref->tsc_seq == seq) \211 hyperv_ref_tsc.tsc_ref = contigmalloc(PAGE_SIZE, M_DEVBUF, in hyperv_tsc_tcinit()213 if (hyperv_ref_tsc.tsc_ref == NULL) { in hyperv_tsc_tcinit()[all …]
314 __vdso_hyperv_tsc(struct hyperv_reftsc *tsc_ref, u_int *tc) in __vdso_hyperv_tsc() argument320 while ((seq = atomic_load_acq_int(&tsc_ref->tsc_seq)) != 0) { in __vdso_hyperv_tsc()321 scale = tsc_ref->tsc_scale; in __vdso_hyperv_tsc()322 ofs = tsc_ref->tsc_ofs; in __vdso_hyperv_tsc()334 if (tsc_ref->tsc_seq == seq) { in __vdso_hyperv_tsc()