Lines Matching defs:fctx
484 static void update_file_ctx(struct aa_file_ctx *fctx, struct aa_label *label,
490 spin_lock(&fctx->lock);
491 old = rcu_dereference_protected(fctx->label,
492 lockdep_is_held(&fctx->lock));
496 rcu_assign_pointer(fctx->label, l);
500 fctx->allow |= request;
502 spin_unlock(&fctx->lock);
599 struct aa_file_ctx *fctx;
607 fctx = file_ctx(file);
610 flabel = rcu_dereference(fctx->label);
620 denied = request & ~fctx->allow;