Home
last modified time | relevance | path

Searched refs:tsc_ref (Results 1 – 1 of 1) sorted by relevance

/netbsd/src/sys/arch/x86/x86/
Dhyperv.c178 struct hyperv_reftsc *tsc_ref; member
205 struct hyperv_reftsc *tsc_ref = hyperv_ref_tsc.tsc_ref; in hyperv_tc64_tsc() local
208 while ((seq = atomic_load_acq_int(&tsc_ref->tsc_seq)) != 0) { in hyperv_tc64_tsc()
210 uint64_t scale = tsc_ref->tsc_scale; in hyperv_tc64_tsc()
211 int64_t ofs = tsc_ref->tsc_ofs; in hyperv_tc64_tsc()
222 if (tsc_ref->tsc_seq == seq) in hyperv_tc64_tsc()
249 hyperv_ref_tsc.tsc_ref = (void *)uvm_km_alloc(kernel_map, in hyperv_tsc_tcinit()
251 if (hyperv_ref_tsc.tsc_ref == NULL) { in hyperv_tsc_tcinit()
256 if (!pmap_extract(pmap_kernel(), (vaddr_t)hyperv_ref_tsc.tsc_ref, in hyperv_tsc_tcinit()
259 uvm_km_free(kernel_map, (vaddr_t)hyperv_ref_tsc.tsc_ref, in hyperv_tsc_tcinit()
[all …]