Home
last modified time | relevance | path

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

1234567891011

/Linux-v5.4/tools/testing/selftests/powerpc/ptrace/
Dptrace.h66 perror("ptrace(PTRACE_ATTACH) failed"); in start_trace()
71 perror("waitpid() failed"); in start_trace()
83 perror("ptrace(PTRACE_DETACH) failed"); in stop_trace()
95 perror("ptrace(PTRACE_CONT) failed"); in cont_trace()
148 perror("malloc() failed"); in show_tar_registers()
156 perror("ptrace(PTRACE_GETREGSET) failed"); in show_tar_registers()
164 perror("ptrace(PTRACE_GETREGSET) failed"); in show_tar_registers()
172 perror("ptrace(PTRACE_GETREGSET) failed"); in show_tar_registers()
194 perror("malloc() failed"); in write_tar_registers()
204 perror("ptrace(PTRACE_SETREGSET) failed"); in write_tar_registers()
[all …]
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-v5.4/samples/seccomp/
Duser-trap.c54 perror("sendmsg"); in send_fd()
77 perror("recvmsg"); in recv_fd()
130 perror("open mem"); in handle_req()
156 perror("seek"); in handle_req()
162 perror("read"); in handle_req()
167 perror("seek"); in handle_req()
173 perror("read"); in handle_req()
185 perror("actual mount"); in handle_req()
207 perror("socketpair"); in main()
213 perror("fork"); in main()
[all …]
/Linux-v5.4/tools/testing/selftests/vm/
Dmlock2-tests.c34 perror("fopen"); in get_vm_area()
78 perror("fopen pagemap"); in get_pageflags()
85 perror("fseek pagemap"); in get_pageflags()
90 perror("fread pagemap"); in get_pageflags()
105 perror("fopen kpageflags"); in get_kpageflags()
110 perror("fseek kpageflags"); in get_kpageflags()
115 perror("fread kpageflags"); in get_kpageflags()
301 perror("test_mlock_locked mmap"); in test_mlock_lock()
310 perror("mlock2(0)"); in test_mlock_lock()
319 perror("munlock()"); in test_mlock_lock()
[all …]
Dcompaction_test.c35 perror("Failed to read meminfo\n"); in read_memory_info()
46 perror("Failed to read meminfo\n"); in read_memory_info()
64 perror("Failed to open\n" in prereq()
70 perror("Failed to read from\n" in prereq()
96 perror("Failed to open /proc/sys/vm/nr_hugepages"); in check_compaction()
101 perror("Failed to read from /proc/sys/vm/nr_hugepages"); in check_compaction()
107 perror("Failed to write 0 to /proc/sys/vm/nr_hugepages\n"); in check_compaction()
116 perror("Failed to write 100000 to /proc/sys/vm/nr_hugepages\n"); in check_compaction()
123 perror("Failed to re-read from /proc/sys/vm/nr_hugepages\n"); in check_compaction()
146 perror("Failed to write value to /proc/sys/vm/nr_hugepages\n"); in check_compaction()
[all …]
/Linux-v5.4/samples/hidraw/
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-v5.4/tools/testing/selftests/powerpc/benchmarks/
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-v5.4/tools/testing/selftests/ptp/
Dtestptp.c263 perror("PTP_CLOCK_GETCAPS"); in main()
288 perror("clock_adjtime"); in main()
300 perror("clock_adjtime"); in main()
308 perror("clock_gettime"); in main()
318 perror("clock_settime"); in main()
327 perror("clock_settime"); in main()
337 perror("clock_settime"); in main()
348 perror("PTP_EXTTS_REQUEST"); in main()
356 perror("read"); in main()
366 perror("PTP_EXTTS_REQUEST"); in main()
[all …]
/Linux-v5.4/arch/alpha/kernel/
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-v5.4/tools/testing/selftests/net/
Dtcp_mmap.c141 perror("malloc"); in child_thread()
233 perror("setsockopt SO_RCVBUF"); in apply_rcvsnd_buf()
238 perror("setsockopt SO_SNDBUF"); in apply_rcvsnd_buf()
275 perror("setsockopt SO_RCVLOWAT"); in do_accept()
288 perror("accept"); in do_accept()
295 perror("pthread_create"); in do_accept()
360 perror("socket"); in main()
371 perror("setsockopt TCP_MAXSEG"); in main()
375 perror("bind"); in main()
379 perror("listen"); in main()
[all …]
Dpsock_fanout.c68 perror("socket packet"); in sock_fanout_open()
78 perror("if_nametoindex"); in sock_fanout_open()
82 perror("bind packet"); in sock_fanout_open()
89 perror("close packet"); in sock_fanout_open()
111 perror("fanout data cbpf"); in sock_fanout_set_cbpf()
123 perror("failed to getsockopt"); in sock_fanout_getopts()
160 perror("bpf"); in sock_fanout_set_ebpf()
166 perror("fanout data ebpf"); in sock_fanout_set_ebpf()
171 perror("close ebpf"); in sock_fanout_set_ebpf()
189 perror("packetsock ring setsockopt version"); in sock_fanout_open_ring()
[all …]
Dreuseaddr_conflict.c52 perror("socket"); in open_port()
58 perror("setsockopt IPV6_V6ONLY"); in open_port()
64 perror("setsockopt SO_REUSEADDR"); in open_port()
69 perror("bind"); in open_port()
77 perror("listen"); in open_port()
/Linux-v5.4/arch/powerpc/boot/
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-v5.4/tools/testing/selftests/kcmp/
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()
93 perror("Can't open file"); in main()
/Linux-v5.4/arch/um/os-Linux/
Dmain.c31 perror("getrlimit"); in set_stklim()
37 perror("setrlimit"); in set_stklim()
87 perror("couldn't putenv"); in setup_env_path()
95 perror("couldn't malloc to set a new PATH"); in setup_env_path()
100 perror("couldn't putenv to set a new PATH"); in setup_env_path()
120 perror("Mallocing argv"); in main()
126 perror("Mallocing an arg"); in main()
179 perror("Failed to exec kernel"); in main()
/Linux-v5.4/tools/spi/
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()
/Linux-v5.4/tools/testing/selftests/powerpc/
Dutils.c36 perror("open"); in read_auxv()
42 perror("read"); in read_auxv()
97 perror("sched_getaffinity"); in pick_online_cpu()
123 perror("uname"); in is_ppc64le()
208 perror("perf_event_open() failed"); in perf_event_open_counter()
216 perror("error while enabling perf events"); in perf_event_enable()
226 perror("error disabling perf events"); in perf_event_disable()
236 perror("error resetting perf events"); in perf_event_reset()
270 perror("sigill_handler"); in set_dscr()
/Linux-v5.4/arch/alpha/boot/tools/
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()
/Linux-v5.4/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c178 perror("unable to read event from ep0"); in handle_ep0()
229 perror("malloc"); in main()
237 perror("unable to open ep0"); in main()
241 perror("unable do write descriptors"); in main()
245 perror("unable to write strings"); in main()
263 perror("unable to setup aio"); in main()
269 perror("unable to open eventfd"); in main()
289 perror("select"); in main()
305 perror("unable to read eventfd"); in main()
336 perror("unable to submit request"); in main()
[all …]
/Linux-v5.4/tools/testing/selftests/timers/
Dposix_timers.c107 perror("Can't call gettimeofday()\n"); in check_itimer()
113 perror("Can't set timer\n"); in check_itimer()
126 perror("Can't call gettimeofday()\n"); in check_itimer()
158 perror("Can't create timer\n"); in check_timer_create()
165 perror("Can't call gettimeofday()\n"); in check_timer_create()
171 perror("Can't set timer\n"); in check_timer_create()
179 perror("Can't call gettimeofday()\n"); in check_timer_create()
Drtcpie.c49 perror(rtc); in main()
61 perror("RTC_IRQP_READ ioctl"); in main()
80 perror("RTC_IRQP_SET ioctl"); in main()
90 perror("RTC_PIE_ON ioctl"); in main()
99 perror("read"); in main()
121 perror("RTC_PIE_OFF ioctl"); in main()
/Linux-v5.4/tools/testing/selftests/efivarfs/
Dopen-unlink.c91 perror("open(O_WRONLY)"); in main()
97 perror("write"); in main()
105 perror("ioctl(FS_IOC_GETFLAGS)"); in main()
110 perror("ioctl(FS_IOC_SETFLAGS)"); in main()
117 perror("open"); in main()
122 perror("unlink"); in main()
/Linux-v5.4/tools/testing/selftests/prctl/
Ddisable-tsc-test.c50 perror("prctl"); in sigsegv_cb()
56 perror("prctl"); in sigsegv_cb()
72 perror("prctl"); in main()
80 perror("prctl"); in main()
87 perror("prctl"); in main()
/Linux-v5.4/tools/laptop/freefall/
Dfreefall.c45 perror(unload_heads_path); in valid_disk()
59 perror("open"); in write_int()
66 perror("write"); in write_int()
127 perror("/dev/freefall"); in main()
135 perror("daemon"); in main()
158 perror("read"); in main()
/Linux-v5.4/tools/usb/ffs-aio-example/multibuff/device_app/
Daio_multibuff.c183 perror("unable to read event from ep0"); in handle_ep0()
258 perror("malloc"); in main()
266 perror("unable to open ep0"); in main()
270 perror("unable do write descriptors"); in main()
274 perror("unable to write strings"); in main()
280 perror("unable to open ep1"); in main()
289 perror("unable to setup aio"); in main()
295 perror("unable to open eventfd"); in main()
312 perror("select"); in main()
345 perror("unable to submit requests"); in main()
[all …]

1234567891011