Lines Matching refs:ctx_owner
264 struct task_struct *ctx_owner; /* pid of creator (debug) */ member
1276 ctx->ctx_owner = current; in pfm_context_create()
2755 if (ctx->ctx_owner != current && (ctx->ctx_fl_protected || task != current)) { in sys_perfmonctl()
4085 if (nctx->ctx_owner) in pfm_inherit()
4086 atomic_inc(&nctx->ctx_owner->thread.pfm_owners_check); in pfm_inherit()
4274 if (ctx->ctx_owner != NULL) { in pfm_context_exit()
4278 ctx->ctx_owner->pid, in pfm_context_exit()
4279 atomic_read(&ctx->ctx_owner->thread.pfm_owners_check))); in pfm_context_exit()
4281 atomic_dec(&ctx->ctx_owner->thread.pfm_owners_check); in pfm_context_exit()
4365 if (ctx && ctx->ctx_owner == task) { in pfm_cleanup_owners()
4382 ctx->ctx_owner = NULL; in pfm_cleanup_owners()