Home
last modified time | relevance | path

Searched refs:VM_PKEY_SHIFT (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/arch/powerpc/include/asm/
Dpkeys.h35 return (((u64)pkey << VM_PKEY_SHIFT) & ARCH_VM_PKEY_FLAGS); in pkey_to_vmflag_bits()
42 return (vma->vm_flags & ARCH_VM_PKEY_FLAGS) >> VM_PKEY_SHIFT; in vma_pkey()
/linux-6.6.21/arch/powerpc/mm/book3s64/
Dpkeys.c103 ((ARCH_VM_PKEY_FLAGS >> VM_PKEY_SHIFT) + 1)); in scan_pkey_feature()
125 BUILD_BUG_ON(__builtin_clzl(ARCH_VM_PKEY_FLAGS >> VM_PKEY_SHIFT) + in pkey_early_init_devtree()
126 __builtin_popcountl(ARCH_VM_PKEY_FLAGS >> VM_PKEY_SHIFT) in pkey_early_init_devtree()
/linux-6.6.21/arch/x86/include/asm/
Dpkeys.h123 return (vma->vm_flags & vma_pkey_mask) >> VM_PKEY_SHIFT; in vma_pkey()
/linux-6.6.21/include/linux/
Dmm.h332 # define VM_PKEY_SHIFT VM_HIGH_ARCH_BIT_0 macro