Home
last modified time | relevance | path

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

/Linux-v5.10/arch/x86/include/asm/
Dpkeys.h60 bool mm_pkey_is_allocated(struct mm_struct *mm, int pkey) in mm_pkey_is_allocated() function
115 if (!mm_pkey_is_allocated(mm, pkey)) in mm_pkey_free()
/Linux-v5.10/arch/powerpc/include/asm/
Dpkeys.h68 static inline bool mm_pkey_is_allocated(struct mm_struct *mm, int pkey) in mm_pkey_is_allocated() function
115 if (!mm_pkey_is_allocated(mm, pkey)) in mm_pkey_free()
/Linux-v5.10/include/linux/
Dpkeys.h21 static inline bool mm_pkey_is_allocated(struct mm_struct *mm, int pkey) in mm_pkey_is_allocated() function
/Linux-v5.10/mm/
Dmprotect.c549 if ((pkey != -1) && !mm_pkey_is_allocated(current->mm, pkey)) in do_mprotect_pkey()