Lines Matching refs:ctx_task
121 #define PFM_CTX_TASK(h) (h)->ctx_task
290 struct task_struct *ctx_task; /* task to which context is attached */ member
1782 if (owner != ctx->ctx_task) { in pfm_syswide_force_stop()
1785 task_pid_nr(owner), task_pid_nr(ctx->ctx_task)); in pfm_syswide_force_stop()
1795 …(("on CPU%d forcing system wide stop for [%d]\n", smp_processor_id(), task_pid_nr(ctx->ctx_task))); in pfm_syswide_force_stop()
2876 task = ctx->ctx_task; in pfm_write_pmcs()
3116 task = ctx->ctx_task; in pfm_write_pmds()
3316 task = ctx->ctx_task; in pfm_read_pmds()
3399 ret = (*rd_func)(ctx->ctx_task, ctx, cnum, &v, regs); in pfm_read_pmds()
3739 task = ctx->ctx_task; in pfm_write_ibr_dbr()
4122 if (ctx->ctx_task == current) { in pfm_start()
4133 tregs = task_pt_regs(ctx->ctx_task); in pfm_start()
4332 ctx->ctx_task = task; in pfm_context_load()
4438 ctx->ctx_task = NULL; in pfm_context_load()
4519 ctx->ctx_task = NULL; in pfm_context_unload()
4570 ctx->ctx_task = NULL; in pfm_context_unload()
4704 task = ctx->ctx_task; in pfm_check_task_state()
5836 struct task_struct *task = ctx->ctx_task; in pfm_force_cleanup()
5843 task_pid_nr(ctx->ctx_task))); in pfm_force_cleanup()
6335 is_self = ctx->ctx_task == task ? 1 : 0; in pfm_flush_pmds()