Lines Matching defs:ptr
173 u64 *ptr = (u64 *)(c + i); in dump_mem() local
461 int sys_mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in sys_mprotect_pkey()
587 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in mprotect_pkey()
624 void *ptr; member
631 void record_pkey_malloc(void *ptr, long size, int prot) in record_pkey_malloc()
668 void free_pkey_malloc(void *ptr) in free_pkey_malloc()
698 void *ptr; in malloc_pkey_with_mprotect() local
719 void *ptr; in malloc_pkey_anon_huge() local
799 void *ptr; in malloc_pkey_hugetlb() local
820 void *ptr; in malloc_pkey_mmap_dax() local
954 __attribute__((noinline)) int read_ptr(int *ptr) in read_ptr()
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()
1037 void test_read_of_access_disabled_region_with_page_already_mapped(int *ptr, in test_read_of_access_disabled_region_with_page_already_mapped()
1054 void test_write_of_write_disabled_region_with_page_already_mapped(int *ptr, 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()
1080 void test_write_of_access_disabled_region_with_page_already_mapped(int *ptr, 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()
1710 int *ptr; in run_tests_once() local
1760 int *ptr; in main() local