/openbmc/linux/arch/um/os-Linux/ |
H A D | helper.c | 37 CATCH_EINTR(ret = write(data->fd, &err, sizeof(err))); in helper_child() 100 CATCH_EINTR(waitpid(pid, NULL, __WALL)); in run_helper() 137 CATCH_EINTR(pid = waitpid(pid, &status, __WALL)); in run_helper_thread() 158 CATCH_EINTR(ret = waitpid(pid, &status, wflags)); in helper_wait()
|
H A D | start_up.c | 105 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in start_ptraced_child() 129 CATCH_EINTR(n = waitpid(pid, &status, 0)); in stop_ptraced_child() 176 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in check_sysemu() 216 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in check_sysemu() 274 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in check_ptrace()
|
H A D | process.c | 40 CATCH_EINTR(err = read(fd, buf, sizeof(buf))); in os_process_pc() 76 CATCH_EINTR(n = read(fd, data, sizeof(data))); in os_process_parent() 107 CATCH_EINTR(waitpid(pid, NULL, __WALL)); in os_kill_process() 121 CATCH_EINTR(waitpid(pid, NULL, __WALL)); in os_kill_ptraced_process()
|
H A D | sigio.c | 73 CATCH_EINTR(n = read(sigio_private[1], &c, in write_sigio_thread() 92 CATCH_EINTR(n = write(respond_fd, &c, sizeof(c))); in write_sigio_thread() 136 CATCH_EINTR(n = write(sigio_private[0], &c, sizeof(c))); in update_thread() 143 CATCH_EINTR(n = read(sigio_private[0], &c, sizeof(c))); in update_thread()
|
H A D | util.c | 33 CATCH_EINTR(err = tcgetattr(fd, &tt)); in raw() 39 CATCH_EINTR(err = tcsetattr(fd, TCSADRAIN, &tt)); in raw()
|
H A D | file.c | 48 CATCH_EINTR(err = fstat64(fd, &sbuf)); in os_stat_fd() 62 CATCH_EINTR(err = stat64(file_name, &sbuf)); in os_stat_file() 127 CATCH_EINTR(err = fchmod(fd, mode)); in os_mode_fd() 368 CATCH_EINTR(err = fcntl(fd, F_SETFD, FD_CLOEXEC)); in os_set_exec_close()
|
/openbmc/linux/arch/um/drivers/ |
H A D | fd.c | 56 CATCH_EINTR(err = tcgetattr(data->fd, &data->tt)); in fd_open() 77 CATCH_EINTR(err = tcsetattr(fd, TCSAFLUSH, &data->tt)); in fd_close()
|
H A D | net_user.c | 112 CATCH_EINTR(n = recvfrom(fd, buf, len, 0, NULL, NULL)); in net_recvfrom() 140 CATCH_EINTR(n = send(fd, buf, len, 0)); in net_send() 155 CATCH_EINTR(n = sendto(fd, buf, len, 0, (struct sockaddr *) to, in net_sendto()
|
H A D | chan_user.c | 86 CATCH_EINTR(err = tcgetattr(fd, &save)); in generic_console_write() 96 CATCH_EINTR(err = tcsetattr(fd, TCSAFLUSH, &new)); in generic_console_write() 106 CATCH_EINTR(tcsetattr(fd, TCSAFLUSH, &save)); in generic_console_write()
|
H A D | rtc_user.c | 23 CATCH_EINTR(write(uml_rtc_irq_fds[1], &c, sizeof(c))); in uml_rtc_send_timetravel_alarm()
|
H A D | vector_user.c | 684 CATCH_EINTR(n = sendmsg(fd, (struct msghdr *) hdr, flags)); in uml_vector_sendmsg() 698 CATCH_EINTR(n = readv(fd, msg->msg_iov, msg->msg_iovlen)); in uml_vector_recvmsg() 711 CATCH_EINTR(n = writev(fd, (struct iovec *) hdr, iovcount)); in uml_vector_writev() 728 CATCH_EINTR(n = sendmmsg(fd, (struct mmsghdr *) msgvec, vlen, flags)); in uml_vector_sendmmsg() 745 CATCH_EINTR( in uml_vector_recvmmsg()
|
H A D | tty.c | 57 CATCH_EINTR(err = tcgetattr(fd, &data->tt)); in tty_open()
|
H A D | pty.c | 55 CATCH_EINTR(err = tcgetattr(fd, &data->tt)); in pts_open()
|
H A D | xterm.c | 171 CATCH_EINTR(err = tcgetattr(new, &data->tt)); in xterm_open()
|
H A D | port_user.c | 79 CATCH_EINTR(err = tcgetattr(fd, &data->tt)); in port_open()
|
/openbmc/linux/arch/um/os-Linux/skas/ |
H A D | process.c | 112 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED | __WALL)); in wait_stub_done() 209 CATCH_EINTR(err = waitpid(pid, &status, WUNTRACED | __WALL)); in handle_trap() 342 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED | __WALL)); in start_userspace() 426 CATCH_EINTR(err = waitpid(pid, &status, WUNTRACED | __WALL)); in userspace()
|
/openbmc/linux/arch/um/os-Linux/drivers/ |
H A D | ethertap_user.c | 46 CATCH_EINTR(n = write(fd, &change, sizeof(change))); in etap_change() 123 CATCH_EINTR(n = read(control_me, &c, sizeof(c))); in etap_tramp()
|
/openbmc/linux/arch/um/include/shared/ |
H A D | os.h | 21 #define CATCH_EINTR(expr) while ((errno = 0, ((expr) < 0)) && (errno == EINTR)) macro
|