Lines Matching refs:pfd
173 struct pollfd pfd; in accept_server_socket() local
180 pfd.fd = sfd; in accept_server_socket()
181 pfd.events = POLLIN; in accept_server_socket()
184 OSI_NO_INTR(poll_ret = poll(&pfd, 1, 0)); in accept_server_socket()
389 struct pollfd pfd; in uipc_flush_ch_locked() local
391 pfd.events = POLLIN; in uipc_flush_ch_locked()
392 pfd.fd = uipc_main.ch[ch_id].fd; in uipc_flush_ch_locked()
403 OSI_NO_INTR(ret = poll(&pfd, 1, 1)); in uipc_flush_ch_locked()
415 __FUNCTION__, pfd.fd, pfd.revents, ret); in uipc_flush_ch_locked()
416 if (pfd.revents & (POLLERR|POLLHUP)) in uipc_flush_ch_locked()
424 read(pfd.fd, &buf, UIPC_FLUSH_BUFFER_SIZE); in uipc_flush_ch_locked()
726 struct pollfd pfd; in UIPC_Read() local
746 pfd.fd = fd; in UIPC_Read()
747 pfd.events = POLLIN|POLLHUP; in UIPC_Read()
753 OSI_NO_INTR(poll_ret = poll(&pfd, 1, in UIPC_Read()
768 if (pfd.revents & (POLLHUP|POLLNVAL) ) in UIPC_Read()