Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dwatchdog.c83 static DEFINE_PER_CPU(struct hrtimer, wd_hrtimer);
335 static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer) in watchdog_timer_fn() argument
347 hrtimer_forward_now(hrtimer, ms_to_ktime(wd_timer_period_ms)); in watchdog_timer_fn()
371 struct hrtimer *hrtimer = this_cpu_ptr(&wd_hrtimer); in start_watchdog() local
396 hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in start_watchdog()
397 hrtimer->function = watchdog_timer_fn; in start_watchdog()
398 hrtimer_start(hrtimer, ms_to_ktime(wd_timer_period_ms), in start_watchdog()
409 struct hrtimer *hrtimer = this_cpu_ptr(&wd_hrtimer); in stop_watchdog() local
416 hrtimer_cancel(hrtimer); in stop_watchdog()
/arch/arm/mach-imx/
Dmmdc.c100 struct hrtimer hrtimer; member
338 hrtimer_start(&pmu_mmdc->hrtimer, mmdc_pmu_timer_period(), in mmdc_pmu_event_start()
406 hrtimer_cancel(&pmu_mmdc->hrtimer); in mmdc_pmu_event_del()
423 static enum hrtimer_restart mmdc_pmu_timer_handler(struct hrtimer *hrtimer) in mmdc_pmu_timer_handler() argument
425 struct mmdc_pmu *pmu_mmdc = container_of(hrtimer, struct mmdc_pmu, in mmdc_pmu_timer_handler()
426 hrtimer); in mmdc_pmu_timer_handler()
429 hrtimer_forward_now(hrtimer, mmdc_pmu_timer_period()); in mmdc_pmu_timer_handler()
513 hrtimer_init(&pmu_mmdc->hrtimer, CLOCK_MONOTONIC, in imx_mmdc_perf_init()
515 pmu_mmdc->hrtimer.function = mmdc_pmu_timer_handler; in imx_mmdc_perf_init()
532 hrtimer_cancel(&pmu_mmdc->hrtimer); in imx_mmdc_perf_init()
/arch/x86/events/
Drapl.c112 struct hrtimer hrtimer; member
212 hrtimer_start(&pmu->hrtimer, pmu->timer_interval, in rapl_start_hrtimer()
216 static enum hrtimer_restart rapl_hrtimer_handle(struct hrtimer *hrtimer) in rapl_hrtimer_handle() argument
218 struct rapl_pmu *pmu = container_of(hrtimer, struct rapl_pmu, hrtimer); in rapl_hrtimer_handle()
232 hrtimer_forward_now(hrtimer, pmu->timer_interval); in rapl_hrtimer_handle()
239 struct hrtimer *hr = &pmu->hrtimer; in rapl_hrtimer_init()
285 hrtimer_cancel(&pmu->hrtimer); in rapl_pmu_event_stop()
/arch/arm64/kvm/
Darch_timer.c170 static void soft_timer_start(struct hrtimer *hrt, u64 ns) in soft_timer_start()
176 static void soft_timer_cancel(struct hrtimer *hrt) in soft_timer_cancel()
285 static enum hrtimer_restart kvm_bg_timer_expire(struct hrtimer *hrt) in kvm_bg_timer_expire()
309 static enum hrtimer_restart kvm_hrtimer_expire(struct hrtimer *hrt) in kvm_hrtimer_expire()
315 ctx = container_of(hrt, struct arch_timer_context, hrtimer); in kvm_hrtimer_expire()
434 soft_timer_cancel(&ctx->hrtimer); in timer_emulate()
438 soft_timer_start(&ctx->hrtimer, kvm_timer_compute_delta(ctx)); in timer_emulate()
690 soft_timer_cancel(&map.emul_ptimer->hrtimer); in kvm_timer_vcpu_put()
762 soft_timer_cancel(&map.emul_ptimer->hrtimer); in kvm_timer_vcpu_reset()
805 hrtimer_init(&vtimer->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_ABS_HARD); in kvm_timer_vcpu_init()
[all …]
/arch/arm/mm/
Dcache-l2x0-pmu.c27 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/x86/kvm/
Di8254.h31 struct hrtimer timer;
Di8254.c221 struct hrtimer *timer; in __kvm_migrate_pit_timer()
268 static enum hrtimer_restart pit_timer_fn(struct hrtimer *data) in pit_timer_fn()
Dlapic.h33 struct hrtimer timer;
Dlapic.c2442 static enum hrtimer_restart apic_timer_fn(struct hrtimer *data) in apic_timer_fn()
2663 struct hrtimer *timer; in __kvm_migrate_apic_timer()
Dhyperv.c587 static enum hrtimer_restart stimer_timer_callback(struct hrtimer *timer) in stimer_timer_callback()
/arch/x86/events/intel/
Duncore.c285 static enum hrtimer_restart uncore_pmu_hrtimer(struct hrtimer *hrtimer) in uncore_pmu_hrtimer() argument
292 box = container_of(hrtimer, struct intel_uncore_box, hrtimer); in uncore_pmu_hrtimer()
314 hrtimer_forward_now(hrtimer, ns_to_ktime(box->hrtimer_duration)); in uncore_pmu_hrtimer()
320 hrtimer_start(&box->hrtimer, ns_to_ktime(box->hrtimer_duration), in uncore_pmu_start_hrtimer()
326 hrtimer_cancel(&box->hrtimer); in uncore_pmu_cancel_hrtimer()
331 hrtimer_init(&box->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in uncore_pmu_init_hrtimer()
332 box->hrtimer.function = uncore_pmu_hrtimer; in uncore_pmu_init_hrtimer()
Duncore.h151 struct hrtimer hrtimer; member
/arch/s390/include/asm/
Dkvm_host.h729 struct hrtimer ckc_timer;
914 struct hrtimer timer;
/arch/x86/kvm/vmx/
Dvmx.h211 struct hrtimer preemption_timer;
Dnested.c2065 static enum hrtimer_restart vmx_preemption_timer_fn(struct hrtimer *timer) in vmx_preemption_timer_fn()
Dvmx.c7709 struct hrtimer *timer = &to_vmx(vcpu)->nested.preemption_timer; in vmx_migrate_timers()
/arch/s390/kvm/
Dkvm-s390.h247 enum hrtimer_restart kvm_s390_idle_wakeup(struct hrtimer *timer);
Dinterrupt.c1362 enum hrtimer_restart kvm_s390_idle_wakeup(struct hrtimer *timer) in kvm_s390_idle_wakeup()
3084 static enum hrtimer_restart gisa_vcpu_kicker(struct hrtimer *timer) in gisa_vcpu_kicker()
/arch/powerpc/include/asm/
Dkvm_host.h742 struct hrtimer dec_timer;
/arch/mips/include/asm/
Dkvm_host.h328 struct hrtimer comparecount_timer;
/arch/mips/kvm/
Dmips.c276 static enum hrtimer_restart kvm_mips_comparecount_wakeup(struct hrtimer *timer) in kvm_mips_comparecount_wakeup()
/arch/x86/include/asm/
Dkvm_host.h554 struct hrtimer timer;
/arch/powerpc/kvm/
Dpowerpc.c728 static enum hrtimer_restart kvmppc_decrementer_wakeup(struct hrtimer *timer) in kvmppc_decrementer_wakeup()