Home
last modified time | relevance | path

Searched refs:vma_pkey (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/arch/x86/mm/
H A Dpkeys.c12 #include <asm/mmu_context.h> /* vma_pkey() */
67 if (vma_pkey(vma) != vma->vm_mm->context.execute_only_pkey) in vma_is_pkey_exec_only()
110 return vma_pkey(vma); in __arch_override_mprotect_pkey()
H A Dfault.c27 #include <asm/mmu_context.h> /* vma_pkey() */
916 * 6. T1 : reaches here, sees vma_pkey(vma)=5, when we really in bad_area_access_error()
919 u32 pkey = vma_pkey(vma); in bad_area_access_error()
/kernel/linux/linux-6.6/arch/x86/mm/
H A Dpkeys.c12 #include <asm/mmu_context.h> /* vma_pkey() */
67 if (vma_pkey(vma) != vma->vm_mm->context.execute_only_pkey) in vma_is_pkey_exec_only()
110 return vma_pkey(vma); in __arch_override_mprotect_pkey()
H A Dfault.c29 #include <asm/mmu_context.h> /* vma_pkey() */
918 * 6. T1 : reaches here, sees vma_pkey(vma)=5, when we really in bad_area_access_error()
921 u32 pkey = vma_pkey(vma); in bad_area_access_error()
/kernel/linux/linux-5.10/include/linux/
H A Dpkeys.h16 static inline int vma_pkey(struct vm_area_struct *vma) in vma_pkey() function
/kernel/linux/linux-6.6/include/linux/
H A Dpkeys.h18 static inline int vma_pkey(struct vm_area_struct *vma) in vma_pkey() function
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
H A Dpkeys.c363 return (vma_pkey(vma) == vma->vm_mm->context.execute_only_pkey); in vma_is_pkey_exec_only()
390 return vma_pkey(vma); in __arch_override_mprotect_pkey()
436 return pkey_access_permitted(vma_pkey(vma), write, execute); in arch_vma_access_permitted()
/kernel/linux/linux-6.6/arch/powerpc/mm/book3s64/
H A Dpkeys.c384 return (vma_pkey(vma) == vma->vm_mm->context.execute_only_pkey); in vma_is_pkey_exec_only()
411 return vma_pkey(vma); in __arch_override_mprotect_pkey()
457 return pkey_access_permitted(vma_pkey(vma), write, execute); in arch_vma_access_permitted()
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dpkeys.h129 static inline int vma_pkey(struct vm_area_struct *vma) in vma_pkey() function
H A Dmmu_context.h212 return __pkru_allows_pkey(vma_pkey(vma), write); in arch_vma_access_permitted()
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dpkeys.h118 static inline int vma_pkey(struct vm_area_struct *vma) in vma_pkey() function
H A Dmmu_context.h258 return __pkru_allows_pkey(vma_pkey(vma), write); in arch_vma_access_permitted()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dpkeys.h38 static inline int vma_pkey(struct vm_area_struct *vma) in vma_pkey() function
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dpkeys.h38 static inline int vma_pkey(struct vm_area_struct *vma) in vma_pkey() function
/kernel/linux/linux-5.10/arch/powerpc/mm/
H A Dfault.c110 * 6. T1 : reaches here, sees vma_pkey(vma)=5, when we really in bad_access_pkey()
113 pkey = vma_pkey(vma); in bad_access_pkey()
/kernel/linux/linux-6.6/arch/powerpc/mm/
H A Dfault.c107 * 6. T1 : reaches here, sees vma_pkey(vma)=5, when we really in bad_access_pkey()
110 pkey = vma_pkey(vma); in bad_access_pkey()
/kernel/linux/linux-5.10/fs/proc/
H A Dtask_mmu.c875 seq_printf(m, "ProtectionKey: %8u\n", vma_pkey(vma)); in show_smap()
/kernel/linux/linux-6.6/fs/proc/
H A Dtask_mmu.c885 seq_printf(m, "ProtectionKey: %8u\n", vma_pkey(vma)); in show_smap()

Completed in 15 milliseconds