| /arch/powerpc/kernel/ |
| A D | watchdog.c | 83 static DEFINE_PER_CPU(struct hrtimer, wd_hrtimer); 437 static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer) in watchdog_timer_fn() argument 449 hrtimer_forward_now(hrtimer, ms_to_ktime(wd_timer_period_ms)); in watchdog_timer_fn() 473 struct hrtimer *hrtimer = this_cpu_ptr(&wd_hrtimer); in start_watchdog() local 498 hrtimer_setup(hrtimer, watchdog_timer_fn, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in start_watchdog() 499 hrtimer_start(hrtimer, ms_to_ktime(wd_timer_period_ms), in start_watchdog() 510 struct hrtimer *hrtimer = this_cpu_ptr(&wd_hrtimer); in stop_watchdog() local 517 hrtimer_cancel(hrtimer); in stop_watchdog()
|
| /arch/arm/mach-imx/ |
| A D | mmdc.c | 101 struct hrtimer hrtimer; member 339 hrtimer_start(&pmu_mmdc->hrtimer, mmdc_pmu_timer_period(), in mmdc_pmu_event_start() 407 hrtimer_cancel(&pmu_mmdc->hrtimer); in mmdc_pmu_event_del() 424 static enum hrtimer_restart mmdc_pmu_timer_handler(struct hrtimer *hrtimer) in mmdc_pmu_timer_handler() argument 426 struct mmdc_pmu *pmu_mmdc = container_of(hrtimer, struct mmdc_pmu, in mmdc_pmu_timer_handler() 427 hrtimer); in mmdc_pmu_timer_handler() 430 hrtimer_forward_now(hrtimer, mmdc_pmu_timer_period()); in mmdc_pmu_timer_handler() 512 hrtimer_setup(&pmu_mmdc->hrtimer, mmdc_pmu_timer_handler, CLOCK_MONOTONIC, in imx_mmdc_perf_init() 530 hrtimer_cancel(&pmu_mmdc->hrtimer); in imx_mmdc_perf_init()
|
| /arch/x86/events/ |
| A D | rapl.c | 137 struct hrtimer hrtimer; member 249 hrtimer_start(&pmu->hrtimer, pmu->timer_interval, in rapl_start_hrtimer() 253 static enum hrtimer_restart rapl_hrtimer_handle(struct hrtimer *hrtimer) in rapl_hrtimer_handle() argument 255 struct rapl_pmu *rapl_pmu = container_of(hrtimer, struct rapl_pmu, hrtimer); in rapl_hrtimer_handle() 269 hrtimer_forward_now(hrtimer, rapl_pmu->timer_interval); in rapl_hrtimer_handle() 276 struct hrtimer *hr = &rapl_pmu->hrtimer; in rapl_hrtimer_init() 321 hrtimer_cancel(&rapl_pmu->hrtimer); in rapl_pmu_event_stop()
|
| /arch/arm64/kvm/ |
| A D | arch_timer.c | 198 static void soft_timer_start(struct hrtimer *hrt, u64 ns) in soft_timer_start() 204 static void soft_timer_cancel(struct hrtimer *hrt) in soft_timer_cancel() 345 ctx = container_of(hrt, struct arch_timer_context, hrtimer); in kvm_hrtimer_expire() 485 soft_timer_start(&ctx->hrtimer, kvm_timer_compute_delta(ctx)); in timer_emulate() 940 soft_timer_cancel(&map.emul_vtimer->hrtimer); in kvm_timer_vcpu_put() 942 soft_timer_cancel(&map.emul_ptimer->hrtimer); in kvm_timer_vcpu_put() 979 soft_timer_cancel(&map.emul_vtimer->hrtimer); in kvm_timer_sync_nested() 980 soft_timer_cancel(&map.emul_ptimer->hrtimer); in kvm_timer_sync_nested() 1056 soft_timer_cancel(&map.emul_vtimer->hrtimer); in kvm_timer_vcpu_reset() 1058 soft_timer_cancel(&map.emul_ptimer->hrtimer); in kvm_timer_vcpu_reset() [all …]
|
| /arch/arm/mm/ |
| A D | cache-l2x0-pmu.c | 27 static struct hrtimer l2x0_pmu_hrtimer; 151 static enum hrtimer_restart l2x0_pmu_poll(struct hrtimer *hrtimer) in l2x0_pmu_poll() argument 172 hrtimer_forward_now(hrtimer, l2x0_pmu_poll_period); in l2x0_pmu_poll()
|
| /arch/riscv/include/asm/ |
| A D | kvm_vcpu_timer.h | 30 struct hrtimer hrt;
|
| /arch/x86/events/amd/ |
| A D | uncore.c | 44 struct hrtimer hrtimer; member 99 static enum hrtimer_restart amd_uncore_hrtimer(struct hrtimer *hrtimer) in amd_uncore_hrtimer() argument 105 ctx = container_of(hrtimer, struct amd_uncore_ctx, hrtimer); in amd_uncore_hrtimer() 115 hrtimer_forward_now(hrtimer, ns_to_ktime(ctx->hrtimer_duration)); in amd_uncore_hrtimer() 121 hrtimer_start(&ctx->hrtimer, ns_to_ktime(ctx->hrtimer_duration), in amd_uncore_start_hrtimer() 127 hrtimer_cancel(&ctx->hrtimer); in amd_uncore_cancel_hrtimer() 132 hrtimer_setup(&ctx->hrtimer, amd_uncore_hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_HARD); in amd_uncore_init_hrtimer()
|
| /arch/loongarch/include/asm/ |
| A D | kvm_host.h | 217 struct hrtimer swtimer; 335 enum hrtimer_restart kvm_swtimer_wakeup(struct hrtimer *timer);
|
| /arch/x86/kvm/ |
| A D | i8254.h | 36 struct hrtimer timer;
|
| A D | lapic.h | 50 struct hrtimer timer;
|
| A D | i8254.c | 221 struct hrtimer *timer; in __kvm_migrate_pit_timer() 268 static enum hrtimer_restart pit_timer_fn(struct hrtimer *data) in pit_timer_fn()
|
| A D | lapic.c | 2850 static enum hrtimer_restart apic_timer_fn(struct hrtimer *data) in apic_timer_fn() 3119 struct hrtimer *timer; in __kvm_migrate_apic_timer()
|
| /arch/loongarch/kvm/ |
| A D | timer.c | 27 enum hrtimer_restart kvm_swtimer_wakeup(struct hrtimer *timer) in kvm_swtimer_wakeup()
|
| /arch/riscv/kvm/ |
| A D | vcpu_timer.c | 42 static enum hrtimer_restart kvm_riscv_vcpu_hrtimer_expired(struct hrtimer *h) in kvm_riscv_vcpu_hrtimer_expired() 109 static enum hrtimer_restart kvm_riscv_vcpu_vstimer_expired(struct hrtimer *h) in kvm_riscv_vcpu_vstimer_expired()
|
| /arch/x86/events/intel/ |
| A D | uncore.c | 305 static enum hrtimer_restart uncore_pmu_hrtimer(struct hrtimer *hrtimer) in uncore_pmu_hrtimer() argument 311 box = container_of(hrtimer, struct intel_uncore_box, hrtimer); in uncore_pmu_hrtimer() 326 hrtimer_forward_now(hrtimer, ns_to_ktime(box->hrtimer_duration)); in uncore_pmu_hrtimer() 332 hrtimer_start(&box->hrtimer, ns_to_ktime(box->hrtimer_duration), in uncore_pmu_start_hrtimer() 338 hrtimer_cancel(&box->hrtimer); in uncore_pmu_cancel_hrtimer() 343 hrtimer_setup(&box->hrtimer, uncore_pmu_hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL_HARD); in uncore_pmu_init_hrtimer()
|
| A D | uncore.h | 156 struct hrtimer hrtimer; member
|
| /arch/s390/include/asm/ |
| A D | kvm_host.h | 421 struct hrtimer ckc_timer; 618 struct hrtimer timer;
|
| /arch/x86/kvm/vmx/ |
| A D | vmx.h | 167 struct hrtimer preemption_timer;
|
| /arch/powerpc/include/asm/ |
| A D | kvm_host.h | 772 struct hrtimer dec_timer;
|
| /arch/s390/kvm/ |
| A D | kvm-s390.h | 363 enum hrtimer_restart kvm_s390_idle_wakeup(struct hrtimer *timer);
|
| A D | interrupt.c | 1347 enum hrtimer_restart kvm_s390_idle_wakeup(struct hrtimer *timer) in kvm_s390_idle_wakeup() 3091 static enum hrtimer_restart gisa_vcpu_kicker(struct hrtimer *timer) in gisa_vcpu_kicker()
|
| /arch/x86/include/asm/ |
| A D | kvm_host.h | 634 struct hrtimer timer; 744 struct hrtimer timer;
|
| /arch/mips/include/asm/ |
| A D | kvm_host.h | 327 struct hrtimer comparecount_timer;
|
| /arch/mips/kvm/ |
| A D | mips.c | 259 static enum hrtimer_restart kvm_mips_comparecount_wakeup(struct hrtimer *timer) in kvm_mips_comparecount_wakeup()
|
| /arch/powerpc/kvm/ |
| A D | powerpc.c | 752 static enum hrtimer_restart kvmppc_decrementer_wakeup(struct hrtimer *timer) in kvmppc_decrementer_wakeup()
|