Lines Matching refs:pfd
80 struct pollfd pfd; member
349 ts[h].ps[i].pfd.fd = -1; in init_poll()
364 ps->pfd.fd = fd; in set_poll()
372 ps->pfd.events = flags2pevents(flags); in set_poll()
373 ps->pfd.revents = 0; in set_poll()
383 if (ps[i].pfd.fd == fd) { in add_poll()
388 } else if (empty < 0 && ps[i].pfd.fd == -1) in add_poll()
404 ps->pfd.fd = -1; in remove_poll()
409 ps->pfd.events = flags2pevents(ps->flags); in remove_poll()
431 if (poll_slot->pfd.fd == cmd.fd) { in process_cmd_sock()
472 asrt(pfds[i].fd == ts[h].ps[ps_i].pfd.fd); in process_data_sock()
509 if (ts[h].ps[ps_i].pfd.fd >= 0) { in prepare_poll_fds()
510 pfds[pfd_i] = ts[h].ps[ps_i].pfd; in prepare_poll_fds()