Searched refs:ctxn (Results 1 – 1 of 1) sorted by relevance
1379 perf_lock_task_context(struct task_struct *task, int ctxn, unsigned long *flags) in perf_lock_task_context() argument1395 ctx = rcu_dereference(task->perf_event_ctxp[ctxn]); in perf_lock_task_context()1408 if (ctx != rcu_dereference(task->perf_event_ctxp[ctxn])) { in perf_lock_task_context()1435 perf_pin_task_context(struct task_struct *task, int ctxn) in perf_pin_task_context() argument1440 ctx = perf_lock_task_context(task, ctxn, &flags); in perf_pin_task_context()3196 static void perf_event_context_sched_out(struct task_struct *task, int ctxn, in perf_event_context_sched_out() argument3199 struct perf_event_context *ctx = task->perf_event_ctxp[ctxn]; in perf_event_context_sched_out()3213 next_ctx = next->perf_event_ctxp[ctxn]; in perf_event_context_sched_out()3249 RCU_INIT_POINTER(task->perf_event_ctxp[ctxn], next_ctx); in perf_event_context_sched_out()3250 RCU_INIT_POINTER(next->perf_event_ctxp[ctxn], ctx); in perf_event_context_sched_out()[all …]