Home
last modified time | relevance | path

Searched refs:EINTR (Results 1 – 25 of 51) sorted by relevance

123

/tools/testing/selftests/kvm/lib/
Dio.c58 TEST_ASSERT(errno == EAGAIN || errno == EINTR, in test_write()
135 TEST_ASSERT(errno == EAGAIN || errno == EINTR, in test_read()
/tools/testing/vsock/
Dcontrol.c124 } while (ret < 0 && errno == EINTR); in control_writeln()
134 } while (ret < 0 && errno == EINTR); in control_writeln()
177 } while (ret < 0 && errno == EINTR); in control_readln()
Dutil.c110 } while (ret < 0 && errno == EINTR); in vsock_connect()
176 } while (client_fd < 0 && errno == EINTR); in vsock_accept()
230 } while (nwritten < 0 && errno == EINTR); in send_byte()
279 } while (nread < 0 && errno == EINTR); in recv_byte()
Dvsock_test.c45 } while (ret < 0 && errno == EINTR); in test_stream_connection_reset()
84 } while (ret < 0 && errno == EINTR); in test_stream_bind_only_client()
Dvsock_diag_test.c196 if (errno == EINTR) in send_req()
226 } while (ret < 0 && errno == EINTR); in recv_resp()
/tools/include/uapi/asm-generic/
Derrno-base.h8 #define EINTR 4 /* Interrupted system call */ macro
/tools/testing/selftests/uevent/
Duevent_filtering.c36 if (ret < 0 && errno == EINTR) in read_nointr()
48 if (ret < 0 && errno == EINTR) in write_nointr()
61 if (errno == EINTR) in wait_for_pid()
322 if (errno == EINTR) in do_test()
/tools/lib/perf/
Dlib.c20 if (ret < 0 && errno == EINTR) in ion()
/tools/testing/selftests/ir/
Dir_loopback.c161 if (errno == EINTR) in main()
175 if (errno == EINTR) in main()
/tools/cgroup/
Dcgroup_event_listener.c64 if (errno == EINTR) in main()
/tools/testing/selftests/bpf/prog_tests/
Dbpf_tcp_ca.c43 if (errno == EINTR) in server()
57 if (nr_sent == -1 && errno == EINTR) in server()
150 if (nr_recv == -1 && errno == EINTR) in do_test()
/tools/testing/selftests/pidfd/
Dpidfd.h78 if (errno == EINTR) in wait_for_pid()
/tools/testing/selftests/powerpc/
Dharness.c55 if (errno != EINTR) { in run_test()
/tools/testing/selftests/clone3/
Dclone3_clear_sighand.c34 if (errno == EINTR) in wait_for_pid()
/tools/testing/selftests/move_mount_set_group/
Dmove_mount_set_group_test.c54 } while (ret < 0 && errno == EINTR); in write_nointr()
290 if (errno == EINTR) in wait_for_pid()
/tools/laptop/freefall/
Dfreefall.c152 if ((ret == -1) && (errno == EINTR)) { in main()
/tools/testing/selftests/kvm/
Ddirty_log_test.c210 while (ret == -1 && errno == EINTR); in sem_wait_until()
260 TEST_ASSERT(ret == 0 || (ret == -1 && err == EINTR), in default_after_vcpu_run()
381 (ret == -1 && err == EINTR)) { in dirty_ring_after_vcpu_run()
543 if (ret == -1 && errno == EINTR) { in vcpu_worker()
/tools/perf/ui/tui/
Dsetup.c78 if (errno == EINTR) in ui__getch()
/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c193 if (errno == EINTR) in wait_for_pid()
228 if (ret < 0 && errno == EINTR) in read_nointr()
239 if (ret < 0 && errno == EINTR) in write_nointr()
/tools/testing/selftests/bpf/
Dtest_tcpnotify_user.c50 if (err < 0 && err != -EINTR) { in tcp_notifier_poller()
/tools/perf/util/
Dcopyfile.c59 if (ret < 0 && errno == EINTR) in copyfile_offset()
/tools/testing/selftests/net/
Dtcp_inq.c78 } while (r < 0 && errno == EINTR); in start_server()
/tools/power/acpi/os_specific/service_layers/
Dosunixxf.c747 while (((ret_val = sem_wait(sem)) == -1) && (errno == EINTR)) { in acpi_os_wait_semaphore()
802 && (errno == EINTR)) { in acpi_os_wait_semaphore()
/tools/perf/bench/
Dfutex-wake.c76 if (futex_wait(&futex1, 0, NULL, futex_flag) != EINTR) in workerfn()
/tools/testing/selftests/cgroup/
Dcgroup_util.c379 if (errno == EINTR) in clone_reap()
616 if (errno == EINTR) in cg_wait_for()

123