Home
last modified time | relevance | path

Searched refs:pollfd (Results 1 – 25 of 33) sorted by relevance

12

/system/core/adb/
Dfdevent.cpp56 adb_pollfd pollfd; member
59 memset(&pollfd, 0, sizeof(pollfd)); in PollNode()
60 pollfd.fd = fde->fd; in PollNode()
65 pollfd.events = POLLRDHUP; in PollNode()
177 node.pollfd.events |= POLLIN; in fdevent_update()
179 node.pollfd.events &= ~POLLIN; in fdevent_update()
183 node.pollfd.events |= POLLOUT; in fdevent_update()
185 node.pollfd.events &= ~POLLOUT; in fdevent_update()
222 for (const auto& pollfd : pollfds) { in dump_pollfds() local
224 if (pollfd.events & POLLIN) { in dump_pollfds()
[all …]
/system/netd/server/
DIptablesRestoreController.cpp59 struct pollfd pollfd = { .fd = stdIn, .events = POLLOUT }; in outputReady() local
60 int ret = poll(&pollfd, 1, 0); in outputReady()
65 return (ret == 1) && !(pollfd.revents & POLLERR); in outputReady()
106 struct pollfd pollFds[2];
291 const struct pollfd &pollfd = process->pollFds[i]; in drainAndWaitForAck() local
292 if (pollfd.revents & POLLIN) { in drainAndWaitForAck()
295 size = TEMP_FAILURE_RETRY(read(pollfd.fd, buffer, sizeof(buffer))); in drainAndWaitForAck()
324 if (pollfd.revents & POLLHUP) { in drainAndWaitForAck()
DMDnsSdListener.cpp596 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); in run()
599 ((int)sizeof(struct pollfd)) * mPollSize); in run()
658 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); in rescan()
661 ((int)sizeof(struct pollfd)) * mPollSize); in rescan()
665 memset(mPollFds, 0, sizeof(struct pollfd) * mPollSize); in rescan()
DMDnsSdListener.h95 struct pollfd *mPollFds;
/system/chre/host/common/include/chre_host/
Dsocket_server.h93 struct pollfd mPollFds[1 + kMaxActiveClients] = {};
/system/bt/service/ipc/
Dlinux_ipc_host.h99 std::vector<struct pollfd> pfds_;
/system/bt/btif/src/
Dbtif_sock_thread.cc80 struct pollfd pfd;
466 static void process_data_sock(int h, struct pollfd* pfds, int count) { in process_data_sock()
495 static void prepare_poll_fds(int h, struct pollfd* pfds) { in prepare_poll_fds()
519 struct pollfd pfds[MAX_POLL]; in sock_poll_thread()
/system/core/init/
Dueventd.cpp79 pollfd ufd; in ueventd_main()
/system/connectivity/wificond/tests/
Dshell_utils.cpp85 struct pollfd shell_output; in RunShellCommand()
/system/vold/
Dvdc.cpp129 struct pollfd poll_sock = { sock, POLLIN, 0 }; in do_monitor()
/system/bt/udrv/ulinux/
Duipc.cc164 struct pollfd pfd; in accept_server_socket()
363 struct pollfd pfd; in uipc_flush_ch_locked()
656 struct pollfd pfd; in UIPC_Read()
/system/core/debuggerd/handler/
Ddebuggerd_fallback.cpp105 struct pollfd pfd = { in forward_output()
/system/nvram/hal/
Dfake_nvram.cpp153 struct pollfd poll_fds[kMaxClientSockets]; in ProcessMessages()
/system/core/debuggerd/client/
Ddebuggerd_client.cpp188 struct pollfd pfd = { in debuggerd_trigger_dump()
/system/core/liblog/
Dlogd_reader.c283 struct pollfd p; in send_log_msg()
623 struct pollfd p; in logdPoll()
/system/core/toolbox/
Dgetevent.c36 static struct pollfd *ufds;
317 struct pollfd *new_ufds; in open_device()
/system/bt/vendor_libs/linux/
Dbt_vendor_linux.cc146 struct pollfd fds[1]; in bt_vendor_wait_hcidev()
/system/nfc/halimpl/bcm2079x/adaptation/
Duserial_linux.c433 static inline int create_signal_fds(struct pollfd* set) { in create_signal_fds()
507 static inline int is_signaled(struct pollfd* set) { in is_signaled()
602 struct pollfd fds[2]; in my_read()
/system/core/logd/
Dmain.cpp386 struct pollfd p; in issueReinit()
/system/core/libsync/
Dsync.c103 struct pollfd fds; in sync_wait()
/system/bt/hci/src/
Dhci_layer_linux.cc281 struct pollfd fds[1]; in wait_hcidev()
/system/core/adf/libadfhwc/
Dadfhwc.cpp292 pollfd fds[dev->intf_fds.size()]; in adf_event_thread()
/system/core/libnetutils/
Ddhcpclient.c398 struct pollfd pfd; in dhcp_init_ifc()
/system/bt/btif/co/
Dbta_hh_co.cc195 struct pollfd pfds[1]; in btif_hh_poll_event_thread()
/system/core/logwrapper/
Dlogwrap.c297 struct pollfd poll_fds[] = { in parent()

12