Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/include/asm/
H A 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()
/openbmc/linux/arch/powerpc/mm/book3s64/
H A 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()
/openbmc/linux/arch/x86/include/asm/
H A Dpkeys.h123 return (vma->vm_flags & vma_pkey_mask) >> VM_PKEY_SHIFT; in vma_pkey()
/openbmc/linux/include/linux/
H A Dmm.h332 # define VM_PKEY_SHIFT VM_HIGH_ARCH_BIT_0 macro