Lines Matching refs:ps_i
511 int ps_i = ts[h].psi[i]; in process_data_sock() local
512 asrt(pfds[i].fd == ts[h].ps[ps_i].pfd.fd); in process_data_sock()
513 uint32_t user_id = ts[h].ps[ps_i].user_id; in process_data_sock()
514 int type = ts[h].ps[ps_i].type; in process_data_sock()
529 remove_poll(h, &ts[h].ps[ps_i], ts[h].ps[ps_i].flags); in process_data_sock()
532 … remove_poll(h, &ts[h].ps[ps_i], flags); //remove the monitor flags that already processed in process_data_sock()
542 int ps_i = 0; in prepare_poll_fds() local
548 if(ps_i >= MAX_POLL) in prepare_poll_fds()
551 ps_i, MAX_POLL, count, ts[h].poll_count); in prepare_poll_fds()
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()
557 ts[h].psi[pfd_i] = ps_i; in prepare_poll_fds()
561 ps_i++; in prepare_poll_fds()