Home
last modified time | relevance | path

Searched refs:mm_pkey_allocation_map (Results 1 – 3 of 3) sorted by relevance

/linux/arch/x86/include/asm/
A Dpkeys.h49 #define mm_pkey_allocation_map(mm) (mm->context.pkey_allocation_map) macro
51 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()
/linux/arch/powerpc/include/asm/
A Dpkeys.h52 #define mm_pkey_allocation_map(mm) (mm->context.pkey_allocation_map) macro
55 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()
/linux/arch/powerpc/mm/book3s64/
A Dpkeys.c309 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