Searched refs:hyperv_ref_tsc (Results 1 - 2 of 2) sorted by last modified time
/freebsd-11-stable/lib/libc/x86/sys/ |
H A D | __vdso_gettc.c | 231 static struct hyperv_reftsc *hyperv_ref_tsc; variable in typeref:struct:hyperv_reftsc 245 hyperv_ref_tsc = mmap(NULL, sizeof(*hyperv_ref_tsc), PROT_READ, 252 hyperv_ref_tsc = MAP_FAILED; 317 if (hyperv_ref_tsc == NULL) 319 if (hyperv_ref_tsc == MAP_FAILED) 321 return (__vdso_hyperv_tsc(hyperv_ref_tsc, tc));
|
/freebsd-11-stable/sys/dev/hyperv/vmbus/amd64/ |
H A D | hyperv_machdep.c | 79 static struct hyperv_reftsc_ctx hyperv_ref_tsc; variable in typeref:struct:hyperv_reftsc_ctx 108 KASSERT(hyperv_ref_tsc.tsc_ref != NULL, ("reftsc has not been setup")); 119 *paddr = hyperv_ref_tsc.tsc_ref_dma.hv_paddr; 139 struct hyperv_reftsc *tsc_ref = hyperv_ref_tsc.tsc_ref; \ 207 hyperv_ref_tsc.tsc_ref = hyperv_dmamem_alloc(NULL, PAGE_SIZE, 0, 208 sizeof(struct hyperv_reftsc), &hyperv_ref_tsc.tsc_ref_dma, 210 if (hyperv_ref_tsc.tsc_ref == NULL) { 217 ((hyperv_ref_tsc.tsc_ref_dma.hv_paddr >> PAGE_SHIFT) <<
|
Completed in 169 milliseconds