Searched refs:VM_PKEY_SHIFT (Results 1 – 4 of 4) sorted by relevance
76 BUILD_BUG_ON(__builtin_clzl(ARCH_VM_PKEY_FLAGS >> VM_PKEY_SHIFT) + in pkey_initialize()77 __builtin_popcountl(ARCH_VM_PKEY_FLAGS >> VM_PKEY_SHIFT) in pkey_initialize()97 ((ARCH_VM_PKEY_FLAGS >> VM_PKEY_SHIFT)+1)); in pkey_initialize()
30 return (((u64)pkey << VM_PKEY_SHIFT) & ARCH_VM_PKEY_FLAGS); in pkey_to_vmflag_bits()49 return (vma->vm_flags & ARCH_VM_PKEY_FLAGS) >> VM_PKEY_SHIFT; in vma_pkey()
129 return (vma->vm_flags & vma_pkey_mask) >> VM_PKEY_SHIFT; in vma_pkey()
235 # define VM_PKEY_SHIFT VM_HIGH_ARCH_BIT_0 macro