Lines Matching defs:ptr
57 noinline int read_ptr(int *ptr) in read_ptr()
179 u64 *ptr = (u64 *)(c + i); in dump_mem() local
554 int mprotect_pkey(void *ptr, size_t size, unsigned long orig_prot, in mprotect_pkey()
591 void *ptr; member
598 void record_pkey_malloc(void *ptr, long size, int prot) in record_pkey_malloc()
635 static void free_pkey_malloc(void *ptr) in free_pkey_malloc()
664 void *ptr; in malloc_pkey_with_mprotect() local
685 void *ptr; in malloc_pkey_anon_huge() local
765 void *ptr; in malloc_pkey_hugetlb() local
894 static void test_pkey_alloc_free_attach_pkey0(int *ptr, u16 pkey) in test_pkey_alloc_free_attach_pkey0()
946 static void test_read_of_write_disabled_region(int *ptr, u16 pkey) in test_read_of_write_disabled_region()
956 static void test_read_of_access_disabled_region(int *ptr, u16 pkey) in test_read_of_access_disabled_region()
968 static void test_read_of_access_disabled_region_with_page_already_mapped(int *ptr, in test_read_of_access_disabled_region_with_page_already_mapped()
985 static void test_write_of_write_disabled_region_with_page_already_mapped(int *ptr, in test_write_of_write_disabled_region_with_page_already_mapped()
996 static void test_write_of_write_disabled_region(int *ptr, u16 pkey) in test_write_of_write_disabled_region()
1003 static void test_write_of_access_disabled_region(int *ptr, u16 pkey) in test_write_of_access_disabled_region()
1011 static void test_write_of_access_disabled_region_with_page_already_mapped(int *ptr, in test_write_of_access_disabled_region_with_page_already_mapped()
1022 static void test_kernel_write_of_access_disabled_region(int *ptr, u16 pkey) in test_kernel_write_of_access_disabled_region()
1035 static void test_kernel_write_of_write_disabled_region(int *ptr, u16 pkey) in test_kernel_write_of_write_disabled_region()
1048 static void test_kernel_gup_of_access_disabled_region(int *ptr, u16 pkey) in test_kernel_gup_of_access_disabled_region()
1070 static void test_kernel_gup_write_to_write_disabled_region(int *ptr, u16 pkey) in test_kernel_gup_write_to_write_disabled_region()
1088 static void test_pkey_syscalls_on_non_allocated_pkey(int *ptr, u16 pkey) in test_pkey_syscalls_on_non_allocated_pkey()
1111 static void test_pkey_syscalls_bad_args(int *ptr, u16 pkey) in test_pkey_syscalls_bad_args()
1137 static void test_pkey_alloc_exhaust(int *ptr, u16 pkey) in test_pkey_alloc_exhaust()
1243 static void test_pkey_init_state(int *ptr, u16 pkey) in test_pkey_init_state()
1281 static void test_mprotect_with_pkey_0(int *ptr, u16 pkey) in test_mprotect_with_pkey_0()
1305 static void test_ptrace_of_child(int *ptr, u16 pkey) in test_ptrace_of_child()
1402 static void test_executing_on_unreadable_memory(int *ptr, u16 pkey) in test_executing_on_unreadable_memory()
1434 static void test_implicit_mprotect_exec_only_memory(int *ptr, u16 pkey) in test_implicit_mprotect_exec_only_memory()
1483 static void test_ptrace_modifies_pkru(int *ptr, u16 pkey) in test_ptrace_modifies_pkru()
1606 static void test_ptrace_modifies_pkru(int *ptr, u16 pkey) in test_ptrace_modifies_pkru()
1683 static void test_mprotect_pkey_on_unsupported_cpu(int *ptr, u16 pkey) in test_mprotect_pkey_on_unsupported_cpu()
1725 int *ptr; in run_tests_once() local
1775 int *ptr; in main() local