Home
last modified time | relevance | path

Searched refs:ctxn (Results 1 – 1 of 1) sorted by relevance

/linux-2.6.39/kernel/
Dperf_event.c658 perf_lock_task_context(struct task_struct *task, int ctxn, unsigned long *flags) in perf_lock_task_context() argument
664 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() argument
702 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() argument
1892 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 …]