Lines Matching refs:pfd
83 struct pollfd pfd; member
385 ts[h].ps[i].pfd.fd = -1; in init_poll()
403 ps->pfd.fd = fd; in set_poll()
409 ps->pfd.events = flags2pevents(flags); in set_poll()
410 ps->pfd.revents = 0; in set_poll()
421 if(ps[i].pfd.fd == fd) in add_poll()
428 else if(empty < 0 && ps[i].pfd.fd == -1) in add_poll()
447 ps->pfd.fd = -1; in remove_poll()
454 ps->pfd.events = flags2pevents(ps->flags); in remove_poll()
480 if (poll_slot->pfd.fd == cmd.fd) in process_cmd_sock()
512 asrt(pfds[i].fd == ts[h].ps[ps_i].pfd.fd); in process_data_sock()
554 if(ts[h].ps[ps_i].pfd.fd >= 0) in prepare_poll_fds()
556 pfds[pfd_i] = ts[h].ps[ps_i].pfd; in prepare_poll_fds()