Home
last modified time | relevance | path

Searched refs:perror (Results 1 – 25 of 322) sorted by relevance

12345678910>>...13

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dflow_dissector_reattach.c30 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 Dptrace.h70 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 …]
/linux/samples/seccomp/
H A Duser-trap.c56 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/selftests/mm/
H A Dhugetlb-madvise.c86 perror("memfd_create() failed"); in main()
101 perror("mmap"); in main()
107 perror("munmap"); in main()
143 perror("mmap"); in main()
163 perror("madvise"); in main()
181 perror("mmap"); in main()
188 perror("madvise"); in main()
201 perror("fallocate"); in main()
210 perror("mmap"); in main()
220 perror("madvise"); in main()
[all …]
H A Dmremap_test.c351 perror("mmap"); in mremap_move_within_range()
368 perror("mremap"); in mremap_move_within_range()
389 perror("munmap"); in mremap_move_within_range()
439 perror("mmap"); in mremap_move_multiple_vmas()
447 perror("mmap"); in mremap_move_multiple_vmas()
452 perror("munmap"); in mremap_move_multiple_vmas()
470 perror("munmap"); in mremap_move_multiple_vmas()
490 perror("mremap"); in mremap_move_multiple_vmas()
503 perror("mremap"); in mremap_move_multiple_vmas()
516 perror("mmap tgt"); in mremap_move_multiple_vmas()
[all …]
H A Dhugetlb-read-hwpoison.c82 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 …]
H A Dksm_tests.c107 perror("fopen"); in ksm_print_procfs()
178 perror("mmap"); in allocate_memory()
183 perror("mprotect"); in allocate_memory()
204 perror("clock_gettime"); in ksm_do_scan()
221 perror("madvise"); in ksm_merge_pages()
226 perror("prctl"); in ksm_merge_pages()
245 perror("madvise"); in ksm_unmerge_pages()
327 perror("clock_gettime"); in check_ksm_merge()
361 perror("clock_gettime"); in check_ksm_unmerge()
401 perror("clock_gettime"); in check_ksm_zero_page_merge()
[all …]
/linux/tools/testing/vsock/
H A Dvsock_test.c137 perror("connect"); in test_stream_client_close_client()
151 perror("accept"); in test_stream_client_close_server()
172 perror("connect"); in test_stream_server_close_client()
193 perror("accept"); in test_stream_server_close_server()
214 perror("connect"); in test_stream_multiconn_client()
238 perror("accept"); in test_stream_multiconn_server()
269 perror("connect"); in test_msg_peek_client()
297 perror("accept"); in test_msg_peek_server()
362 perror("connect"); in test_seqpacket_msg_bounds_client()
389 perror("mallo in test_seqpacket_msg_bounds_client()
[all...]
/linux/Documentation/translations/zh_CN/dev-tools/
H A Dkcov.rst81 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/tools/testing/selftests/ptp/
H A Dtestptp.c337 perror("PTP_CLOCK_GETCAPS"); in main()
366 perror("clock_adjtime"); in main()
383 perror("clock_adjtime"); in main()
395 perror("clock_adjtime"); in main()
403 perror("clock_gettime"); in main()
413 perror("clock_settime"); in main()
422 perror("clock_settime"); in main()
432 perror("clock_settime"); in main()
444 perror("PTP_PIN_SETFUNC"); in main()
456 perror("PTP_EXTTS_REQUEST"); in main()
[all …]
/linux/samples/hidraw/
H A Dhid-example.c60 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 Dfork.c41 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/landlock/
H A Dsandbox-and-launch.c42 perror("Failed to create ruleset"); in main()
47 perror("Failed to call prctl()"); in main()
52 perror("Failed to restrict self"); in main()
57 perror("Failed to close ruleset"); in main()
64 perror("Failed to write to the second argument"); in main()
70 perror("Failed to write to the third argument"); in main()
80 perror("Failed to execute the provided binary"); in main()
/linux/tools/testing/selftests/powerpc/security/
H A Duaccess_flush.c40 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 Derr_titan.c141 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 Dtcp_mmap.c193 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/powerpc/signal/
H A Dsig_sc_double_restart.c88 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/tools/testing/selftests/thermal/intel/workload_hint/
H A Dworkload_hint_test.c35 perror("Unable to open workload type feature enable file"); in workload_hint_exit()
40 perror("Can't disable workload hints"); in workload_hint_exit()
73 perror("Unable to open workload notification delay"); in main()
78 perror("Can't set delay"); in main()
95 perror("Unable to open workload type feature enable file"); in main()
100 perror("Can't enable workload hints"); in main()
111 perror("Unable to open workload type file"); in main()
131 perror("poll error"); in main()
/linux/arch/powerpc/boot/
H A Dmktree.c56 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 Dpfrut.c173 perror("Can not allocate uuid buffer\n"); in print_cap()
232 perror("Query Update Capability info failed."); in main()
245 perror("Get telemetry data info failed."); in main()
254 perror("Get telemetry info failed."); in main()
307 perror("Log information set failed.(log_level, log_type, log_revid)"); in main()
317 perror("pfru update revid set failed"); in main()
330 perror("Can not open capsule file..."); in main()
338 perror("Can not fstat capsule file..."); in main()
349 perror("Failed to mmap capsule file."); in main()
362 perror("Faile in main()
[all...]
/linux/arch/um/os-Linux/
H A Dmain.c29 perror("getrlimit"); in set_stklim()
35 perror("setrlimit"); in set_stklim()
85 perror("couldn't putenv"); in setup_env_path()
93 perror("couldn't malloc to set a new PATH"); in setup_env_path()
98 perror("couldn't putenv to set a new PATH"); in setup_env_path()
117 perror("readlink failure"); in main()
131 perror("Mallocing argv"); in main()
137 perror("Mallocing an arg"); in main()
188 perror("Failed to exec kernel"); in main()
/linux/tools/testing/selftests/kcmp/
H A Dkcmp_test.c46 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 Dpfsm-wakeup.c40 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 Dtm-signal-pagefault.c97 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/arch/alpha/boot/tools/
H A Dobjstrip.c93 perror("open"); in main()
101 perror("open"); in main()
119 perror("fstat"); in main()
134 perror("boot-block write"); in main()
144 perror("read"); in main()
172 perror("read"); in main()
229 perror("lseek"); in main()
246 perror("read"); in main()
252 perror("write"); in main()
277 perror("write"); in main()

12345678910>>...13