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()
471 unsigned long pkey) in sys_mprotect_pkey()
544 int sys_pkey_free(unsigned long pkey) in sys_pkey_free()
597 unsigned long pkey) in mprotect_pkey()
705 void *malloc_pkey_with_mprotect(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect()
725 void *malloc_pkey_anon_huge(long size, int prot, u16 pkey) in malloc_pkey_anon_huge()
806 void *malloc_pkey_hugetlb(long size, int prot, u16 pkey) in malloc_pkey_hugetlb()
827 void *malloc_pkey_mmap_dax(long size, int prot, u16 pkey) in malloc_pkey_mmap_dax()
862 void *malloc_pkey(long size, int prot, u16 pkey) in malloc_pkey()
894 void expected_pkey_fault(int pkey) in expected_pkey_fault()
972 void test_pkey_alloc_free_attach_pkey0(int *ptr, u16 pkey) in test_pkey_alloc_free_attach_pkey0()
1024 void test_read_of_write_disabled_region(int *ptr, u16 pkey) in test_read_of_write_disabled_region()
1034 void test_read_of_access_disabled_region(int *ptr, u16 pkey) in test_read_of_access_disabled_region()
1047 u16 pkey) in test_read_of_access_disabled_region_with_page_already_mapped()
1064 u16 pkey) in test_write_of_write_disabled_region_with_page_already_mapped()
1074 void test_write_of_write_disabled_region(int *ptr, u16 pkey) in test_write_of_write_disabled_region()
1081 void test_write_of_access_disabled_region(int *ptr, u16 pkey) in test_write_of_access_disabled_region()
1090 u16 pkey) in test_write_of_access_disabled_region_with_page_already_mapped()
1100 void test_kernel_write_of_access_disabled_region(int *ptr, u16 pkey) in test_kernel_write_of_access_disabled_region()
1112 void test_kernel_write_of_write_disabled_region(int *ptr, u16 pkey) in test_kernel_write_of_write_disabled_region()
1125 void test_kernel_gup_of_access_disabled_region(int *ptr, u16 pkey) in test_kernel_gup_of_access_disabled_region()
1147 void test_kernel_gup_write_to_write_disabled_region(int *ptr, u16 pkey) in test_kernel_gup_write_to_write_disabled_region()
1165 void test_pkey_syscalls_on_non_allocated_pkey(int *ptr, u16 pkey) in test_pkey_syscalls_on_non_allocated_pkey()
1188 void test_pkey_syscalls_bad_args(int *ptr, u16 pkey) in test_pkey_syscalls_bad_args()
1214 void test_pkey_alloc_exhaust(int *ptr, u16 pkey) in test_pkey_alloc_exhaust()
1320 void test_pkey_init_state(int *ptr, u16 pkey) in test_pkey_init_state()
1358 void test_mprotect_with_pkey_0(int *ptr, u16 pkey) in test_mprotect_with_pkey_0()
1382 void test_ptrace_of_child(int *ptr, u16 pkey) in test_ptrace_of_child()
1479 void test_executing_on_unreadable_memory(int *ptr, u16 pkey) in test_executing_on_unreadable_memory()
1506 void test_implicit_mprotect_exec_only_memory(int *ptr, u16 pkey) in test_implicit_mprotect_exec_only_memory()
1555 void test_ptrace_modifies_pkru(int *ptr, u16 pkey) in test_ptrace_modifies_pkru()
1677 void test_mprotect_pkey_on_unsupported_cpu(int *ptr, u16 pkey) in test_mprotect_pkey_on_unsupported_cpu()
1723 int pkey; in run_tests_once() local