Lines Matching refs:MAX_POLL
67 #define MAX_POLL 64 macro
88 poll_slot_t ps[MAX_POLL];
89 int psi[MAX_POLL]; // index of poll slot
348 for (i = 0; i < MAX_POLL; i++) { in init_poll()
382 for (i = 0; i < MAX_POLL; i++) { in add_poll()
384 asrt(ts[h].poll_count < MAX_POLL); in add_poll()
392 asrt(ts[h].poll_count < MAX_POLL); in add_poll()
397 APPL_TRACE_ERROR("exceeded max poll slot:%d!", MAX_POLL); in add_poll()
429 for (int i = 1; i < MAX_POLL; ++i) { in process_cmd_sock()
499 asrt(ts[h].poll_count <= MAX_POLL); in prepare_poll_fds()
502 if (ps_i >= MAX_POLL) { in prepare_poll_fds()
506 ps_i, MAX_POLL, count, ts[h].poll_count); in prepare_poll_fds()
519 struct pollfd pfds[MAX_POLL]; in sock_poll_thread()