| /linux/arch/um/os-Linux/ |
| H A D | process.c | 43 CATCH_EINTR(waitpid(pid, NULL, __WALL)); in os_kill_process() 65 CATCH_EINTR(waitpid(pid, NULL, __WALL)); in os_kill_ptraced_process() 199 CATCH_EINTR(r = syscall(__NR_futex, uaddr, FUTEX_WAIT, val, in os_futex_wait() 208 CATCH_EINTR(r = syscall(__NR_futex, uaddr, FUTEX_WAKE, INT_MAX, in os_futex_wake()
|
| H A D | start_up.c | 117 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in start_ptraced_child() 134 CATCH_EINTR(n = waitpid(pid, &status, 0)); in stop_ptraced_child() 158 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in check_sysemu() 211 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in check_ptrace() 323 CATCH_EINTR(n = waitpid(pid, &status, __WCLONE)); in init_seccomp()
|
| H A D | sigio.c | 50 CATCH_EINTR(r = syscall(__NR_tgkill, pid, pid, SIGIO)); in write_sigio_thread() 67 CATCH_EINTR(r = epoll_ctl(epollfd, EPOLL_CTL_ADD, fd, &event)); in __add_sigio_fd() 87 CATCH_EINTR(r = epoll_ctl(epollfd, EPOLL_CTL_DEL, fd, &event)); in __ignore_sigio_fd()
|
| H A D | util.c | 32 CATCH_EINTR(err = tcgetattr(fd, &tt)); in raw() 38 CATCH_EINTR(err = tcsetattr(fd, TCSADRAIN, &tt)); in raw()
|
| H A D | file.c | 49 CATCH_EINTR(err = fstat64(fd, &sbuf)); in os_stat_fd() 63 CATCH_EINTR(err = stat64(file_name, &sbuf)); in os_stat_file() 113 CATCH_EINTR(err = fchmod(fd, mode)); in os_mode_fd() 358 CATCH_EINTR(err = fcntl(fd, F_SETFD, FD_CLOEXEC)); in os_set_exec_close()
|
| /linux/arch/um/drivers/ |
| H A D | chan_user.c | 26 CATCH_EINTR(n = read(fd, c_out, sizeof(*c_out))); in generic_read() 98 CATCH_EINTR(err = tcgetattr(fd, &save)); in generic_console_write() 108 CATCH_EINTR(err = tcsetattr(fd, TCSAFLUSH, &new)); in generic_console_write() 118 CATCH_EINTR(tcsetattr(fd, TCSAFLUSH, &save)); in generic_console_write()
|
| 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 | 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 | 767 CATCH_EINTR(n = sendmsg(fd, (struct msghdr *) hdr, flags)); in uml_vector_sendmsg() 781 CATCH_EINTR(n = readv(fd, msg->msg_iov, msg->msg_iovlen)); in uml_vector_recvmsg() 794 CATCH_EINTR(n = writev(fd, (struct iovec *) hdr, iovcount)); in uml_vector_writev() 811 CATCH_EINTR(n = sendmmsg(fd, (struct mmsghdr *) msgvec, vlen, flags)); in uml_vector_sendmmsg() 828 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 | 168 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()
|
| /linux/arch/um/os-Linux/skas/ |
| H A D | process.c | 122 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED | __WALL)); in wait_stub_done() 185 CATCH_EINTR(syscall(__NR_sendmsg, mm_idp->sock, in wait_stub_done_seccomp() 191 CATCH_EINTR(syscall(__NR_futex, &data->futex, in wait_stub_done_seccomp() 491 CATCH_EINTR(n = waitpid(mm_id->pid, &status, in start_userspace() 692 CATCH_EINTR(err = waitpid(pid, &status, WUNTRACED | __WALL)); in userspace()
|
| /linux/arch/um/include/shared/ |
| H A D | os.h | 21 #define CATCH_EINTR(expr) while ((errno = 0, ((expr) < 0)) && (errno == EINTR)) macro
|