Home
last modified time | relevance | path

Searched refs:poll_fd (Results 1 – 4 of 4) sorted by relevance

/external/dhcpcd-6.8.2/
Deloop.c117 error = kevent(ctx->poll_fd, ke, in eloop_event_add()
121 error = epoll_ctl(ctx->poll_fd, EPOLL_CTL_MOD, in eloop_event_add()
172 if (kevent(ctx->poll_fd, ke, write_cb ? 2 : 1, NULL, 0, NULL) == -1) in eloop_event_add()
176 if (epoll_ctl(ctx->poll_fd, EPOLL_CTL_ADD, fd, &epe) == -1) in eloop_event_add()
219 kevent(ctx->poll_fd, ke, 1, NULL, 0, in eloop_event_delete()
226 epoll_ctl(ctx->poll_fd, EPOLL_CTL_MOD, in eloop_event_delete()
240 kevent(ctx->poll_fd, ke, e->write_cb ? 2 : 1, in eloop_event_delete()
246 epoll_ctl(ctx->poll_fd, EPOLL_CTL_DEL, in eloop_event_delete()
370 return (ctx->poll_fd = kqueue1(O_CLOEXEC)); in eloop_open()
374 if ((ctx->poll_fd = kqueue()) == -1) in eloop_open()
[all …]
Deloop.h77 int poll_fd; member
/external/dbus/dbus/
Ddbus-transport-socket.c1037 DBusPollFD poll_fd; in socket_do_iteration() local
1055 poll_fd.fd = socket_transport->fd; in socket_do_iteration()
1056 poll_fd.events = 0; in socket_do_iteration()
1085 poll_fd.events |= _DBUS_POLLIN; in socket_do_iteration()
1089 poll_fd.events |= _DBUS_POLLOUT; in socket_do_iteration()
1099 poll_fd.events |= _DBUS_POLLIN; in socket_do_iteration()
1103 poll_fd.events |= _DBUS_POLLOUT; in socket_do_iteration()
1106 if (poll_fd.events) in socket_do_iteration()
1125 poll_res = _dbus_poll (&poll_fd, 1, poll_timeout); in socket_do_iteration()
1139 poll_fd.revents = 0; /* some concern that posix does not guarantee this; in socket_do_iteration()
[all …]
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_process_unittest.cc563 struct pollfd poll_fd = {reader, POLLIN | POLLRDHUP, 0}; in WaitForClosedPipeWriter() local
564 const int num_events = HANDLE_EINTR(poll(&poll_fd, 1, timeout_in_ms)); in WaitForClosedPipeWriter()
565 if (1 == num_events && poll_fd.revents | POLLHUP) in WaitForClosedPipeWriter()