Lines Matching refs:perf_cpu_context

146 static inline struct perf_cpu_context *
152 static void perf_ctx_lock(struct perf_cpu_context *cpuctx, in perf_ctx_lock()
160 static void perf_ctx_unlock(struct perf_cpu_context *cpuctx, in perf_ctx_unlock()
194 typedef void (*event_f)(struct perf_event *, struct perf_cpu_context *,
208 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in event_function()
305 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in event_function_local()
433 static bool perf_rotate_context(struct perf_cpu_context *cpuctx);
558 static void cpu_ctx_sched_out(struct perf_cpu_context *cpuctx,
561 static void cpu_ctx_sched_in(struct perf_cpu_context *cpuctx,
673 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in perf_cgroup_match()
725 static inline void update_cgrp_time_from_cpuctx(struct perf_cpu_context *cpuctx) in update_cgrp_time_from_cpuctx()
795 struct perf_cpu_context *cpuctx; in perf_cgroup_switch()
945 struct perf_cpu_context *cpuctx; in list_update_cgroup_event()
1006 static inline void update_cgrp_time_from_cpuctx(struct perf_cpu_context *cpuctx) in update_cgrp_time_from_cpuctx()
1066 struct perf_cpu_context *cpuctx; in perf_mux_hrtimer_handler()
1071 cpuctx = container_of(hr, struct perf_cpu_context, hrtimer); in perf_mux_hrtimer_handler()
1084 static void __perf_mux_hrtimer_init(struct perf_cpu_context *cpuctx, int cpu) in __perf_mux_hrtimer_init()
1109 static int perf_mux_hrtimer_restart(struct perf_cpu_context *cpuctx) in perf_mux_hrtimer_restart()
1987 struct perf_cpu_context *cpuctx, in event_sched_out()
2030 struct perf_cpu_context *cpuctx, in group_sched_out()
2064 struct perf_cpu_context *cpuctx, in __perf_remove_from_context()
2130 struct perf_cpu_context *cpuctx, in __perf_event_disable()
2244 struct perf_cpu_context *cpuctx, in event_sched_in()
2304 struct perf_cpu_context *cpuctx, in group_sched_in()
2359 struct perf_cpu_context *cpuctx, in group_can_go_on()
2394 struct perf_cpu_context *cpuctx,
2398 struct perf_cpu_context *cpuctx,
2402 static void task_ctx_sched_out(struct perf_cpu_context *cpuctx, in task_ctx_sched_out()
2415 static void perf_event_sched_in(struct perf_cpu_context *cpuctx, in perf_event_sched_in()
2442 static void ctx_resched(struct perf_cpu_context *cpuctx, in ctx_resched()
2488 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in __perf_install_in_context()
2639 struct perf_cpu_context *cpuctx, in __perf_event_enable()
2893 struct perf_cpu_context *cpuctx, in ctx_sched_out()
3063 struct perf_cpu_context *cpuctx; in perf_event_context_sched_out()
3134 struct perf_cpu_context *cpuctx = this_cpu_ptr(pmu->pmu_cpu_context); in perf_sched_cb_dec()
3145 struct perf_cpu_context *cpuctx = this_cpu_ptr(pmu->pmu_cpu_context); in perf_sched_cb_inc()
3165 struct perf_cpu_context *cpuctx; in perf_pmu_sched_task()
3230 static void cpu_ctx_sched_out(struct perf_cpu_context *cpuctx, in cpu_ctx_sched_out()
3269 struct perf_cpu_context *cpuctx;
3320 struct perf_cpu_context *cpuctx) in ctx_pinned_sched_in()
3335 struct perf_cpu_context *cpuctx) in ctx_flexible_sched_in()
3350 struct perf_cpu_context *cpuctx, in ctx_sched_in()
3391 static void cpu_ctx_sched_in(struct perf_cpu_context *cpuctx, in cpu_ctx_sched_in()
3403 struct perf_cpu_context *cpuctx; in perf_event_context_sched_in()
3677 static bool perf_rotate_context(struct perf_cpu_context *cpuctx) in perf_rotate_context()
3771 struct perf_cpu_context *cpuctx; in perf_event_enable_on_exec()
3838 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in __perf_event_read()
4109 struct perf_cpu_context *cpuctx; in find_get_context()
4930 struct perf_cpu_context *cpuctx, in __perf_event_period()
6753 struct perf_cpu_context *cpuctx = this_cpu_ptr(pmu->pmu_cpu_context); in __perf_pmu_output_stop()
9411 static struct perf_cpu_context __percpu *find_pmu_context(int ctxn) in find_pmu_context()
9500 struct perf_cpu_context *cpuctx; in perf_event_mux_interval_ms_store()
9625 pmu->pmu_cpu_context = alloc_percpu(struct perf_cpu_context); in perf_pmu_register()
9630 struct perf_cpu_context *cpuctx; in perf_pmu_register()
10677 struct perf_cpu_context *cpuctx = in SYSCALL_DEFINE5()
10678 container_of(ctx, struct perf_cpu_context, ctx); in SYSCALL_DEFINE5()
10868 struct perf_cpu_context *cpuctx = in perf_event_create_kernel_counter()
10869 container_of(ctx, struct perf_cpu_context, ctx); in perf_event_create_kernel_counter()
11601 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in __perf_event_exit_context()
11613 struct perf_cpu_context *cpuctx; in perf_event_exit_cpu_context()
11638 struct perf_cpu_context *cpuctx; in perf_event_init_cpu()