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
1762 if (owner != ctx->ctx_task) { in pfm_syswide_force_stop()
1765 task_pid_nr(owner), task_pid_nr(ctx->ctx_task)); in pfm_syswide_force_stop()
1775 …(("on CPU%d forcing system wide stop for [%d]\n", smp_processor_id(), task_pid_nr(ctx->ctx_task))); in pfm_syswide_force_stop()
2837 task = ctx->ctx_task; in pfm_write_pmcs()
3077 task = ctx->ctx_task; in pfm_write_pmds()
3277 task = ctx->ctx_task; in pfm_read_pmds()
3360 ret = (*rd_func)(ctx->ctx_task, ctx, cnum, &v, regs); in pfm_read_pmds()
3700 task = ctx->ctx_task; in pfm_write_ibr_dbr()
4083 if (ctx->ctx_task == current) { in pfm_start()
4094 tregs = task_pt_regs(ctx->ctx_task); in pfm_start()
4293 ctx->ctx_task = task; in pfm_context_load()
4399 ctx->ctx_task = NULL; in pfm_context_load()
4480 ctx->ctx_task = NULL; in pfm_context_unload()
4531 ctx->ctx_task = NULL; in pfm_context_unload()
4665 task = ctx->ctx_task; in pfm_check_task_state()
5781 struct task_struct *task = ctx->ctx_task; in pfm_force_cleanup()
5788 task_pid_nr(ctx->ctx_task))); in pfm_force_cleanup()
6280 is_self = ctx->ctx_task == task ? 1 : 0; in pfm_flush_pmds()