Lines Matching refs:dprintf1

117 	dprintf1("enabled tracing\n");  in tracing_on()
173 dprintf1("dump[%03d][@%p]: %016llx\n", i, ptr, *ptr); in dump_mem()
181 dprintf1("%s(pkey=%d, flags=%lx) = %x / %d\n", in hw_pkey_get()
216 dprintf1("START->%s(%d, 0x%x)\n", __func__, in pkey_disable_set()
222 dprintf1("%s(%d) hw_pkey_get(%d): %x\n", __func__, in pkey_disable_set()
233 dprintf1("%s(%d) shadow: 0x%016llx\n", in pkey_disable_set()
239 dprintf1("%s(%d) hw_pkey_get(%d): %x\n", __func__, in pkey_disable_set()
242 dprintf1("%s(%d) pkey_reg: 0x%016llx\n", in pkey_disable_set()
246 dprintf1("END<---%s(%d, 0x%x)\n", __func__, in pkey_disable_set()
259 dprintf1("%s(%d) hw_pkey_get(%d): %x\n", __func__, in pkey_disable_clear()
270 dprintf1("%s(%d) hw_pkey_get(%d): %x\n", __func__, in pkey_disable_clear()
273 dprintf1("%s(%d) pkey_reg: 0x%016llx\n", __func__, in pkey_disable_clear()
334 dprintf1(">>>>===============SIGSEGV============================\n"); in signal_handler()
335 dprintf1("%s()::%d, pkey_reg: 0x%016llx shadow: %016llx\n", in signal_handler()
363 dprintf1("pkey_reg_xstate_offset: %d\n", pkey_reg_xstate_offset()); in signal_handler()
369 dprintf1("siginfo: %p\n", si); in signal_handler()
370 dprintf1(" fpregs: %p\n", fpregs); in signal_handler()
380 dprintf1("si_pkey_ptr: %p\n", si_pkey_ptr); in signal_handler()
390 dprintf1("signal pkey_reg from pkey_reg: %016llx\n", in signal_handler()
392 dprintf1("pkey from siginfo: %016llx\n", siginfo_pkey); in signal_handler()
394 dprintf1("signal pkey_reg from xsave: %08x\n", *pkey_reg_ptr); in signal_handler()
396 dprintf1("WARNING: set PKEY_REG=0 to allow faulting instruction to continue\n"); in signal_handler()
402 dprintf1("<<<<==================================================\n"); in signal_handler()
462 dprintf1("child sleeping...\n"); in fork_lazy_child()
492 dprintf1("%s(flags=%lx, init_val=%lx) syscall ret: %d errno: %d\n", in sys_pkey_alloc()
502 dprintf1("%s()::%d, pkey_reg: 0x%016llx shadow: %016llx\n", in alloc_pkey()
533 dprintf1("%s()::%d errno: %d\n", __func__, __LINE__, errno); in alloc_pkey()
546 dprintf1("%s(pkey=%ld) syscall ret: %d\n", __func__, pkey, ret); in sys_pkey_free()
589 dprintf1("%s()::%d, ret: %d pkey_reg: 0x%016llx" in alloc_random_pkey()
604 dprintf1("sys_mprotect_pkey(%p, %zx, prot=0x%lx, pkey=%ld) ret: %d\n", in mprotect_pkey()
609 dprintf1("%s()::%d, ret: %d pkey_reg: 0x%016llx" in mprotect_pkey()
614 dprintf1("%s()::%d, ret: %d pkey_reg: 0x%016llx" in mprotect_pkey()
622 dprintf1("mprotect_pkey(%p, %zx, prot=0x%lx, pkey=%ld) ret: %d\n", in mprotect_pkey()
625 dprintf1("%s()::%d, ret: %d pkey_reg: 0x%016llx" in mprotect_pkey()
710 dprintf1("doing %s(size=%ld, prot=0x%x, pkey=%d)\n", __func__, in malloc_pkey_with_mprotect()
720 dprintf1("%s() for pkey %d @ %p\n", __func__, pkey, ptr); in malloc_pkey_with_mprotect()
729 dprintf1("doing %s(size=%ld, prot=0x%x, pkey=%d)\n", __func__, in malloc_pkey_anon_huge()
741 dprintf1("unaligned ptr: %p\n", ptr); in malloc_pkey_anon_huge()
743 dprintf1(" aligned ptr: %p\n", ptr); in malloc_pkey_anon_huge()
745 dprintf1("MADV_HUGEPAGE ret: %d\n", ret); in malloc_pkey_anon_huge()
747 dprintf1("MADV_WILLNEED ret: %d\n", ret); in malloc_pkey_anon_huge()
750 dprintf1("mmap()'d thp for pkey %d @ %p\n", pkey, ptr); in malloc_pkey_anon_huge()
813 dprintf1("doing %s(%ld, %x, %x)\n", __func__, size, prot, pkey); in malloc_pkey_hugetlb()
822 dprintf1("mmap()'d hugetlbfs for pkey %d @ %p\n", pkey, ptr); in malloc_pkey_hugetlb()
831 dprintf1("doing %s(size=%ld, prot=0x%x, pkey=%d)\n", __func__, in malloc_pkey_mmap_dax()
844 dprintf1("mmap()'d for pkey %d @ %p\n", pkey, ptr); in malloc_pkey_mmap_dax()
919 dprintf1("%s() set pkey_reg=%016llx to restore state after signal " in expected_pkey_fault()
1027 dprintf1("disabling write access to PKEY[1], doing read\n"); in test_read_of_write_disabled_region()
1030 dprintf1("*ptr: %d\n", ptr_contents); in test_read_of_write_disabled_region()
1031 dprintf1("\n"); in test_read_of_write_disabled_region()
1037 dprintf1("disabling access to PKEY[%02d], doing read @ %p\n", pkey, ptr); in test_read_of_access_disabled_region()
1041 dprintf1("*ptr: %d\n", ptr_contents); in test_read_of_access_disabled_region()
1050 dprintf1("disabling access to PKEY[%02d], doing read @ %p\n", in test_read_of_access_disabled_region_with_page_already_mapped()
1053 dprintf1("reading ptr before disabling the read : %d\n", in test_read_of_access_disabled_region_with_page_already_mapped()
1058 dprintf1("*ptr: %d\n", ptr_contents); in test_read_of_access_disabled_region_with_page_already_mapped()
1066 dprintf1("disabling write access; after accessing the page, " in test_write_of_write_disabled_region_with_page_already_mapped()
1075 dprintf1("disabling write access to PKEY[%02d], doing write\n", pkey); in test_write_of_write_disabled_region()
1082 dprintf1("disabling access to PKEY[%02d], doing write\n", pkey); in test_write_of_access_disabled_region()
1092 dprintf1("disabling access; after accessing the page, " in test_write_of_access_disabled_region_with_page_already_mapped()
1104 dprintf1("disabling access to PKEY[%02d], " in test_kernel_write_of_access_disabled_region()
1108 dprintf1("read ret: %d\n", ret); in test_kernel_write_of_access_disabled_region()
1118 dprintf1("read ret: %d\n", ret); in test_kernel_write_of_write_disabled_region()
1133 dprintf1("disabling access to PKEY[%02d], " in test_kernel_gup_of_access_disabled_region()
1139 dprintf1("vmsplice() ret: %d\n", vmsplice_ret); in test_kernel_gup_of_access_disabled_region()
1152 dprintf1("disabling write to PKEY[%02d], " in test_kernel_gup_write_to_write_disabled_region()
1160 dprintf1("futex() ret: %d\n", futex_ret); in test_kernel_gup_write_to_write_disabled_region()
1174 dprintf1("trying get/set/free to non-allocated pkey: %2d\n", i); in test_pkey_syscalls_on_non_allocated_pkey()
1222 dprintf1("%s() alloc loop: %d\n", __func__, i); in test_pkey_alloc_exhaust()
1401 dprintf1("[%d] child pid: %d\n", getpid(), child_pid); in test_ptrace_of_child()
1406 dprintf1("[%d] attach ret: %ld %d\n", getpid(), ret, __LINE__); in test_ptrace_of_child()
1512 dprintf1("%s() start\n", __func__); in test_implicit_mprotect_exec_only_memory()
1559 dprintf1("SKIP: %s: no CPU support\n", __func__); in test_mprotect_pkey_on_unsupported_cpu()
1599 dprintf1("======================\n"); in run_tests_once()
1600 dprintf1("test %d preparing...\n", test_nr); in run_tests_once()
1604 dprintf1("test %d starting with pkey: %d\n", test_nr, pkey); in run_tests_once()
1606 dprintf1("test %d starting...\n", test_nr); in run_tests_once()
1608 dprintf1("freeing test memory: %p\n", ptr); in run_tests_once()
1612 dprintf1("pkey_faults: %d\n", pkey_faults); in run_tests_once()
1613 dprintf1("orig_pkey_faults: %d\n", orig_pkey_faults); in run_tests_once()
1619 dprintf1("======================\n\n"); in run_tests_once()