Lines Matching refs:ctx
40 * @ctx: task_ctx to free (MAYBE NULL)
42 static inline void aa_free_task_ctx(struct aa_task_ctx *ctx)
44 if (ctx) {
45 aa_put_label(ctx->nnp);
46 aa_put_label(ctx->previous);
47 aa_put_label(ctx->onexec);
66 * aa_clear_task_ctx_trans - clear transition tracking info from the ctx
67 * @ctx: task context to clear (NOT NULL)
69 static inline void aa_clear_task_ctx_trans(struct aa_task_ctx *ctx)
71 AA_BUG(!ctx);
73 aa_put_label(ctx->previous);
74 aa_put_label(ctx->onexec);
75 ctx->previous = NULL;
76 ctx->onexec = NULL;
77 ctx->token = 0;