Home
last modified time | relevance | path

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

1234567

/linux-6.12.1/tools/testing/vsock/
Dvsock_test.c57 exit(EXIT_FAILURE); in test_stream_connection_reset()
61 exit(EXIT_FAILURE); in test_stream_connection_reset()
96 exit(EXIT_FAILURE); in test_stream_bind_only_client()
100 exit(EXIT_FAILURE); in test_stream_bind_only_client()
127 exit(EXIT_FAILURE); in test_stream_bind_only_server()
146 exit(EXIT_FAILURE); in test_stream_client_close_client()
160 exit(EXIT_FAILURE); in test_stream_client_close_server()
181 exit(EXIT_FAILURE); in test_stream_server_close_client()
202 exit(EXIT_FAILURE); in test_stream_server_close_server()
223 exit(EXIT_FAILURE); in test_stream_multiconn_client()
[all …]
Dutil.c45 exit(EXIT_FAILURE); in parse_uint()
71 exit(EXIT_FAILURE); in vsock_wait_remote_close()
78 exit(EXIT_FAILURE); in vsock_wait_remote_close()
84 exit(EXIT_FAILURE); in vsock_wait_remote_close()
89 exit(EXIT_FAILURE); in vsock_wait_remote_close()
118 exit(EXIT_FAILURE); in vsock_bind_connect()
123 exit(EXIT_FAILURE); in vsock_bind_connect()
135 exit(EXIT_FAILURE); in vsock_bind_connect()
162 exit(EXIT_FAILURE); in vsock_connect()
210 exit(EXIT_FAILURE); in vsock_listen()
[all …]
Dmsg_zerocopy_common.c23 exit(EXIT_FAILURE); in enable_so_zerocopy()
41 exit(EXIT_FAILURE); in vsock_recv_completion()
47 exit(EXIT_FAILURE); in vsock_recv_completion()
52 exit(EXIT_FAILURE); in vsock_recv_completion()
57 exit(EXIT_FAILURE); in vsock_recv_completion()
63 exit(EXIT_FAILURE); in vsock_recv_completion()
68 exit(EXIT_FAILURE); in vsock_recv_completion()
80 exit(EXIT_FAILURE); in vsock_recv_completion()
85 exit(EXIT_FAILURE); in vsock_recv_completion()
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.c121 exit(EXIT_FAILURE); in find_vsock_stat()
129 exit(EXIT_FAILURE); in find_vsock_stat()
153 exit(EXIT_FAILURE); in check_num_sockets()
162 exit(EXIT_FAILURE); in check_socket_state()
202 exit(EXIT_FAILURE); in send_req()
232 exit(EXIT_FAILURE); in recv_resp()
246 exit(EXIT_FAILURE); in add_vsock_stat()
264 exit(EXIT_FAILURE); in read_vsock_stat()
278 exit(EXIT_FAILURE); in read_vsock_stat()
297 exit(EXIT_FAILURE); in read_vsock_stat()
[all …]
Dvsock_test_zerocopy.c161 exit(EXIT_FAILURE); in test_client()
178 exit(EXIT_FAILURE); in test_client()
186 exit(EXIT_FAILURE); in test_client()
195 exit(EXIT_FAILURE); in test_client()
206 exit(EXIT_FAILURE); in test_client()
257 exit(EXIT_FAILURE); in test_server()
265 exit(EXIT_FAILURE); in test_server()
292 exit(EXIT_FAILURE); in test_server()
329 exit(EXIT_FAILURE); in test_stream_msgzcopy_empty_errq_client()
339 exit(EXIT_FAILURE); in test_stream_msgzcopy_empty_errq_client()
[all …]
/linux-6.12.1/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.12.1/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.12.1/tools/counter/
Dcounter_watch_events.c218 return EXIT_FAILURE; in main()
225 return EXIT_FAILURE; in main()
232 return EXIT_FAILURE; in main()
240 return EXIT_FAILURE; in main()
288 rc = EXIT_FAILURE; in main()
294 rc = EXIT_FAILURE; in main()
301 rc = EXIT_FAILURE; in main()
307 rc = EXIT_FAILURE; in main()
314 rc = EXIT_FAILURE; in main()
320 rc = EXIT_FAILURE; in main()
[all …]
/linux-6.12.1/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.12.1/tools/testing/selftests/mm/
Dthp_settings.c75 exit(EXIT_FAILURE); in write_file()
83 exit(EXIT_FAILURE); in write_file()
96 exit(EXIT_FAILURE); in read_num()
109 exit(EXIT_FAILURE); in write_num()
123 exit(EXIT_FAILURE); in thp_read_string()
128 exit(EXIT_FAILURE); in thp_read_string()
134 exit(EXIT_FAILURE); in thp_read_string()
143 exit(EXIT_FAILURE); in thp_read_string()
155 exit(EXIT_FAILURE); in thp_read_string()
166 exit(EXIT_FAILURE); in thp_write_string()
[all …]
Dkhugepaged.c109 exit(sig ? EXIT_FAILURE : exit_status); in restore_settings()
140 exit(EXIT_FAILURE); in get_finfo()
145 exit(EXIT_FAILURE); in get_finfo()
149 exit(EXIT_FAILURE); in get_finfo()
160 exit(EXIT_FAILURE); in get_finfo()
164 exit(EXIT_FAILURE); in get_finfo()
174 exit(EXIT_FAILURE); in get_finfo()
180 exit(EXIT_FAILURE); in get_finfo()
190 exit(EXIT_FAILURE); in get_finfo()
202 exit(EXIT_FAILURE); in get_finfo()
[all …]
/linux-6.12.1/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.12.1/tools/perf/bench/
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()
Dsched-messaging.c76 err(EXIT_FAILURE, use_pipes ? "pipe()" : "socketpair()"); in fdpair()
86 err(EXIT_FAILURE, "CLIENT: ready write"); in ready()
90 err(EXIT_FAILURE, "poll"); in ready()
111 err(EXIT_FAILURE, "SENDER: write"); in sender()
141 err(EXIT_FAILURE, "SERVER: read"); in receiver()
157 err(EXIT_FAILURE, "pthread_attr_init:"); in create_thread_worker()
161 err(EXIT_FAILURE, "pthread_attr_setstacksize"); in create_thread_worker()
166 err(EXIT_FAILURE, "pthread_create failed"); in create_thread_worker()
178 err(EXIT_FAILURE, "fork()"); in create_process_worker()
220 err(EXIT_FAILURE, "malloc()"); in group()
[all …]
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.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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()

1234567