Lines Matching refs:pfd
164 struct pollfd pfd; in accept_server_socket() local
171 pfd.fd = sfd; in accept_server_socket()
172 pfd.events = POLLIN; in accept_server_socket()
175 OSI_NO_INTR(poll_ret = poll(&pfd, 1, 0)); in accept_server_socket()
363 struct pollfd pfd; in uipc_flush_ch_locked() local
365 pfd.events = POLLIN; in uipc_flush_ch_locked()
366 pfd.fd = uipc_main.ch[ch_id].fd; in uipc_flush_ch_locked()
375 OSI_NO_INTR(ret = poll(&pfd, 1, 1)); in uipc_flush_ch_locked()
388 pfd.fd, pfd.revents, ret); in uipc_flush_ch_locked()
389 if (pfd.revents & (POLLERR | POLLHUP)) { in uipc_flush_ch_locked()
396 read(pfd.fd, &buf, UIPC_FLUSH_BUFFER_SIZE); in uipc_flush_ch_locked()
656 struct pollfd pfd; in UIPC_Read() local
669 pfd.fd = fd; in UIPC_Read()
670 pfd.events = POLLIN | POLLHUP; in UIPC_Read()
676 OSI_NO_INTR(poll_ret = poll(&pfd, 1, uipc_main.ch[ch_id].read_poll_tmo_ms)); in UIPC_Read()
690 if (pfd.revents & (POLLHUP | POLLNVAL)) { in UIPC_Read()