Searched refs:ctxn (Results 1 – 1 of 1) sorted by relevance
658 perf_lock_task_context(struct task_struct *task, int ctxn, unsigned long *flags) in perf_lock_task_context() argument664 ctx = rcu_dereference(task->perf_event_ctxp[ctxn]); in perf_lock_task_context()677 if (ctx != rcu_dereference(task->perf_event_ctxp[ctxn])) { in perf_lock_task_context()697 perf_pin_task_context(struct task_struct *task, int ctxn) in perf_pin_task_context() argument702 ctx = perf_lock_task_context(task, ctxn, &flags); in perf_pin_task_context()1889 static void perf_event_context_sched_out(struct task_struct *task, int ctxn, in perf_event_context_sched_out() argument1892 struct perf_event_context *ctx = task->perf_event_ctxp[ctxn]; in perf_event_context_sched_out()1907 next_ctx = next->perf_event_ctxp[ctxn]; in perf_event_context_sched_out()1926 task->perf_event_ctxp[ctxn] = next_ctx; in perf_event_context_sched_out()1927 next->perf_event_ctxp[ctxn] = ctx; in perf_event_context_sched_out()[all …]