Lines Matching refs:perf_cpu_context

208 static int perf_rotate_context(struct perf_cpu_context *cpuctx);
313 static void cpu_ctx_sched_out(struct perf_cpu_context *cpuctx,
316 static void cpu_ctx_sched_in(struct perf_cpu_context *cpuctx,
340 static inline struct perf_cpu_context *
346 static void perf_ctx_lock(struct perf_cpu_context *cpuctx, in perf_ctx_lock()
354 static void perf_ctx_unlock(struct perf_cpu_context *cpuctx, in perf_ctx_unlock()
368 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in perf_cgroup_match()
420 static inline void update_cgrp_time_from_cpuctx(struct perf_cpu_context *cpuctx) in update_cgrp_time_from_cpuctx()
477 struct perf_cpu_context *cpuctx; in perf_cgroup_switch()
700 static inline void update_cgrp_time_from_cpuctx(struct perf_cpu_context *cpuctx) in update_cgrp_time_from_cpuctx()
764 struct perf_cpu_context *cpuctx; in perf_mux_hrtimer_handler()
769 cpuctx = container_of(hr, struct perf_cpu_context, hrtimer); in perf_mux_hrtimer_handler()
782 static void __perf_mux_hrtimer_init(struct perf_cpu_context *cpuctx, int cpu) in __perf_mux_hrtimer_init()
807 static int perf_mux_hrtimer_restart(struct perf_cpu_context *cpuctx) in perf_mux_hrtimer_restart()
1406 struct perf_cpu_context *cpuctx; in list_del_event()
1557 struct perf_cpu_context *cpuctx, in event_sched_out()
1610 struct perf_cpu_context *cpuctx, in group_sched_out()
1644 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in __perf_remove_from_context()
1732 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in __perf_event_disable()
1877 struct perf_cpu_context *cpuctx, in event_sched_in()
1942 struct perf_cpu_context *cpuctx, in group_sched_in()
2013 struct perf_cpu_context *cpuctx, in group_can_go_on()
2055 struct perf_cpu_context *cpuctx,
2059 static void perf_event_sched_in(struct perf_cpu_context *cpuctx, in perf_event_sched_in()
2080 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in __perf_install_in_context()
2220 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in __perf_event_enable()
2401 struct perf_cpu_context *cpuctx, in ctx_sched_out()
2545 struct perf_cpu_context *cpuctx; in perf_event_context_sched_out()
2627 struct perf_cpu_context *cpuctx; in perf_pmu_sched_task()
2701 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in task_ctx_sched_out()
2716 static void cpu_ctx_sched_out(struct perf_cpu_context *cpuctx, in cpu_ctx_sched_out()
2724 struct perf_cpu_context *cpuctx) in ctx_pinned_sched_in()
2754 struct perf_cpu_context *cpuctx) in ctx_flexible_sched_in()
2783 struct perf_cpu_context *cpuctx, in ctx_sched_in()
2809 static void cpu_ctx_sched_in(struct perf_cpu_context *cpuctx, in cpu_ctx_sched_in()
2821 struct perf_cpu_context *cpuctx; in perf_event_context_sched_in()
3074 static int perf_rotate_context(struct perf_cpu_context *cpuctx) in perf_rotate_context()
3232 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in __perf_event_read()
3446 struct perf_cpu_context *cpuctx; in find_get_context()
5686 struct perf_cpu_context *cpuctx; in perf_event_aux()
7455 static struct perf_cpu_context __percpu *find_pmu_context(int ctxn) in find_pmu_context()
7475 struct perf_cpu_context *cpuctx; in update_pmu_context()
7551 struct perf_cpu_context *cpuctx; in perf_event_mux_interval_ms_store()
7651 pmu->pmu_cpu_context = alloc_percpu(struct perf_cpu_context); in perf_pmu_register()
7656 struct perf_cpu_context *cpuctx; in perf_pmu_register()