Lines Matching refs:Pfd
241 static struct pollfd Pfd; /* Pollfd for local the log device */ variable
585 Pfd.fd = funix; in prepare_sys_poll()
586 Pfd.events = POLLIN; in prepare_sys_poll()
589 nfds = poll(&Pfd, 1, 0); in prepare_sys_poll()
596 if (Pfd.revents & POLLIN) { in prepare_sys_poll()
598 } else if (Pfd.revents & (POLLNVAL|POLLHUP|POLLERR)) { in prepare_sys_poll()
638 nfds = poll(&Pfd, 1, INFTIM); in sys_poll()
648 if (Pfd.revents & POLLIN) { in sys_poll()
654 if (Pfd.revents & (POLLNVAL|POLLHUP|POLLERR)) { in sys_poll()
656 (void) close(Pfd.fd); in sys_poll()
657 Pfd.fd = -1; in sys_poll()
661 while (Pfd.fd == -1 && klogerrs++ < 10) { in sys_poll()
662 Pfd.fd = openklog(LogName, O_RDONLY); in sys_poll()
698 while ((i = getmsg(Pfd.fd, &ctl, &dat, &flags)) == MOREDATA) { in getkmsg()
777 (void) close(Pfd.fd); in getkmsg()
778 Pfd.fd = -1; in getkmsg()
4883 (void) close(Pfd.fd); in shutdown_input()