/arch/um/os-Linux/ |
D | util.c | 31 CATCH_EINTR(err = tcgetattr(fd, &tt)); in raw() 37 CATCH_EINTR(err = tcsetattr(fd, TCSADRAIN, &tt)); in raw()
|
D | helper.c | 102 CATCH_EINTR(waitpid(pid, NULL, __WCLONE)); in run_helper() 135 CATCH_EINTR(pid = waitpid(pid, &status, __WCLONE)); in run_helper_thread() 156 CATCH_EINTR(ret = waitpid(pid, &status, wflags)); in helper_wait()
|
D | process.c | 42 CATCH_EINTR(err = read(fd, buf, sizeof(buf))); in os_process_pc() 78 CATCH_EINTR(n = read(fd, data, sizeof(data))); in os_process_parent() 104 CATCH_EINTR(waitpid(pid, NULL, __WALL)); in os_kill_process() 133 CATCH_EINTR(waitpid(pid, NULL, __WALL)); in os_kill_ptraced_process()
|
D | start_up.c | 104 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in start_ptraced_child() 128 CATCH_EINTR(n = waitpid(pid, &status, 0)); in stop_ptraced_child() 213 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in check_sysemu() 253 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in check_sysemu() 311 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED)); in check_ptrace()
|
D | sigio.c | 76 CATCH_EINTR(n = read(sigio_private[1], &c, in write_sigio_thread() 95 CATCH_EINTR(n = write(respond_fd, &c, sizeof(c))); in write_sigio_thread() 139 CATCH_EINTR(n = write(sigio_private[0], &c, sizeof(c))); in update_thread() 146 CATCH_EINTR(n = read(sigio_private[0], &c, sizeof(c))); in update_thread()
|
D | file.c | 43 CATCH_EINTR(err = fstat64(fd, &sbuf)); in os_stat_fd() 57 CATCH_EINTR(err = stat64(file_name, &sbuf)); in os_stat_file() 122 CATCH_EINTR(err = fchmod(fd, mode)); in os_mode_fd() 329 CATCH_EINTR(err = fcntl(fd, F_SETFD, FD_CLOEXEC)); in os_set_exec_close()
|
/arch/um/drivers/ |
D | fd.c | 58 CATCH_EINTR(err = tcgetattr(data->fd, &data->tt)); in fd_open() 79 CATCH_EINTR(err = tcsetattr(fd, TCSAFLUSH, &data->tt)); in fd_close()
|
D | chan_user.c | 88 CATCH_EINTR(err = tcgetattr(fd, &save)); in generic_console_write() 98 CATCH_EINTR(err = tcsetattr(fd, TCSAFLUSH, &new)); in generic_console_write() 108 CATCH_EINTR(tcsetattr(fd, TCSAFLUSH, &save)); in generic_console_write()
|
D | net_user.c | 114 CATCH_EINTR(n = recvfrom(fd, buf, len, 0, NULL, NULL)); in net_recvfrom() 142 CATCH_EINTR(n = send(fd, buf, len, 0)); in net_send() 157 CATCH_EINTR(n = sendto(fd, buf, len, 0, (struct sockaddr *) to, in net_sendto()
|
D | tty.c | 59 CATCH_EINTR(err = tcgetattr(fd, &data->tt)); in tty_open()
|
D | pty.c | 57 CATCH_EINTR(err = tcgetattr(fd, &data->tt)); in pts_open()
|
D | xterm.c | 168 CATCH_EINTR(err = tcgetattr(new, &data->tt)); in xterm_open()
|
D | port_user.c | 80 CATCH_EINTR(err = tcgetattr(fd, &data->tt)); in port_open()
|
/arch/um/os-Linux/skas/ |
D | mem.c | 209 CATCH_EINTR(ret = write(fd, &map, sizeof(map))); in map() 244 CATCH_EINTR(ret = write(fd, &unmap, sizeof(unmap))); in unmap() 280 CATCH_EINTR(ret = write(fd, &protect, sizeof(protect))); in protect()
|
D | process.c | 68 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED | __WALL)); in wait_stub_done() 187 CATCH_EINTR(err = waitpid(pid, &status, WUNTRACED | __WALL)); in handle_trap() 312 CATCH_EINTR(n = waitpid(pid, &status, WUNTRACED | __WALL)); in start_userspace() 388 CATCH_EINTR(err = waitpid(pid, &status, WUNTRACED | __WALL)); in userspace() 581 CATCH_EINTR(n = write(fd, &mmop, sizeof(mmop))); in map_stub_pages() 606 CATCH_EINTR(n = write(fd, &mmop, sizeof(mmop))); in map_stub_pages()
|
/arch/um/os-Linux/drivers/ |
D | ethertap_user.c | 48 CATCH_EINTR(n = write(fd, &change, sizeof(change))); in etap_change() 125 CATCH_EINTR(n = read(control_me, &c, sizeof(c))); in etap_tramp()
|
/arch/um/include/shared/ |
D | os.h | 15 #define CATCH_EINTR(expr) while ((errno = 0, ((expr) < 0)) && (errno == EINTR)) macro
|