Searched refs:hyperv_ref_tsc (Results 1 – 2 of 2) sorted by relevance
79 static struct hyperv_reftsc_ctx hyperv_ref_tsc; variable108 KASSERT(hyperv_ref_tsc.tsc_ref != NULL, ("reftsc has not been setup")); in hyperv_tsc_mmap()119 *paddr = pmap_kextract((vm_offset_t)hyperv_ref_tsc.tsc_ref); in hyperv_tsc_mmap()141 struct hyperv_reftsc *tsc_ref = hyperv_ref_tsc.tsc_ref; \210 hyperv_ref_tsc.tsc_ref = contigmalloc(PAGE_SIZE, M_DEVBUF, in hyperv_tsc_tcinit()212 if (hyperv_ref_tsc.tsc_ref == NULL) { in hyperv_tsc_tcinit()218 val = (pmap_kextract((vm_offset_t)hyperv_ref_tsc.tsc_ref) >> in hyperv_tsc_tcinit()
289 static struct hyperv_reftsc *hyperv_ref_tsc; variable303 hyperv_ref_tsc = mmap(NULL, sizeof(*hyperv_ref_tsc), PROT_READ, in __vdso_init_hyperv_tsc()310 hyperv_ref_tsc = MAP_FAILED; in __vdso_init_hyperv_tsc()430 if (hyperv_ref_tsc == NULL) in __vdso_gettc()432 if (hyperv_ref_tsc == MAP_FAILED) in __vdso_gettc()434 return (__vdso_hyperv_tsc(hyperv_ref_tsc, tc)); in __vdso_gettc()