Lines Matching defs:pkey

178 static u32 hw_pkey_get(int pkey, unsigned long flags)  in hw_pkey_get()
189 static int hw_pkey_set(int pkey, unsigned long rights, unsigned long flags) in hw_pkey_set()
210 void pkey_disable_set(int pkey, int flags) in pkey_disable_set()
251 void pkey_disable_clear(int pkey, int flags) in pkey_disable_clear()
280 void pkey_write_allow(int pkey) in pkey_write_allow()
284 void pkey_write_deny(int pkey) in pkey_write_deny()
288 void pkey_access_allow(int pkey) in pkey_access_allow()
292 void pkey_access_deny(int pkey) in pkey_access_deny()
462 unsigned long pkey) in sys_mprotect_pkey()
535 int sys_pkey_free(unsigned long pkey) in sys_pkey_free()
588 unsigned long pkey) in mprotect_pkey()
696 void *malloc_pkey_with_mprotect(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect()
716 void *malloc_pkey_anon_huge(long size, int prot, u16 pkey) in malloc_pkey_anon_huge()
797 void *malloc_pkey_hugetlb(long size, int prot, u16 pkey) in malloc_pkey_hugetlb()
818 void *malloc_pkey_mmap_dax(long size, int prot, u16 pkey) in malloc_pkey_mmap_dax()
853 void *malloc_pkey(long size, int prot, u16 pkey) in malloc_pkey()
885 void expected_pkey_fault(int pkey) in expected_pkey_fault()
963 void test_pkey_alloc_free_attach_pkey0(int *ptr, u16 pkey) in test_pkey_alloc_free_attach_pkey0()
1015 void test_read_of_write_disabled_region(int *ptr, u16 pkey) in test_read_of_write_disabled_region()
1025 void test_read_of_access_disabled_region(int *ptr, u16 pkey) in test_read_of_access_disabled_region()
1038 u16 pkey) in test_read_of_access_disabled_region_with_page_already_mapped()
1055 u16 pkey) in test_write_of_write_disabled_region_with_page_already_mapped()
1065 void test_write_of_write_disabled_region(int *ptr, u16 pkey) in test_write_of_write_disabled_region()
1072 void test_write_of_access_disabled_region(int *ptr, u16 pkey) in test_write_of_access_disabled_region()
1081 u16 pkey) in test_write_of_access_disabled_region_with_page_already_mapped()
1091 void test_kernel_write_of_access_disabled_region(int *ptr, u16 pkey) in test_kernel_write_of_access_disabled_region()
1103 void test_kernel_write_of_write_disabled_region(int *ptr, u16 pkey) in test_kernel_write_of_write_disabled_region()
1116 void test_kernel_gup_of_access_disabled_region(int *ptr, u16 pkey) in test_kernel_gup_of_access_disabled_region()
1138 void test_kernel_gup_write_to_write_disabled_region(int *ptr, u16 pkey) in test_kernel_gup_write_to_write_disabled_region()
1156 void test_pkey_syscalls_on_non_allocated_pkey(int *ptr, u16 pkey) in test_pkey_syscalls_on_non_allocated_pkey()
1179 void test_pkey_syscalls_bad_args(int *ptr, u16 pkey) in test_pkey_syscalls_bad_args()
1205 void test_pkey_alloc_exhaust(int *ptr, u16 pkey) in test_pkey_alloc_exhaust()
1311 void test_pkey_init_state(int *ptr, u16 pkey) in test_pkey_init_state()
1349 void test_mprotect_with_pkey_0(int *ptr, u16 pkey) in test_mprotect_with_pkey_0()
1373 void test_ptrace_of_child(int *ptr, u16 pkey) in test_ptrace_of_child()
1470 void test_executing_on_unreadable_memory(int *ptr, u16 pkey) in test_executing_on_unreadable_memory()
1497 void test_implicit_mprotect_exec_only_memory(int *ptr, u16 pkey) in test_implicit_mprotect_exec_only_memory()
1546 void test_ptrace_modifies_pkru(int *ptr, u16 pkey) in test_ptrace_modifies_pkru()
1668 void test_mprotect_pkey_on_unsupported_cpu(int *ptr, u16 pkey) in test_mprotect_pkey_on_unsupported_cpu()
1714 int pkey; in run_tests_once() local