Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dwatchdog.c80 static DEFINE_PER_CPU(struct hrtimer, wd_hrtimer);
331 static enum hrtimer_restart watchdog_timer_fn(struct hrtimer *hrtimer) in watchdog_timer_fn() argument
343 hrtimer_forward_now(hrtimer, ms_to_ktime(wd_timer_period_ms)); in watchdog_timer_fn()
367 struct hrtimer *hrtimer = this_cpu_ptr(&wd_hrtimer); in start_watchdog() local
392 hrtimer_init(hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in start_watchdog()
393 hrtimer->function = watchdog_timer_fn; in start_watchdog()
394 hrtimer_start(hrtimer, ms_to_ktime(wd_timer_period_ms), in start_watchdog()
405 struct hrtimer *hrtimer = this_cpu_ptr(&wd_hrtimer); in stop_watchdog() local
412 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
204 hrtimer_start(&pmu->hrtimer, pmu->timer_interval, in rapl_start_hrtimer()
208 static enum hrtimer_restart rapl_hrtimer_handle(struct hrtimer *hrtimer) in rapl_hrtimer_handle() argument
210 struct rapl_pmu *pmu = container_of(hrtimer, struct rapl_pmu, hrtimer); in rapl_hrtimer_handle()
224 hrtimer_forward_now(hrtimer, pmu->timer_interval); in rapl_hrtimer_handle()
231 struct hrtimer *hr = &pmu->hrtimer; in rapl_hrtimer_init()
277 hrtimer_cancel(&pmu->hrtimer); in rapl_pmu_event_stop()
/arch/powerpc/oprofile/cell/
Dspu_profiler.c133 static enum hrtimer_restart profile_spus(struct hrtimer *timer) in profile_spus()
190 static struct hrtimer timer;
/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()
267 static enum hrtimer_restart pit_timer_fn(struct hrtimer *data) in pit_timer_fn()
Dlapic.h27 struct hrtimer timer;
Dlapic.c2275 static enum hrtimer_restart apic_timer_fn(struct hrtimer *data) in apic_timer_fn()
2487 struct hrtimer *timer; in __kvm_migrate_apic_timer()
Dhyperv.c447 static enum hrtimer_restart stimer_timer_callback(struct hrtimer *timer) in stimer_timer_callback()
/arch/x86/events/intel/
Duncore.c263 static enum hrtimer_restart uncore_pmu_hrtimer(struct hrtimer *hrtimer) in uncore_pmu_hrtimer() argument
270 box = container_of(hrtimer, struct intel_uncore_box, hrtimer); in uncore_pmu_hrtimer()
292 hrtimer_forward_now(hrtimer, ns_to_ktime(box->hrtimer_duration)); in uncore_pmu_hrtimer()
298 hrtimer_start(&box->hrtimer, ns_to_ktime(box->hrtimer_duration), in uncore_pmu_start_hrtimer()
304 hrtimer_cancel(&box->hrtimer); in uncore_pmu_cancel_hrtimer()
309 hrtimer_init(&box->hrtimer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in uncore_pmu_init_hrtimer()
310 box->hrtimer.function = uncore_pmu_hrtimer; in uncore_pmu_init_hrtimer()
Duncore.h129 struct hrtimer hrtimer; member
/arch/s390/include/asm/
Dkvm_host.h650 struct hrtimer ckc_timer;
838 struct hrtimer timer;
/arch/x86/kvm/vmx/
Dvmx.h162 struct hrtimer preemption_timer;
Dnested.c1930 static enum hrtimer_restart vmx_preemption_timer_fn(struct hrtimer *timer) in vmx_preemption_timer_fn()
/arch/s390/kvm/
Dkvm-s390.h202 enum hrtimer_restart kvm_s390_idle_wakeup(struct hrtimer *timer);
Dinterrupt.c1241 enum hrtimer_restart kvm_s390_idle_wakeup(struct hrtimer *timer) in kvm_s390_idle_wakeup()
3018 static enum hrtimer_restart gisa_vcpu_kicker(struct hrtimer *timer) in gisa_vcpu_kicker()
/arch/powerpc/include/asm/
Dkvm_host.h740 struct hrtimer dec_timer;
/arch/mips/include/asm/
Dkvm_host.h355 struct hrtimer comparecount_timer;
/arch/mips/kvm/
Dmips.c1229 static enum hrtimer_restart kvm_mips_comparecount_wakeup(struct hrtimer *timer) in kvm_mips_comparecount_wakeup()
/arch/x86/include/asm/
Dkvm_host.h500 struct hrtimer timer;
/arch/powerpc/kvm/
Dpowerpc.c769 static enum hrtimer_restart kvmppc_decrementer_wakeup(struct hrtimer *timer) in kvmppc_decrementer_wakeup()