Searched defs:pkey (Results 1 – 13 of 13) sorted by relevance
/tools/testing/selftests/mm/ |
A D | protection_keys.c | 184 static u32 hw_pkey_get(int pkey, unsigned long flags) in hw_pkey_get() 216 static void pkey_disable_set(int pkey, int flags) in pkey_disable_set() 254 static void pkey_disable_clear(int pkey, int flags) in pkey_disable_clear() 280 __maybe_unused static void pkey_write_allow(int pkey) in pkey_write_allow() 284 __maybe_unused static void pkey_write_deny(int pkey) in pkey_write_deny() 555 unsigned long pkey) in mprotect_pkey() 824 void expected_pkey_fault(int pkey) in expected_pkey_fault() 969 u16 pkey) in test_read_of_access_disabled_region_with_page_already_mapped() 986 u16 pkey) in test_write_of_write_disabled_region_with_page_already_mapped() 1012 u16 pkey) in test_write_of_access_disabled_region_with_page_already_mapped() [all …]
|
A D | pkey-arm64.h | 74 static inline u32 pkey_bit_position(int pkey) in pkey_bit_position() 84 static inline void expect_fault_on_read_execonly_key(void *p1, int pkey) in expect_fault_on_read_execonly_key() 88 static inline void *malloc_pkey_with_mprotect_subpage(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect_subpage() 94 static inline u64 set_pkey_bits(u64 reg, int pkey, u64 flags) in set_pkey_bits() 114 static inline u64 get_pkey_bits(u64 reg, int pkey) in get_pkey_bits() 130 static inline void aarch64_write_signal_pkey(ucontext_t *uctxt, u64 pkey) in aarch64_write_signal_pkey()
|
A D | pkey_util.c | 16 int sys_pkey_free(unsigned long pkey) in sys_pkey_free() 24 unsigned long pkey) in sys_mprotect_pkey()
|
A D | pkey-powerpc.h | 39 static inline u32 pkey_bit_position(int pkey) in pkey_bit_position() 96 static inline void expect_fault_on_read_execonly_key(void *p1, int pkey) in expect_fault_on_read_execonly_key() 120 static inline void *malloc_pkey_with_mprotect_subpage(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect_subpage()
|
A D | pkey-x86.h | 107 static inline u32 pkey_bit_position(int pkey) in pkey_bit_position() 151 static inline void expect_fault_on_read_execonly_key(void *p1, int pkey) in expect_fault_on_read_execonly_key() 160 static inline void *malloc_pkey_with_mprotect_subpage(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect_subpage()
|
A D | pkey-helpers.h | 125 static inline u64 set_pkey_bits(u64 reg, int pkey, u64 flags) in set_pkey_bits() 137 static inline u64 get_pkey_bits(u64 reg, int pkey) in get_pkey_bits()
|
A D | pkey_sighandler_tests.c | 287 int pkey; in test_sigsegv_handler_with_different_pkey_for_stack() local 443 int pkey; in test_pkru_sigreturn() local
|
A D | mseal_test.c | 75 unsigned long pkey) in sys_mprotect_pkey() 146 static unsigned long pkey_bit_position(int pkey) in pkey_bit_position() 151 static u64 set_pkey_bits(u64 reg, int pkey, u64 flags) in set_pkey_bits() 162 static void set_pkey(int pkey, unsigned long pkey_value) in set_pkey() 221 int pkey = sys_pkey_alloc(0, PKEY_UNRESTRICTED); in pkey_supported() local 1667 int pkey; in test_seal_discard_ro_anon_on_pkey() local
|
/tools/testing/selftests/powerpc/include/ |
A D | pkeys.h | 51 #define pkeyshift(pkey) (PKEY_REG_BITS - ((pkey + 1) * AMR_BITS_PER_PKEY)) argument 63 void pkey_set_rights(int pkey, unsigned long rights) in pkey_set_rights() 74 int sys_pkey_mprotect(void *addr, size_t len, int prot, int pkey) in sys_pkey_mprotect() 84 int sys_pkey_free(int pkey) in sys_pkey_free() 92 int pkey; in pkeys_unsupported() local
|
/tools/testing/selftests/powerpc/mm/ |
A D | pkey_exec_prot.c | 106 int pkey, ret, i; in test() local
|
A D | pkey_siginfo.c | 39 int pkey; in segv_handler() local
|
/tools/perf/util/ |
A D | hashmap.h | 63 const void *pkey; member
|
/tools/lib/bpf/ |
A D | hashmap.h | 63 const void *pkey; member
|
Completed in 31 milliseconds