/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | flow_dissector_reattach.c | 30 perror("bpf_prog_query"); in query_attached_prog_id() 52 perror("bpf_test_load_program"); in load_prog() 65 perror("bpf_prog_get_info_by_fd"); in query_prog_id() 78 perror("unshare(CLONE_NEWNET)"); in unshare_net() 83 perror("open(/proc/self/ns/net)"); in unshare_net() 96 perror("bpf_prog_attach(prog1)"); in test_prog_attach_prog_attach() 104 perror("bpf_prog_attach(prog2) #1"); in test_prog_attach_prog_attach() 112 perror("bpf_prog_attach(prog2) #2"); in test_prog_attach_prog_attach() 118 perror("bpf_prog_detach"); in test_prog_attach_prog_attach() 129 perror("bpf_link_create(prog1)"); in test_link_create_link_create() [all …]
|
/linux/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace.h | 70 perror("ptrace(PTRACE_ATTACH) failed"); in start_trace() 75 perror("waitpid() failed"); in start_trace() 87 perror("ptrace(PTRACE_DETACH) failed"); in stop_trace() 99 perror("ptrace(PTRACE_CONT) failed"); in cont_trace() 152 perror("malloc() failed"); in show_tar_registers() 160 perror("ptrace(PTRACE_GETREGSET) failed"); in show_tar_registers() 168 perror("ptrace(PTRACE_GETREGSET) failed"); in show_tar_registers() 176 perror("ptrace(PTRACE_GETREGSET) failed"); in show_tar_registers() 198 perror("malloc() failed"); in write_tar_registers() 208 perror("ptrace(PTRACE_SETREGSET) failed"); in write_tar_registers() [all …]
|
H A D | child.h | 66 perror("Semaphore initialization failed"); in init_child_sync() 72 perror("Semaphore initialization failed"); in init_child_sync() 92 perror("Error waiting for child"); in wait_child() 106 perror("Error prodding child"); in prod_child() 120 perror("Error waiting for parent"); in wait_parent() 134 perror("Error prodding parent"); in prod_parent()
|
/linux/tools/testing/selftests/mm/ |
H A D | hugetlb-madvise.c | 87 perror("memfd_create() failed"); in main() 102 perror("mmap"); in main() 108 perror("munmap"); in main() 144 perror("mmap"); in main() 164 perror("madvise"); in main() 182 perror("mmap"); in main() 189 perror("madvise"); in main() 202 perror("fallocate"); in main() 211 perror("mmap"); in main() 221 perror("madvise"); in main() [all …]
|
H A D | ksm_tests.c | 65 perror("fopen"); in ksm_write_sysfs() 69 perror("fprintf"); in ksm_write_sysfs() 84 perror("fopen"); in ksm_read_sysfs() 88 perror("fscanf"); in ksm_read_sysfs() 134 perror("fopen"); in ksm_print_procfs() 205 perror("mmap"); in allocate_memory() 210 perror("mprotect"); in allocate_memory() 231 perror("clock_gettime"); in ksm_do_scan() 248 perror("madvise"); in ksm_merge_pages() 253 perror("prctl"); in ksm_merge_pages() [all …]
|
H A D | hugetlb-read-hwpoison.c | 82 perror(PREFIX ERROR_PREFIX "seek failed"); in seek_read_hugepage_filemap() 92 perror(PREFIX ERROR_PREFIX "read failed"); in seek_read_hugepage_filemap() 123 perror(PREFIX ERROR_PREFIX "read failed"); in read_hugepage_filemap() 145 perror(PREFIX ERROR_PREFIX "ftruncate failed"); in test_hugetlb_read() 152 perror(PREFIX ERROR_PREFIX "mmap for primary mapping failed"); in test_hugetlb_read() 165 perror(PREFIX ERROR_PREFIX "ftruncate back to 0 failed"); in test_hugetlb_read() 182 perror(PREFIX ERROR_PREFIX "ftruncate failed"); in test_hugetlb_read_hwpoison() 189 perror(PREFIX ERROR_PREFIX "mmap for primary mapping failed"); in test_hugetlb_read_hwpoison() 204 perror(PREFIX ERROR_PREFIX "MADV_HWPOISON failed"); in test_hugetlb_read_hwpoison() 231 perror(PREFIX ERROR_PREFIX "ftruncate back to 0 failed"); in test_hugetlb_read_hwpoison() [all …]
|
/linux/samples/seccomp/ |
H A D | user-trap.c | 56 perror("sendmsg"); in send_fd() 80 perror("recvmsg"); in recv_fd() 134 perror("open mem"); in handle_req() 160 perror("seek"); in handle_req() 166 perror("read"); in handle_req() 171 perror("seek"); in handle_req() 177 perror("read"); in handle_req() 189 perror("actual mount"); in handle_req() 211 perror("socketpair"); in main() 217 perror("fork"); in main() [all …]
|
/linux/tools/testing/vsock/ |
H A D | vsock_test.c | 126 perror("bind"); in test_stream_bind_only_server() 145 perror("connect"); in test_stream_client_close_client() 159 perror("accept"); in test_stream_client_close_server() 180 perror("connect"); in test_stream_server_close_client() 201 perror("accept"); in test_stream_server_close_server() 222 perror("connect"); in test_stream_multiconn_client() 246 perror("accept"); in test_stream_multiconn_server() 277 perror("connect"); in test_msg_peek_client() 305 perror("accept"); in test_msg_peek_server() 370 perror("connect"); in test_seqpacket_msg_bounds_client() [all …]
|
H A D | util.c | 70 perror("epoll_create1"); in vsock_wait_remote_close() 77 perror("epoll_ctl"); in vsock_wait_remote_close() 83 perror("epoll_wait"); in vsock_wait_remote_close() 117 perror("socket"); in vsock_bind_connect() 122 perror("bind"); in vsock_bind_connect() 134 perror("connect"); in vsock_bind_connect() 161 perror("socket"); in vsock_connect() 209 perror("socket"); in vsock_listen() 214 perror("bind"); in vsock_listen() 219 perror("listen"); in vsock_listen() [all …]
|
/linux/tools/testing/selftests/ptp/ |
H A D | testptp.c | 308 perror("PTP_CLOCK_GETCAPS"); in main() 337 perror("clock_adjtime"); in main() 354 perror("clock_adjtime"); in main() 366 perror("clock_adjtime"); in main() 374 perror("clock_gettime"); in main() 384 perror("clock_settime"); in main() 393 perror("clock_settime"); in main() 403 perror("clock_settime"); in main() 415 perror("PTP_PIN_SETFUNC"); in main() 426 perror("PTP_EXTTS_REQUEST"); in main() [all …]
|
/linux/Documentation/translations/zh_CN/dev-tools/ |
H A D | kcov.rst | 81 perror("open"), exit(1); 84 perror("ioctl"), exit(1); 89 perror("mmap"), exit(1); 92 perror("ioctl"), exit(1); 105 perror("ioctl"), exit(1); 108 perror("munmap"), exit(1); 110 perror("close"), exit(1); 170 perror("open"), exit(1); 172 perror("ioctl"), exit(1); 180 perror("mmap"), exit(1); [all …]
|
/linux/samples/hidraw/ |
H A D | hid-example.c | 60 perror("Unable to open device"); in main() 71 perror("HIDIOCGRDESCSIZE"); in main() 79 perror("HIDIOCGRDESC"); in main() 90 perror("HIDIOCGRAWNAME"); in main() 97 perror("HIDIOCGRAWPHYS"); in main() 104 perror("HIDIOCGRAWINFO"); in main() 120 perror("HIDIOCSFEATURE"); in main() 128 perror("HIDIOCGFEATURE"); in main() 143 perror("write"); in main() 151 perror("read"); in main()
|
/linux/tools/testing/selftests/powerpc/benchmarks/ |
H A D | fork.c | 41 perror("sched_setaffinity"); in set_cpu() 52 perror("fork"); in start_process_on() 80 perror("execve"); in run_exec() 90 perror("fork"); in bench_fork() 100 perror("waitpid"); in bench_fork() 112 perror("fork"); in bench_vfork() 122 perror("waitpid"); in bench_vfork() 144 perror("pthread_attr_init"); in bench_thread() 155 perror("pthread_attr_setaffinity_np"); in bench_thread() 164 perror("pthread_create"); in bench_thread() [all …]
|
/linux/tools/testing/selftests/powerpc/security/ |
H A D | uaccess_flush.c | 40 perror("Unable to read powerpc/rfi_flush debugfs file"); in uaccess_flush_test() 45 perror("Unable to read powerpc/entry_flush debugfs file"); in uaccess_flush_test() 50 perror("Unable to read powerpc/entry_flush debugfs file"); in uaccess_flush_test() 56 perror("error writing to powerpc/rfi_flush debugfs file"); in uaccess_flush_test() 63 perror("error writing to powerpc/entry_flush debugfs file"); in uaccess_flush_test() 123 perror("error writing to powerpc/uaccess_flush debugfs file"); in uaccess_flush_test() 138 perror("unable to restore original value of powerpc/rfi_flush debugfs file"); in uaccess_flush_test() 143 perror("unable to restore original value of powerpc/entry_flush debugfs file"); in uaccess_flush_test() 148 perror("unable to restore original value of powerpc/uaccess_flush debugfs file"); in uaccess_flush_test()
|
/linux/arch/alpha/kernel/ |
H A D | err_titan.c | 141 titan_parse_p_perror(int which, int port, u64 perror, int print) in titan_parse_p_perror() argument 189 if (!(perror & TITAN__PCHIP_PERROR__ERRMASK)) in titan_parse_p_perror() 192 cmd = EXTRACT(perror, TITAN__PCHIP_PERROR__CMD); in titan_parse_p_perror() 193 addr = EXTRACT(perror, TITAN__PCHIP_PERROR__ADDR) << 2; in titan_parse_p_perror() 220 if (((perror & TITAN__PCHIP_PERROR__NDS) || in titan_parse_p_perror() 221 ((perror & TITAN__PCHIP_PERROR__ERRMASK) == in titan_parse_p_perror() 234 port ? 'A' : 'G', perror); in titan_parse_p_perror() 235 if (perror & TITAN__PCHIP_PERROR__IPTPW) in titan_parse_p_perror() 237 if (perror & TITAN__PCHIP_PERROR__IPTPR) in titan_parse_p_perror() 239 if (perror & TITAN__PCHIP_PERROR__NDS) in titan_parse_p_perror() [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | tcp_mmap.c | 193 perror("mmap"); in child_thread() 199 perror("mmap"); in child_thread() 208 perror("cannot enable SHA computing"); in child_thread() 285 perror("Error: Cannot read SHA256\n"); in child_thread() 327 perror("setsockopt SO_RCVBUF"); in apply_rcvsnd_buf() 332 perror("setsockopt SO_SNDBUF"); in apply_rcvsnd_buf() 376 perror("setsockopt SO_RCVLOWAT"); in do_accept() 389 perror("accept"); in do_accept() 396 perror("pthread_create"); in do_accept() 433 perror("open /dev/urandom"); in randomize() [all …]
|
/linux/tools/testing/selftests/thermal/intel/workload_hint/ |
H A D | workload_hint_test.c | 35 perror("Unable to open workload type feature enable file\n"); in workload_hint_exit() 40 perror("Can' disable workload hints\n"); in workload_hint_exit() 75 perror("Unable to open workload notification delay\n"); in main() 80 perror("Can't set delay\n"); in main() 97 perror("Unable to open workload type feature enable file\n"); in main() 102 perror("Can' enable workload hints\n"); in main() 113 perror("Unable to open workload type file\n"); in main() 133 perror("poll error"); in main()
|
/linux/tools/testing/selftests/powerpc/signal/ |
H A D | sig_sc_double_restart.c | 88 perror("pipe"); in test_restart() 94 perror("fork"); in test_restart() 107 perror("sigaction"); in test_restart() 115 perror("sigaction"); in test_restart() 122 perror("dup"); in test_restart() 132 perror("read"); in test_restart() 150 perror("write"); in test_restart() 156 perror("wait"); in test_restart()
|
/linux/arch/powerpc/boot/ |
H A D | mktree.c | 56 perror("stat"); in main() 83 perror("zImage open"); in main() 88 perror("bootfile open"); in main() 120 perror("boot-image write"); in main() 126 perror("zImage read"); in main() 133 perror("boot-image write"); in main() 142 perror("rewrite seek"); in main() 146 perror("boot-image rewrite"); in main()
|
/linux/tools/power/acpi/tools/pfrut/ |
H A D | pfrut.c | 173 perror("Can not allocate uuid buffer\n"); in print_cap() 231 perror("Query Update Capability info failed."); in main() 244 perror("Get telemetry data info failed."); in main() 253 perror("Get telemetry info failed."); in main() 305 perror("Log information set failed.(log_level, log_type, log_revid)"); in main() 315 perror("pfru update revid set failed"); in main() 328 perror("Can not open capsule file..."); in main() 336 perror("Can not fstat capsule file..."); in main() 347 perror("Failed to mmap capsule file."); in main() 360 perror("Failed to load capsule file"); in main() [all …]
|
/linux/tools/testing/selftests/kcmp/ |
H A D | kcmp_test.c | 46 perror("Can't create file"); in main() 51 perror("Can't create pipe"); in main() 57 perror("epoll_create1 failed"); in main() 65 perror("epoll_ctl failed"); in main() 71 perror("dup2 failed"); in main() 76 perror("epoll_ctl failed"); in main() 83 perror("fork failed"); in main() 96 perror("Can't open file"); in main()
|
/linux/samples/pfsm/ |
H A D | pfsm-wakeup.c | 40 perror("Failed to open RTC device."); in main() 47 perror("Failed to open PFSM device."); in main() 55 perror("Failed to read RTC date/time."); in main() 76 perror("Failed to set RTC alarm."); in main() 83 perror("Failed to enable alarm interrupts."); in main() 98 perror("Failed to set RETENTION state."); in main() 106 perror("Failed to get RTC alarm."); in main()
|
/linux/tools/testing/selftests/powerpc/tm/ |
H A D | tm-signal-pagefault.c | 97 perror("poll() failed"); in fault_handler_thread() 108 perror("read() failed"); in fault_handler_thread() 131 perror("ioctl-UFFDIO_COPY failed"); in fault_handler_thread() 150 perror("userfaultfd() failed"); in setup_uf_mem() 156 perror("ioctl-UFFDIO_API failed"); in setup_uf_mem() 168 perror("mmap() failed"); in setup_uf_mem() 181 perror("ioctl-UFFDIO_REGISTER"); in setup_uf_mem() 243 perror("sigaltstack() failed"); in tm_signal_pagefault() 250 perror("sigaction() failed"); in tm_signal_pagefault()
|
/linux/tools/testing/selftests/perf_events/ |
H A D | watermark_signal.c | 71 perror("fork()"); in TEST() 92 perror("F_SETFL FASYNC"); in TEST() 97 perror("F_SETOWN getpid()"); in TEST() 102 perror("F_SETSIG SIGIO"); in TEST() 108 perror("mmap"); in TEST() 113 perror("PERF_EVENT_IOC_ENABLE"); in TEST() 118 perror("SIGCONT"); in TEST()
|
/linux/tools/spi/ |
H A D | spidev_fdx.c | 32 perror("read"); in do_read() 70 perror("SPI_IOC_MESSAGE"); in do_msg() 86 perror("SPI rd_mode"); in dumpstat() 90 perror("SPI rd_lsb_fist"); in dumpstat() 94 perror("SPI bits_per_word"); in dumpstat() 98 perror("SPI max_speed_hz"); in dumpstat() 145 perror("open"); in main()
|