Lines Matching refs:dprintf1

118 	dprintf1("enabled tracing\n");  in tracing_on()
174 dprintf1("dump[%03d][@%p]: %016llx\n", i, ptr, *ptr); in dump_mem()
182 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()
244 dprintf1("END<---%s(%d, 0x%x)\n", __func__, in pkey_disable_set()
256 dprintf1("%s(%d) hw_pkey_get(%d): %x\n", __func__, in pkey_disable_clear()
267 dprintf1("%s(%d) hw_pkey_get(%d): %x\n", __func__, in pkey_disable_clear()
270 dprintf1("%s(%d) pkey_reg: 0x%016llx\n", __func__, in pkey_disable_clear()
322 dprintf1(">>>>===============SIGSEGV============================\n"); in signal_handler()
323 dprintf1("%s()::%d, pkey_reg: 0x%016llx shadow: %016llx\n", in signal_handler()
353 dprintf1("pkey_reg_xstate_offset: %d\n", pkey_reg_xstate_offset()); in signal_handler()
359 dprintf1("siginfo: %p\n", si); in signal_handler()
361 dprintf1(" fpregs: %p\n", fpregs); in signal_handler()
372 dprintf1("si_pkey_ptr: %p\n", si_pkey_ptr); in signal_handler()
382 dprintf1("signal pkey_reg from pkey_reg: %016llx\n", in signal_handler()
384 dprintf1("pkey from siginfo: %016llx\n", siginfo_pkey); in signal_handler()
386 dprintf1("signal pkey_reg from xsave: %08x\n", *pkey_reg_ptr); in signal_handler()
388 dprintf1("WARNING: set PKEY_REG=0 to allow faulting instruction to continue\n"); in signal_handler()
396 dprintf1("<<<<==================================================\n"); in signal_handler()
456 dprintf1("child sleeping...\n"); in fork_lazy_child()
486 dprintf1("%s(flags=%lx, init_val=%lx) syscall ret: %d errno: %d\n", in sys_pkey_alloc()
496 dprintf1("%s()::%d, pkey_reg: 0x%016llx shadow: %016llx\n", in alloc_pkey()
527 dprintf1("%s()::%d errno: %d\n", __func__, __LINE__, errno); in alloc_pkey()
540 dprintf1("%s(pkey=%ld) syscall ret: %d\n", __func__, pkey, ret); in sys_pkey_free()
583 dprintf1("%s()::%d, ret: %d pkey_reg: 0x%016llx" in alloc_random_pkey()
598 dprintf1("sys_mprotect_pkey(%p, %zx, prot=0x%lx, pkey=%ld) ret: %d\n", in mprotect_pkey()
603 dprintf1("%s()::%d, ret: %d pkey_reg: 0x%016llx" in mprotect_pkey()
608 dprintf1("%s()::%d, ret: %d pkey_reg: 0x%016llx" in mprotect_pkey()
616 dprintf1("mprotect_pkey(%p, %zx, prot=0x%lx, pkey=%ld) ret: %d\n", in mprotect_pkey()
619 dprintf1("%s()::%d, ret: %d pkey_reg: 0x%016llx" in mprotect_pkey()
704 dprintf1("doing %s(size=%ld, prot=0x%x, pkey=%d)\n", __func__, in malloc_pkey_with_mprotect()
714 dprintf1("%s() for pkey %d @ %p\n", __func__, pkey, ptr); in malloc_pkey_with_mprotect()
723 dprintf1("doing %s(size=%ld, prot=0x%x, pkey=%d)\n", __func__, in malloc_pkey_anon_huge()
735 dprintf1("unaligned ptr: %p\n", ptr); in malloc_pkey_anon_huge()
737 dprintf1(" aligned ptr: %p\n", ptr); in malloc_pkey_anon_huge()
739 dprintf1("MADV_HUGEPAGE ret: %d\n", ret); in malloc_pkey_anon_huge()
741 dprintf1("MADV_WILLNEED ret: %d\n", ret); in malloc_pkey_anon_huge()
744 dprintf1("mmap()'d thp for pkey %d @ %p\n", pkey, ptr); in malloc_pkey_anon_huge()
807 dprintf1("doing %s(%ld, %x, %x)\n", __func__, size, prot, pkey); in malloc_pkey_hugetlb()
816 dprintf1("mmap()'d hugetlbfs for pkey %d @ %p\n", pkey, ptr); in malloc_pkey_hugetlb()
825 dprintf1("doing %s(size=%ld, prot=0x%x, pkey=%d)\n", __func__, in malloc_pkey_mmap_dax()
838 dprintf1("mmap()'d for pkey %d @ %p\n", pkey, ptr); in malloc_pkey_mmap_dax()
915 dprintf1("%s() set pkey_reg=%016llx to restore state after signal " in expected_pkey_fault()
1013 dprintf1("disabling write access to PKEY[1], doing read\n"); in test_read_of_write_disabled_region()
1016 dprintf1("*ptr: %d\n", ptr_contents); in test_read_of_write_disabled_region()
1017 dprintf1("\n"); in test_read_of_write_disabled_region()
1023 dprintf1("disabling access to PKEY[%02d], doing read @ %p\n", pkey, ptr); in test_read_of_access_disabled_region()
1027 dprintf1("*ptr: %d\n", ptr_contents); in test_read_of_access_disabled_region()
1036 dprintf1("disabling access to PKEY[%02d], doing read @ %p\n", in test_read_of_access_disabled_region_with_page_already_mapped()
1039 dprintf1("reading ptr before disabling the read : %d\n", in test_read_of_access_disabled_region_with_page_already_mapped()
1044 dprintf1("*ptr: %d\n", ptr_contents); in test_read_of_access_disabled_region_with_page_already_mapped()
1052 dprintf1("disabling write access; after accessing the page, " in test_write_of_write_disabled_region_with_page_already_mapped()
1061 dprintf1("disabling write access to PKEY[%02d], doing write\n", pkey); in test_write_of_write_disabled_region()
1068 dprintf1("disabling access to PKEY[%02d], doing write\n", pkey); in test_write_of_access_disabled_region()
1078 dprintf1("disabling access; after accessing the page, " in test_write_of_access_disabled_region_with_page_already_mapped()
1090 dprintf1("disabling access to PKEY[%02d], " in test_kernel_write_of_access_disabled_region()
1094 dprintf1("read ret: %d\n", ret); in test_kernel_write_of_access_disabled_region()
1104 dprintf1("read ret: %d\n", ret); in test_kernel_write_of_write_disabled_region()
1119 dprintf1("disabling access to PKEY[%02d], " in test_kernel_gup_of_access_disabled_region()
1125 dprintf1("vmsplice() ret: %d\n", vmsplice_ret); in test_kernel_gup_of_access_disabled_region()
1138 dprintf1("disabling write to PKEY[%02d], " in test_kernel_gup_write_to_write_disabled_region()
1146 dprintf1("futex() ret: %d\n", futex_ret); in test_kernel_gup_write_to_write_disabled_region()
1160 dprintf1("trying get/set/free to non-allocated pkey: %2d\n", i); in test_pkey_syscalls_on_non_allocated_pkey()
1208 dprintf1("%s() alloc loop: %d\n", __func__, i); in test_pkey_alloc_exhaust()
1387 dprintf1("[%d] child pid: %d\n", getpid(), child_pid); in test_ptrace_of_child()
1392 dprintf1("[%d] attach ret: %ld %d\n", getpid(), ret, __LINE__); in test_ptrace_of_child()
1503 dprintf1("%s() start\n", __func__); in test_implicit_mprotect_exec_only_memory()
1751 dprintf1("SKIP: %s: no CPU support\n", __func__); in test_mprotect_pkey_on_unsupported_cpu()
1794 dprintf1("======================\n"); in run_tests_once()
1795 dprintf1("test %d preparing...\n", test_nr); in run_tests_once()
1799 dprintf1("test %d starting with pkey: %d\n", test_nr, pkey); in run_tests_once()
1801 dprintf1("test %d starting...\n", test_nr); in run_tests_once()
1803 dprintf1("freeing test memory: %p\n", ptr); in run_tests_once()
1807 dprintf1("pkey_faults: %d\n", pkey_faults); in run_tests_once()
1808 dprintf1("orig_pkey_faults: %d\n", orig_pkey_faults); in run_tests_once()
1814 dprintf1("======================\n\n"); in run_tests_once()