Home
last modified time | relevance | path

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

/openbmc/linux/arch/x86/include/asm/
H A Dpkeys.h55 bool mm_pkey_is_allocated(struct mm_struct *mm, int pkey) in mm_pkey_is_allocated() function
110 if (!mm_pkey_is_allocated(mm, pkey)) in mm_pkey_free()
/openbmc/linux/arch/powerpc/include/asm/
H A 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()
/openbmc/linux/include/linux/
H A Dpkeys.h23 static inline bool mm_pkey_is_allocated(struct mm_struct *mm, int pkey) in mm_pkey_is_allocated() function
/openbmc/linux/mm/
H A Dmprotect.c729 if ((pkey != -1) && !mm_pkey_is_allocated(current->mm, pkey)) in do_mprotect_pkey()