Lines Matching refs:task_ctx_nr
1157 if (pmu->task_ctx_nr == perf_sw_context) in __perf_mux_hrtimer_init()
1182 if (pmu->task_ctx_nr == perf_sw_context) in perf_mux_hrtimer_restart()
4652 ctxn = pmu->task_ctx_nr; in find_get_context()
9625 .task_ctx_nr = perf_sw_context,
9771 .task_ctx_nr = perf_sw_context,
9823 .task_ctx_nr = perf_sw_context,
9882 .task_ctx_nr = perf_sw_context,
10700 .task_ctx_nr = perf_sw_context,
10781 .task_ctx_nr = perf_sw_context,
10865 if (pmu->task_ctx_nr == ctxn) in find_pmu_context()
10879 if (pmu->task_ctx_nr > perf_invalid_context) in free_pmu_context()
11062 if (pmu->task_ctx_nr == perf_hw_context) { in perf_pmu_register()
11072 pmu->task_ctx_nr = perf_invalid_context; in perf_pmu_register()
11077 pmu->pmu_cpu_context = find_pmu_context(pmu->task_ctx_nr); in perf_pmu_register()
11208 if (event->group_leader != event && pmu->task_ctx_nr != perf_sw_context) { in perf_try_init_event()
11584 if (pmu->task_ctx_nr == perf_invalid_context && cgroup_fd != -1) { in perf_event_alloc()
12121 if (pmu->task_ctx_nr == perf_sw_context) in SYSCALL_DEFINE5()