Home
last modified time | relevance | path

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

/linux-5.19.10/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-5.19.10/arch/powerpc/mm/book3s64/ !
Dpkeys.c102 ((ARCH_VM_PKEY_FLAGS >> VM_PKEY_SHIFT) + 1)); in scan_pkey_feature()
124 BUILD_BUG_ON(__builtin_clzl(ARCH_VM_PKEY_FLAGS >> VM_PKEY_SHIFT) + in pkey_early_init_devtree()
125 __builtin_popcountl(ARCH_VM_PKEY_FLAGS >> VM_PKEY_SHIFT) in pkey_early_init_devtree()
/linux-5.19.10/arch/x86/include/asm/ !
Dpkeys.h123 return (vma->vm_flags & vma_pkey_mask) >> VM_PKEY_SHIFT; in vma_pkey()
/linux-5.19.10/include/linux/ !
Dmm.h321 # define VM_PKEY_SHIFT VM_HIGH_ARCH_BIT_0 macro