Home
last modified time | relevance | path

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

/kernel/
Dwatchdog_hld.c170 struct perf_event *evt; in hardlockup_detector_event_create() local
176 evt = perf_event_create_kernel_counter(wd_attr, cpu, NULL, in hardlockup_detector_event_create()
178 if (IS_ERR(evt)) { in hardlockup_detector_event_create()
180 PTR_ERR(evt)); in hardlockup_detector_event_create()
181 return PTR_ERR(evt); in hardlockup_detector_event_create()
183 this_cpu_write(watchdog_ev, evt); in hardlockup_detector_event_create()
/kernel/time/
Dclockevents.c32 static u64 cev_delta2ns(unsigned long latch, struct clock_event_device *evt, in cev_delta2ns() argument
35 u64 clc = (u64) latch << evt->shift; in cev_delta2ns()
38 if (WARN_ON(!evt->mult)) in cev_delta2ns()
39 evt->mult = 1; in cev_delta2ns()
40 rnd = (u64) evt->mult - 1; in cev_delta2ns()
46 if ((clc >> evt->shift) != (u64)latch) in cev_delta2ns()
69 (!ismax || evt->mult <= (1ULL << evt->shift))) in cev_delta2ns()
72 do_div(clc, evt->mult); in cev_delta2ns()
85 u64 clockevent_delta2ns(unsigned long latch, struct clock_event_device *evt) in clockevent_delta2ns() argument
87 return cev_delta2ns(latch, evt, false); in clockevent_delta2ns()
Dtick-broadcast.c331 struct clock_event_device *evt = td->evtdev; in tick_receive_broadcast() local
333 if (!evt) in tick_receive_broadcast()
336 if (!evt->event_handler) in tick_receive_broadcast()
339 evt->event_handler(evt); in tick_receive_broadcast()
Dtick-broadcast-hrtimer.c20 static int bc_shutdown(struct clock_event_device *evt) in bc_shutdown() argument
/kernel/events/
Dcore.c3752 struct perf_event **evt; in visit_groups_merge() local
3777 evt = event_heap.data; in visit_groups_merge()
3789 ret = func(*evt, data); in visit_groups_merge()
3793 *evt = perf_event_groups_next(*evt); in visit_groups_merge()
3794 if (*evt) in visit_groups_merge()