Lines Matching refs:ps_i
550 int ps_i = ts[h].psi[i]; in process_data_sock() local
551 asrt(pfds[i].fd == ts[h].ps[ps_i].pfd.fd); in process_data_sock()
552 uint32_t user_id = ts[h].ps[ps_i].user_id; in process_data_sock()
553 int type = ts[h].ps[ps_i].type; in process_data_sock()
568 remove_poll(h, &ts[h].ps[ps_i], ts[h].ps[ps_i].flags); in process_data_sock()
571 … remove_poll(h, &ts[h].ps[ps_i], flags); //remove the monitor flags that already processed in process_data_sock()
581 int ps_i = 0; in prepare_poll_fds() local
587 if(ps_i >= MAX_POLL) in prepare_poll_fds()
590 ps_i, MAX_POLL, count, ts[h].poll_count); in prepare_poll_fds()
593 if(ts[h].ps[ps_i].pfd.fd >= 0) in prepare_poll_fds()
595 pfds[pfd_i] = ts[h].ps[ps_i].pfd; in prepare_poll_fds()
596 ts[h].psi[pfd_i] = ps_i; in prepare_poll_fds()
600 ps_i++; in prepare_poll_fds()