Lines Matching refs:old
176 * map_old_perms - map old file perms layout to the new layout
177 * @old: permission set in old mapping
181 static u32 map_old_perms(u32 old)
183 u32 new = old & 0xf;
184 if (old & MAY_READ)
186 if (old & MAY_WRITE)
189 if (old & 0x10)
191 /* the old mapping lock and link_subset flags where overlaid
194 if (old & 0x20)
196 if (old & 0x40) /* AA_EXEC_MMAP */
236 /* change_profile wasn't determined by ownership in old mapping */
487 struct aa_label *l, *old;
491 old = rcu_dereference_protected(fctx->label,
493 l = aa_label_merge(old, label, GFP_ATOMIC);
495 if (l != old) {
497 aa_put_label(old);