Lines Matching refs:perf_cpu_context

205 static int perf_rotate_context(struct perf_cpu_context *cpuctx);
310 static void cpu_ctx_sched_out(struct perf_cpu_context *cpuctx,
313 static void cpu_ctx_sched_in(struct perf_cpu_context *cpuctx,
337 static inline struct perf_cpu_context *
343 static void perf_ctx_lock(struct perf_cpu_context *cpuctx, in perf_ctx_lock()
351 static void perf_ctx_unlock(struct perf_cpu_context *cpuctx, in perf_ctx_unlock()
365 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in perf_cgroup_match()
417 static inline void update_cgrp_time_from_cpuctx(struct perf_cpu_context *cpuctx) in update_cgrp_time_from_cpuctx()
474 struct perf_cpu_context *cpuctx; in perf_cgroup_switch()
688 static inline void update_cgrp_time_from_cpuctx(struct perf_cpu_context *cpuctx) in update_cgrp_time_from_cpuctx()
752 struct perf_cpu_context *cpuctx; in perf_cpu_hrtimer_handler()
758 cpuctx = container_of(hr, struct perf_cpu_context, hrtimer); in perf_cpu_hrtimer_handler()
776 struct perf_cpu_context *cpuctx; in perf_cpu_hrtimer_cancel()
801 static void __perf_cpu_hrtimer_init(struct perf_cpu_context *cpuctx, int cpu) in __perf_cpu_hrtimer_init()
825 static void perf_cpu_hrtimer_restart(struct perf_cpu_context *cpuctx) in perf_cpu_hrtimer_restart()
1393 struct perf_cpu_context *cpuctx; in list_del_event()
1538 struct perf_cpu_context *cpuctx, in event_sched_out()
1591 struct perf_cpu_context *cpuctx, in group_sched_out()
1625 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in __perf_remove_from_context()
1713 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in __perf_event_disable()
1858 struct perf_cpu_context *cpuctx, in event_sched_in()
1923 struct perf_cpu_context *cpuctx, in group_sched_in()
1994 struct perf_cpu_context *cpuctx, in group_can_go_on()
2036 struct perf_cpu_context *cpuctx,
2040 static void perf_event_sched_in(struct perf_cpu_context *cpuctx, in perf_event_sched_in()
2061 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in __perf_install_in_context()
2201 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in __perf_event_enable()
2382 struct perf_cpu_context *cpuctx, in ctx_sched_out()
2526 struct perf_cpu_context *cpuctx; in perf_event_context_sched_out()
2608 struct perf_cpu_context *cpuctx; in perf_pmu_sched_task()
2676 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in task_ctx_sched_out()
2691 static void cpu_ctx_sched_out(struct perf_cpu_context *cpuctx, in cpu_ctx_sched_out()
2699 struct perf_cpu_context *cpuctx) in ctx_pinned_sched_in()
2729 struct perf_cpu_context *cpuctx) in ctx_flexible_sched_in()
2758 struct perf_cpu_context *cpuctx, in ctx_sched_in()
2784 static void cpu_ctx_sched_in(struct perf_cpu_context *cpuctx, in cpu_ctx_sched_in()
2796 struct perf_cpu_context *cpuctx; in perf_event_context_sched_in()
3046 static int perf_rotate_context(struct perf_cpu_context *cpuctx) in perf_rotate_context()
3202 struct perf_cpu_context *cpuctx = __get_cpu_context(ctx); in __perf_event_read()
3335 struct perf_cpu_context *cpuctx; in find_get_context()
5504 struct perf_cpu_context *cpuctx; in perf_event_aux()
7136 static struct perf_cpu_context __percpu *find_pmu_context(int ctxn) in find_pmu_context()
7156 struct perf_cpu_context *cpuctx; in update_pmu_context()
7228 struct perf_cpu_context *cpuctx; in perf_event_mux_interval_ms_store()
7326 pmu->pmu_cpu_context = alloc_percpu(struct perf_cpu_context); in perf_pmu_register()
7331 struct perf_cpu_context *cpuctx; in perf_pmu_register()