Lines Matching refs:old
183 static u32 map_old_perms(u32 old) in map_old_perms() argument
185 u32 new = old & 0xf; in map_old_perms()
186 if (old & MAY_READ) in map_old_perms()
188 if (old & MAY_WRITE) in map_old_perms()
191 if (old & 0x10) in map_old_perms()
196 if (old & 0x20) in map_old_perms()
198 if (old & 0x40) /* AA_EXEC_MMAP */ in map_old_perms()
489 struct aa_label *l, *old; in update_file_ctx() local
493 old = rcu_dereference_protected(fctx->label, in update_file_ctx()
495 l = aa_label_merge(old, label, GFP_ATOMIC); in update_file_ctx()
497 if (l != old) { in update_file_ctx()
499 aa_put_label(old); in update_file_ctx()