Searched refs:vdso_th (Results 1 – 11 of 11) sorted by relevance
/freebsd/sys/x86/x86/ |
H A D | pvclock.c | 66 struct vdso_timehands *vdso_th, struct timecounter *tc); 69 struct vdso_timehands32 *vdso_th, struct timecounter *tc); 219 pvclock_tc_vdso_timehands(struct vdso_timehands *vdso_th, in pvclock_tc_vdso_timehands() argument 227 vdso_th->th_algo = VDSO_TH_ALGO_X86_PVCLK; in pvclock_tc_vdso_timehands() 228 vdso_th->th_x86_shift = 0; in pvclock_tc_vdso_timehands() 229 vdso_th->th_x86_hpet_idx = 0; in pvclock_tc_vdso_timehands() 230 vdso_th->th_x86_pvc_last_systime = in pvclock_tc_vdso_timehands() 232 vdso_th->th_x86_pvc_stable_mask = !pvc->vdso_force_unstable && in pvclock_tc_vdso_timehands() 234 bzero(vdso_th->th_res, sizeof(vdso_th->th_res)); in pvclock_tc_vdso_timehands() 236 ((vdso_th->th_x86_pvc_stable_mask & PVCLOCK_FLAG_TSC_STABLE) != 0 && in pvclock_tc_vdso_timehands() [all …]
|
H A D | tsc.c | 104 static uint32_t x86_tsc_vdso_timehands(struct vdso_timehands *vdso_th, 970 x86_tsc_vdso_timehands(struct vdso_timehands *vdso_th, struct timecounter *tc) in x86_tsc_vdso_timehands() argument 973 vdso_th->th_algo = VDSO_TH_ALGO_X86_TSC; in x86_tsc_vdso_timehands() 974 vdso_th->th_x86_shift = (int)(intptr_t)tc->tc_priv; in x86_tsc_vdso_timehands() 975 vdso_th->th_x86_hpet_idx = 0xffffffff; in x86_tsc_vdso_timehands() 976 vdso_th->th_x86_pvc_last_systime = 0; in x86_tsc_vdso_timehands() 977 vdso_th->th_x86_pvc_stable_mask = 0; in x86_tsc_vdso_timehands() 978 bzero(vdso_th->th_res, sizeof(vdso_th->th_res)); in x86_tsc_vdso_timehands()
|
/freebsd/sys/dev/hyperv/vmbus/amd64/ |
H A D | hyperv_machdep.c | 124 hyperv_tsc_vdso_timehands(struct vdso_timehands *vdso_th, in hyperv_tsc_vdso_timehands() argument 128 vdso_th->th_algo = VDSO_TH_ALGO_X86_HVTSC; in hyperv_tsc_vdso_timehands() 129 vdso_th->th_x86_shift = 0; in hyperv_tsc_vdso_timehands() 130 vdso_th->th_x86_hpet_idx = 0; in hyperv_tsc_vdso_timehands() 131 vdso_th->th_x86_pvc_last_systime = 0; in hyperv_tsc_vdso_timehands() 132 vdso_th->th_x86_pvc_stable_mask = 0; in hyperv_tsc_vdso_timehands() 133 bzero(vdso_th->th_res, sizeof(vdso_th->th_res)); in hyperv_tsc_vdso_timehands()
|
/freebsd/sys/powerpc/powerpc/ |
H A D | clock.c | 91 static uint32_t decr_vdso_timehands(struct vdso_timehands *vdso_th, 235 decr_vdso_timehands(struct vdso_timehands *vdso_th, struct timecounter *tc) in decr_vdso_timehands() argument 237 vdso_th->th_algo = VDSO_TH_ALGO_PPC_TB; in decr_vdso_timehands() 238 bzero(vdso_th->th_res, sizeof(vdso_th->th_res)); in decr_vdso_timehands()
|
/freebsd/sys/sys/ |
H A D | vdso.h | 80 int __vdso_gettc(const struct vdso_timehands *vdso_th, u_int *tc); 100 uint32_t tc_fill_vdso_timehands(struct vdso_timehands *vdso_th); 110 uint32_t cpu_fill_vdso_timehands(struct vdso_timehands *vdso_th,
|
/freebsd/sys/riscv/riscv/ |
H A D | timer.c | 106 riscv_timer_tc_fill_vdso_timehands(struct vdso_timehands *vdso_th, in riscv_timer_tc_fill_vdso_timehands() argument 109 vdso_th->th_algo = VDSO_TH_ALGO_RISCV_RDTIME; in riscv_timer_tc_fill_vdso_timehands() 110 bzero(vdso_th->th_res, sizeof(vdso_th->th_res)); in riscv_timer_tc_fill_vdso_timehands()
|
/freebsd/sys/arm/arm/ |
H A D | generic_timer.c | 158 static uint32_t arm_tmr_fill_vdso_timehands(struct vdso_timehands *vdso_th, 912 arm_tmr_fill_vdso_timehands(struct vdso_timehands *vdso_th, in arm_tmr_fill_vdso_timehands() argument 916 vdso_th->th_algo = VDSO_TH_ALGO_ARM_GENTIM; in arm_tmr_fill_vdso_timehands() 917 vdso_th->th_physical = arm_tmr_sc->physical_user; in arm_tmr_fill_vdso_timehands() 918 bzero(vdso_th->th_res, sizeof(vdso_th->th_res)); in arm_tmr_fill_vdso_timehands()
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_hpet.c | 147 hpet_vdso_timehands(struct vdso_timehands *vdso_th, struct timecounter *tc) in hpet_vdso_timehands() argument 152 vdso_th->th_algo = VDSO_TH_ALGO_X86_HPET; in hpet_vdso_timehands() 153 vdso_th->th_x86_shift = 0; in hpet_vdso_timehands() 154 vdso_th->th_x86_hpet_idx = device_get_unit(sc->dev); in hpet_vdso_timehands() 155 vdso_th->th_x86_pvc_last_systime = 0; in hpet_vdso_timehands() 156 vdso_th->th_x86_pvc_stable_mask = 0; in hpet_vdso_timehands() 157 bzero(vdso_th->th_res, sizeof(vdso_th->th_res)); in hpet_vdso_timehands()
|
H A D | acpi_hpet.h | 71 uint32_t hpet_vdso_timehands(struct vdso_timehands *vdso_th,
|
/freebsd/sys/kern/ |
H A D | subr_dummy_vdso_tc.c | 33 cpu_fill_vdso_timehands(struct vdso_timehands *vdso_th, struct timecounter *tc) in cpu_fill_vdso_timehands() argument
|
H A D | kern_tc.c | 2188 tc_fill_vdso_timehands(struct vdso_timehands *vdso_th) in tc_fill_vdso_timehands() argument 2194 vdso_th->th_scale = th->th_scale; in tc_fill_vdso_timehands() 2195 vdso_th->th_offset_count = th->th_offset_count; in tc_fill_vdso_timehands() 2196 vdso_th->th_counter_mask = th->th_counter->tc_counter_mask; in tc_fill_vdso_timehands() 2197 vdso_th->th_offset = th->th_offset; in tc_fill_vdso_timehands() 2198 vdso_th->th_boottime = th->th_boottime; in tc_fill_vdso_timehands() 2200 enabled = th->th_counter->tc_fill_vdso_timehands(vdso_th, in tc_fill_vdso_timehands()
|