Home
last modified time | relevance | path

Searched refs:perror (Results 1 – 25 of 324) 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 …]
H A Dchild.h66 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/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.c
H A Dmremap_test.c330 perror("mmap");
347 perror("mremap"); in mremap_move_within_range()
368 perror("munmap"); in mremap_move_within_range()
418 perror("mmap"); in is_multiple_vma_range_ok()
426 perror("mmap"); in mremap_move_multiple_vmas()
431 perror("munmap"); in mremap_move_multiple_vmas()
449 perror("munmap"); in mremap_move_multiple_vmas()
469 perror("mremap"); in mremap_move_multiple_vmas()
482 perror("mremap"); in mremap_move_multiple_vmas()
495 perror("mma in mremap_move_multiple_vmas()
[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/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()
357 perror("accept"); in test_seqpacket_msg_bounds_client()
396 perror("connec in test_seqpacket_msg_bounds_client()
[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/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/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/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/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.c39 perror("Unable to open workload type feature enable file"); in workload_hint_exit()
44 perror("Can't disable workload hints"); in workload_hint_exit()
61 perror("Unable to open workload notification delay"); in main()
66 perror("Can't set delay"); in main()
118 perror("Unable to open workload type feature enable file"); in main()
123 perror("Can't enable workload hints"); in main()
134 perror("Unable to open workload type file"); in main()
154 perror("poll error"); in main()
/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/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/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/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/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/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/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/tools/testing/selftests/thermal/intel/power_floor/
H A Dpower_floor_test.c24 perror("Unable to open power floor enable file\n"); in power_floor_exit()
29 perror("Can' disable power floor notifications\n"); in power_floor_exit()
54 perror("Unable to open power floor enable file\n"); in main()
59 perror("Can't enable power floor notifications\n"); in main()
70 perror("Unable to power floor status file\n"); in main()
90 perror("poll error"); in main()
/linux/tools/testing/selftests/drivers/net/
H A Dnapi_id_helper.c45 perror("socket creation failed"); in main()
53 perror("setsockopt"); in main()
62 perror("bind failed"); in main()
67 perror("listen"); in main()
75 perror("accept"); in main()
83 perror("getsockopt"); in main()
/linux/tools/spi/
H A Dspidev_fdx.c32 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()

12345678910>>...13