Home
last modified time | relevance | path

Searched refs:fd_wait_for_event (Results 1 – 21 of 21) sorted by relevance

/systemd-251/src/basic/
Dio-util.c25 r = fd_wait_for_event(fd, POLLIN, 0); in flush_fd()
78 (void) fd_wait_for_event(fd, POLLIN, USEC_INFINITY); in loop_read()
132 (void) fd_wait_for_event(fd, POLLOUT, USEC_INFINITY); in loop_write()
154 r = fd_wait_for_event(fd, POLLIN, 0); in pipe_eof()
186 int fd_wait_for_event(int fd, int event, usec_t timeout) { in fd_wait_for_event() function
Dio-util.h23 int fd_wait_for_event(int fd, int event, usec_t timeout);
Dterminal-util.c104 if (fd_wait_for_event(fd, POLLIN, t) <= 0) { in read_one_char()
131 if (fd_wait_for_event(fd, POLLIN, t) <= 0) in read_one_char()
447 … r = fd_wait_for_event(notify, POLLIN, usec_sub_unsigned(timeout, n)); in acquire_terminal()
Dsocket-util.c1133 r = fd_wait_for_event(fd, POLLIN, 0); in flush_accept()
/systemd-251/src/shared/
Dspawn-polkit-agent.c59 fd_wait_for_event(pipe_fd[0], POLLHUP, USEC_INFINITY); in polkit_agent_open()
Dnscd-flush.c126 … events = fd_wait_for_event(fd, POLLIN | (has_written < req_size ? POLLOUT : 0), end - p); in nscd_flush_cache_one()
Dutmp-wtmp.c313 k = fd_wait_for_event(fd, POLLOUT, end - t); in write_to_terminal()
Dvarlink.c1067 r = fd_wait_for_event(fd, events, t); in varlink_wait()
1153 r = fd_wait_for_event(v->fd, POLLOUT, USEC_INFINITY); in varlink_flush()
/systemd-251/src/udev/
Dudevadm-settle.c217 r = fd_wait_for_event(fd, POLLIN, MSEC_PER_SEC); in settle_main()
/systemd-251/src/libudev/
Dlibudev-monitor.c208 … r = fd_wait_for_event(device_monitor_get_fd(udev_monitor->monitor), POLLIN, 0); in udev_monitor_receive_sd_device()
/systemd-251/src/sleep/
Dsleep.c289 r = fd_wait_for_event(tfd, POLLIN, 0); in execute_s2h()
/systemd-251/src/rfkill/
Drfkill.c326 r = fd_wait_for_event(c.rfkill_fd, POLLIN, EXIT_USEC); in run()
/systemd-251/src/userdb/
Duserwork.c547 r = fd_wait_for_event(listen_fd, POLLIN, 0); in run()
/systemd-251/src/libsystemd/sd-daemon/
Dsd-daemon.c565 r = fd_wait_for_event(pipe_fd[0], 0 /* POLLHUP is implicit */, timeout); in sd_notify_barrier()
/systemd-251/src/resolve/
Dresolved-manager.c904 r = fd_wait_for_event(fd, POLLOUT, SEND_TIMEOUT_USEC); in sendmsg_loop()
928 r = fd_wait_for_event(fd, POLLOUT, SEND_TIMEOUT_USEC); in write_loop()
/systemd-251/src/libsystemd/sd-netlink/
Dsd-netlink.c568 r = fd_wait_for_event(nl->fd, e, MIN(m, timeout_usec)); in netlink_poll()
/systemd-251/src/libsystemd/sd-resolve/
Dsd-resolve.c875 r = fd_wait_for_event(resolve->fds[RESPONSE_RECV_FD], POLLIN, timeout_usec); in sd_resolve_wait()
/systemd-251/src/libsystemd/sd-bus/
Dbus-socket.c1296 events = fd_wait_for_event(b->output_fd, POLLOUT, 0); in bus_socket_process_opening()
/systemd-251/src/core/
Dexecute.c1788 r = fd_wait_for_event(idle_pipe[0], POLLHUP, IDLE_TIMEOUT_USEC); in do_idle_pipe_dance()
1797 (void) fd_wait_for_event(idle_pipe[0], POLLHUP, IDLE_TIMEOUT2_USEC); in do_idle_pipe_dance()
/systemd-251/src/libsystemd/sd-journal/
Dsd-journal.c2748 r = fd_wait_for_event(j->inotify_fd, POLLIN, timeout_usec); in sd_journal_wait()
/systemd-251/src/home/
Dhomework-luks.c2018 r = fd_wait_for_event(inotify_fd, POLLIN, usec_sub_unsigned(until, w)); in wait_for_devlink()