Lines Matching defs:mm
307 void pkey_mm_init(struct mm_struct *mm)
311 mm_pkey_allocation_map(mm) = initial_allocation_mask;
312 mm->context.execute_only_pkey = execute_only_key;
374 int execute_only_pkey(struct mm_struct *mm)
376 return mm->context.execute_only_pkey;
444 * So do not enforce things if the VMA is not from the current mm, or if we are
461 void arch_dup_pkeys(struct mm_struct *oldmm, struct mm_struct *mm)
466 /* Duplicate the oldmm pkey state in mm: */
467 mm_pkey_allocation_map(mm) = mm_pkey_allocation_map(oldmm);
468 mm->context.execute_only_pkey = oldmm->context.execute_only_pkey;