Searched refs:VM_PKEY_SHIFT (Results 1 – 4 of 4) sorted by relevance
35 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()
102 ((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()
123 return (vma->vm_flags & vma_pkey_mask) >> VM_PKEY_SHIFT; in vma_pkey()
321 # define VM_PKEY_SHIFT VM_HIGH_ARCH_BIT_0 macro