Home
last modified time | relevance | path

Searched refs:EXIT_FAILURE (Results 1 – 25 of 152) sorted by relevance

1234567

/linux-6.6.21/tools/testing/vsock/
Dvsock_test.c53 exit(EXIT_FAILURE); in test_stream_connection_reset()
57 exit(EXIT_FAILURE); in test_stream_connection_reset()
92 exit(EXIT_FAILURE); in test_stream_bind_only_client()
96 exit(EXIT_FAILURE); in test_stream_bind_only_client()
123 exit(EXIT_FAILURE); in test_stream_bind_only_server()
142 exit(EXIT_FAILURE); in test_stream_client_close_client()
156 exit(EXIT_FAILURE); in test_stream_client_close_server()
177 exit(EXIT_FAILURE); in test_stream_server_close_client()
198 exit(EXIT_FAILURE); in test_stream_server_close_server()
219 exit(EXIT_FAILURE); in test_stream_multiconn_client()
[all …]
Dutil.c44 exit(EXIT_FAILURE); in parse_cid()
58 exit(EXIT_FAILURE); in vsock_wait_remote_close()
65 exit(EXIT_FAILURE); in vsock_wait_remote_close()
71 exit(EXIT_FAILURE); in vsock_wait_remote_close()
76 exit(EXIT_FAILURE); in vsock_wait_remote_close()
162 exit(EXIT_FAILURE); in vsock_accept()
167 exit(EXIT_FAILURE); in vsock_accept()
189 exit(EXIT_FAILURE); in vsock_accept()
194 exit(EXIT_FAILURE); in vsock_accept()
237 exit(EXIT_FAILURE); in send_byte()
[all …]
Dcontrol.c48 exit(EXIT_FAILURE); in control_init()
71 exit(EXIT_FAILURE); in control_init()
88 exit(EXIT_FAILURE); in control_init()
100 exit(EXIT_FAILURE); in control_init()
128 exit(EXIT_FAILURE); in control_writeln()
138 exit(EXIT_FAILURE); in control_writeln()
150 exit(EXIT_FAILURE); in control_writeulong()
164 exit(EXIT_FAILURE); in control_readulong()
195 exit(EXIT_FAILURE); in control_readln()
209 exit(EXIT_FAILURE); in control_readln()
[all …]
Dvsock_diag_test.c119 exit(EXIT_FAILURE); in find_vsock_stat()
127 exit(EXIT_FAILURE); in find_vsock_stat()
151 exit(EXIT_FAILURE); in check_num_sockets()
160 exit(EXIT_FAILURE); in check_socket_state()
200 exit(EXIT_FAILURE); in send_req()
230 exit(EXIT_FAILURE); in recv_resp()
244 exit(EXIT_FAILURE); in add_vsock_stat()
262 exit(EXIT_FAILURE); in read_vsock_stat()
276 exit(EXIT_FAILURE); in read_vsock_stat()
295 exit(EXIT_FAILURE); in read_vsock_stat()
[all …]
/linux-6.6.21/tools/power/acpi/tools/ec/
Dec_access.c62 usage(argv[0], EXIT_FAILURE); in parse_opts()
67 usage(argv[0], EXIT_FAILURE); in parse_opts()
72 usage(argv[0], EXIT_FAILURE); in parse_opts()
78 usage(argv[0], EXIT_FAILURE); in parse_opts()
84 usage(argv[0], EXIT_FAILURE); in parse_opts()
95 usage(argv[0], EXIT_FAILURE); in parse_opts()
104 usage(argv[0], EXIT_FAILURE); in parse_opts()
110 usage(argv[0], EXIT_FAILURE); in parse_opts()
119 usage(argv[0], EXIT_FAILURE); in parse_opts()
134 err(EXIT_FAILURE, "Could not read from %s\n", SYSFS_PATH); in dump_ec()
[all …]
/linux-6.6.21/tools/testing/selftests/mm/
Dsplit_huge_page_test.c82 exit(EXIT_FAILURE); in write_debugfs()
87 exit(EXIT_FAILURE); in write_debugfs()
101 exit(EXIT_FAILURE); in split_pmd_thp()
111 exit(EXIT_FAILURE); in split_pmd_thp()
121 exit(EXIT_FAILURE); in split_pmd_thp()
127 exit(EXIT_FAILURE); in split_pmd_thp()
148 exit(EXIT_FAILURE); in split_pte_mapped_thp()
154 exit(EXIT_FAILURE); in split_pte_mapped_thp()
161 exit(EXIT_FAILURE); in split_pte_mapped_thp()
174 exit(EXIT_FAILURE); in split_pte_mapped_thp()
[all …]
Dkhugepaged.c193 exit(EXIT_FAILURE); in write_file()
201 exit(EXIT_FAILURE); in write_file()
218 exit(EXIT_FAILURE); in read_string()
223 exit(EXIT_FAILURE); in read_string()
229 exit(EXIT_FAILURE); in read_string()
238 exit(EXIT_FAILURE); in read_string()
250 exit(EXIT_FAILURE); in read_string()
261 exit(EXIT_FAILURE); in write_string()
266 exit(EXIT_FAILURE); in write_string()
276 exit(EXIT_FAILURE); in _read_num()
[all …]
/linux-6.6.21/tools/testing/selftests/powerpc/signal/
Dsig_sc_double_restart.c89 exit(EXIT_FAILURE); in test_restart()
95 exit(EXIT_FAILURE); in test_restart()
108 exit(EXIT_FAILURE); in test_restart()
116 exit(EXIT_FAILURE); in test_restart()
123 exit(EXIT_FAILURE); in test_restart()
130 _exit(EXIT_FAILURE); in test_restart()
133 exit(EXIT_FAILURE); in test_restart()
138 exit(EXIT_FAILURE); in test_restart()
151 exit(EXIT_FAILURE); in test_restart()
157 exit(EXIT_FAILURE); in test_restart()
[all …]
/linux-6.6.21/tools/testing/selftests/powerpc/tm/
Dtm-signal-pagefault.c66 exit(EXIT_FAILURE); in get_uf_mem()
98 exit(EXIT_FAILURE); in fault_handler_thread()
104 exit(EXIT_FAILURE); in fault_handler_thread()
109 exit(EXIT_FAILURE); in fault_handler_thread()
115 exit(EXIT_FAILURE); in fault_handler_thread()
132 exit(EXIT_FAILURE); in fault_handler_thread()
151 exit(EXIT_FAILURE); in setup_uf_mem()
157 exit(EXIT_FAILURE); in setup_uf_mem()
169 exit(EXIT_FAILURE); in setup_uf_mem()
182 exit(EXIT_FAILURE); in setup_uf_mem()
[all …]
/linux-6.6.21/tools/testing/selftests/efivarfs/
Dopen-unlink.c76 return EXIT_FAILURE; in main()
92 return EXIT_FAILURE; in main()
98 return EXIT_FAILURE; in main()
106 return EXIT_FAILURE; in main()
111 return EXIT_FAILURE; in main()
118 return EXIT_FAILURE; in main()
123 return EXIT_FAILURE; in main()
130 return EXIT_FAILURE; in main()
/linux-6.6.21/tools/perf/bench/
Dsched-messaging.c68 err(EXIT_FAILURE, use_pipes ? "pipe()" : "socketpair()"); in fdpair()
78 err(EXIT_FAILURE, "CLIENT: ready write"); in ready()
82 err(EXIT_FAILURE, "poll"); in ready()
103 err(EXIT_FAILURE, "SENDER: write"); in sender()
133 err(EXIT_FAILURE, "SERVER: read"); in receiver()
153 err(EXIT_FAILURE, "fork()"); in create_worker()
167 err(EXIT_FAILURE, "pthread_attr_init:"); in create_worker()
171 err(EXIT_FAILURE, "pthread_attr_setstacksize"); in create_worker()
176 err(EXIT_FAILURE, "pthread_create failed"); in create_worker()
208 err(EXIT_FAILURE, "malloc()"); in group()
[all …]
Dbreakpoint.c93 exit((perror("calloc"), EXIT_FAILURE)); in breakpoint_thread()
99 exit((perror("pthread_create"), EXIT_FAILURE)); in breakpoint_thread()
122 exit(EXIT_FAILURE); in bench_breakpoint_thread()
127 exit((perror("calloc"), EXIT_FAILURE)); in bench_breakpoint_thread()
137 exit((perror("perf_event_open"), EXIT_FAILURE)); in bench_breakpoint_thread()
143 exit((perror("pthread_create"), EXIT_FAILURE)); in bench_breakpoint_thread()
171 exit(EXIT_FAILURE); in bench_breakpoint_thread()
208 exit(EXIT_FAILURE); in bench_breakpoint_enable()
217 exit((perror("perf_event_open"), EXIT_FAILURE)); in bench_breakpoint_enable()
222 exit((perror("calloc"), EXIT_FAILURE)); in bench_breakpoint_enable()
[all …]
Dsched-seccomp-notify.c77 err(EXIT_FAILURE, "SECCOMP_IOCTL_NOTIF_RECV failed"); in user_notification_sync_loop()
80 errx(EXIT_FAILURE, "unexpected syscall: %d", req.data.nr); in user_notification_sync_loop()
87 err(EXIT_FAILURE, "SECCOMP_IOCTL_NOTIF_SEND failed"); in user_notification_sync_loop()
111 err(EXIT_FAILURE, "can't create a notification descriptor"); in bench_sched_seccomp_notify()
115 err(EXIT_FAILURE, "fork"); in bench_sched_seccomp_notify()
118 err(EXIT_FAILURE, "can't set the parent death signal"); in bench_sched_seccomp_notify()
131 err(EXIT_FAILURE, in bench_sched_seccomp_notify()
138 err(EXIT_FAILURE, "waitpid(%d) failed", pid); in bench_sched_seccomp_notify()
140 errx(EXIT_FAILURE, "unexpected exit code: %d", status); in bench_sched_seccomp_notify()
Depoll-wait.c168 err(EXIT_FAILURE, "calloc"); in shuffle()
211 err(EXIT_FAILURE, "epoll_wait"); in workerfn()
251 err(EXIT_FAILURE, "calloc"); in nest_epollfd()
256 err(EXIT_FAILURE, "epoll_create"); in nest_epollfd()
265 err(EXIT_FAILURE, "epoll_ctl"); in nest_epollfd()
269 err(EXIT_FAILURE, "epoll_ctl"); in nest_epollfd()
323 err(EXIT_FAILURE, "epoll_create"); in do_threads()
340 err(EXIT_FAILURE, "eventfd"); in do_threads()
348 err(EXIT_FAILURE, "epoll_ctl"); in do_threads()
359 err(EXIT_FAILURE, "pthread_attr_setaffinity_np"); in do_threads()
[all …]
Depoll-ctl.c111 err(EXIT_FAILURE, "calloc"); in nest_epollfd()
116 err(EXIT_FAILURE, "epoll_create"); in nest_epollfd()
125 err(EXIT_FAILURE, "epoll_ctl"); in nest_epollfd()
129 err(EXIT_FAILURE, "epoll_ctl"); in nest_epollfd()
219 err(EXIT_FAILURE, "epoll_ct"); in init_fdmaps()
251 err(EXIT_FAILURE, "eventfd"); in do_threads()
270 err(EXIT_FAILURE, "pthread_attr_setaffinity_np"); in do_threads()
280 err(EXIT_FAILURE, "pthread_create"); in do_threads()
325 exit(EXIT_FAILURE); in bench_epoll_ctl()
340 err(EXIT_FAILURE, "epoll_create"); in bench_epoll_ctl()
[all …]
/linux-6.6.21/samples/binderfs/
Dbinderfs_example.c27 exit(EXIT_FAILURE); in main()
34 exit(EXIT_FAILURE); in main()
41 exit(EXIT_FAILURE); in main()
48 exit(EXIT_FAILURE); in main()
57 exit(EXIT_FAILURE); in main()
67 exit(EXIT_FAILURE); in main()
77 exit(EXIT_FAILURE); in main()
/linux-6.6.21/tools/testing/selftests/sigaltstack/
Dsas.c64 exit(EXIT_FAILURE); in my_usr1()
76 exit(EXIT_FAILURE); in my_usr1()
129 return EXIT_FAILURE; in main()
135 exit(EXIT_FAILURE); in main()
143 return EXIT_FAILURE; in main()
165 return EXIT_FAILURE; in main()
173 return EXIT_FAILURE; in main()
185 exit(EXIT_FAILURE); in main()
190 exit(EXIT_FAILURE); in main()
/linux-6.6.21/tools/testing/selftests/rlimits/
Drlimits-per-userns.c41 err(EXIT_FAILURE, "(pid=%d): setrlimit(RLIMIT_NPROC)", pid); in setrlimit_nproc()
49 err(EXIT_FAILURE, "fork"); in fork_child()
59 err(EXIT_FAILURE, "(pid=%d): prctl(PR_SET_PDEATHSIG)", pid); in fork_child()
66 err(EXIT_FAILURE, "(pid=%d): setgid(%d)", pid, group); in fork_child()
68 err(EXIT_FAILURE, "(pid=%d): setuid(%d)", pid, user); in fork_child()
74 err(EXIT_FAILURE, "unshare(CLONE_NEWUSER)"); in fork_child()
82 err(EXIT_FAILURE, "(pid=%d): execve", pid); in fork_child()
156 exit(EXIT_FAILURE); in main()
/linux-6.6.21/tools/tracing/latency/
Dlatency-collector.c245 cleanup_exit(EXIT_FAILURE); in malloc_or_die()
269 cleanup_exit(EXIT_FAILURE); in write_or_die()
282 err(EXIT_FAILURE, "clock_gettime() failed"); in clock_gettime_or_die()
289 cleanup_exit(EXIT_FAILURE); in sigemptyset_or_die()
297 cleanup_exit(EXIT_FAILURE); in sigaddset_or_die()
307 cleanup_exit(EXIT_FAILURE); in sigaction_or_die()
314 err(EXIT_FAILURE, "setvbuf() failed"); in open_stdout()
317 err(EXIT_FAILURE, "fileno() failed"); in open_stdout()
328 err(EXIT_FAILURE, "pthread_mutex_lock() failed"); in mutex_lock()
336 err(EXIT_FAILURE, "pthread_mutex_unlock() failed"); in mutex_unlock()
[all …]
/linux-6.6.21/tools/gpio/
Dgpio-watch.c38 return EXIT_FAILURE; in main()
51 return EXIT_FAILURE; in main()
62 return EXIT_FAILURE; in main()
71 return EXIT_FAILURE; in main()
87 return EXIT_FAILURE; in main()
99 return EXIT_FAILURE; in main()
/linux-6.6.21/tools/testing/selftests/splice/
Dsplice_read.c20 return EXIT_FAILURE; in main()
26 return EXIT_FAILURE; in main()
36 return EXIT_FAILURE; in main()
41 return EXIT_FAILURE; in main()
52 return EXIT_FAILURE; in main()
/linux-6.6.21/tools/testing/selftests/proc/
Dproc-empty-vm.c124 _exit(EXIT_FAILURE); in sigaction_SIGSEGV()
188 return EXIT_FAILURE; in test_proc_pid_maps()
217 return EXIT_FAILURE; in test_proc_pid_numa_maps()
240 return EXIT_FAILURE; in test_proc_pid_smaps()
296 return EXIT_FAILURE; in test_proc_pid_smaps_rollup()
334 return EXIT_FAILURE; in main()
343 return EXIT_FAILURE; in main()
346 return EXIT_FAILURE; in main()
370 return EXIT_FAILURE; in main()
/linux-6.6.21/tools/testing/selftests/cgroup/
Dtest_cpuset.c20 return EXIT_FAILURE; in do_migration_fn()
25 return EXIT_FAILURE; in do_migration_fn()
36 return EXIT_FAILURE; in do_controller_fn()
39 return EXIT_FAILURE; in do_controller_fn()
42 return EXIT_FAILURE; in do_controller_fn()
45 return EXIT_FAILURE; in do_controller_fn()
48 return EXIT_FAILURE; in do_controller_fn()
51 return EXIT_FAILURE; in do_controller_fn()
268 ret = EXIT_FAILURE; in main()
/linux-6.6.21/tools/power/cpupower/utils/
Dcpupower.c110 return EXIT_FAILURE; in cmd_help()
138 exit(EXIT_FAILURE); in handle_options()
148 exit(EXIT_FAILURE); in handle_options()
168 exit(EXIT_FAILURE); in handle_options()
196 return EXIT_FAILURE; in main()
211 return EXIT_FAILURE; in main()
233 return EXIT_FAILURE; in main()
245 return EXIT_FAILURE; in main()
/linux-6.6.21/samples/bpf/
Dtest_cgrp2_sock.c96 return EXIT_FAILURE; in prog_load()
205 return EXIT_FAILURE; in usage()
228 return EXIT_FAILURE; in main()
252 return EXIT_FAILURE; in main()
258 return EXIT_FAILURE; in main()
264 return EXIT_FAILURE; in main()
273 return EXIT_FAILURE; in main()
281 return EXIT_FAILURE; in main()
288 return EXIT_FAILURE; in main()

1234567