Lines Matching refs:ctx_task
125 #define PFM_CTX_TASK(h) (h)->ctx_task
294 struct task_struct *ctx_task; /* task to which context is attached */ member
1719 if (owner != ctx->ctx_task) { in pfm_syswide_force_stop()
1722 task_pid_nr(owner), task_pid_nr(ctx->ctx_task)); in pfm_syswide_force_stop()
1732 …(("on CPU%d forcing system wide stop for [%d]\n", smp_processor_id(), task_pid_nr(ctx->ctx_task))); in pfm_syswide_force_stop()
2782 task = ctx->ctx_task; in pfm_write_pmcs()
3022 task = ctx->ctx_task; in pfm_write_pmds()
3222 task = ctx->ctx_task; in pfm_read_pmds()
3305 ret = (*rd_func)(ctx->ctx_task, ctx, cnum, &v, regs); in pfm_read_pmds()
3645 task = ctx->ctx_task; in pfm_write_ibr_dbr()
4028 if (ctx->ctx_task == current) { in pfm_start()
4039 tregs = task_pt_regs(ctx->ctx_task); in pfm_start()
4238 ctx->ctx_task = task; in pfm_context_load()
4344 ctx->ctx_task = NULL; in pfm_context_load()
4425 ctx->ctx_task = NULL; in pfm_context_unload()
4476 ctx->ctx_task = NULL; in pfm_context_unload()
4610 task = ctx->ctx_task; in pfm_check_task_state()
5719 struct task_struct *task = ctx->ctx_task; in pfm_force_cleanup()
5726 task_pid_nr(ctx->ctx_task))); in pfm_force_cleanup()
6218 is_self = ctx->ctx_task == task ? 1 : 0; in pfm_flush_pmds()