Searched refs:mm_pkey_allocation_map (Results 1 – 3 of 3) sorted by relevance
49 #define mm_pkey_allocation_map(mm) (mm->context.pkey_allocation_map) macro51 mm_pkey_allocation_map(mm) |= (1U << pkey); \54 mm_pkey_allocation_map(mm) &= ~(1U << pkey); \77 return mm_pkey_allocation_map(mm) & (1U << pkey); in mm_pkey_is_allocated()100 if (mm_pkey_allocation_map(mm) == all_pkeys_mask) in mm_pkey_alloc()103 ret = ffz(mm_pkey_allocation_map(mm)); in mm_pkey_alloc()
52 #define mm_pkey_allocation_map(mm) (mm->context.pkey_allocation_map) macro55 mm_pkey_allocation_map(mm) |= pkey_alloc_mask(pkey); \59 mm_pkey_allocation_map(mm) &= ~pkey_alloc_mask(pkey); \63 (mm_pkey_allocation_map(mm) & pkey_alloc_mask(pkey))101 if (mm_pkey_allocation_map(mm) == all_pkeys_mask) in mm_pkey_alloc()104 ret = ffz((u32)mm_pkey_allocation_map(mm)); in mm_pkey_alloc()
309 mm_pkey_allocation_map(mm) = initial_allocation_mask; in pkey_mm_init()465 mm_pkey_allocation_map(mm) = mm_pkey_allocation_map(oldmm); in arch_dup_pkeys()
Completed in 6 milliseconds