Lines Matching refs:poll_count
87 int poll_count; member
162 ts[h].poll_count = 0; in btsock_thread_init()
344 ts[h].poll_count = 0; in init_poll()
384 asrt(ts[h].poll_count < MAX_POLL); in add_poll()
392 asrt(ts[h].poll_count < MAX_POLL); in add_poll()
394 ++ts[h].poll_count; in add_poll()
402 --ts[h].poll_count; in remove_poll()
467 asrt(count <= ts[h].poll_count); in process_data_sock()
469 for (i = 1; i < ts[h].poll_count; i++) { in process_data_sock()
499 asrt(ts[h].poll_count <= MAX_POLL); in prepare_poll_fds()
500 memset(pfds, 0, sizeof(pfds[0]) * ts[h].poll_count); in prepare_poll_fds()
501 while (count < ts[h].poll_count) { in prepare_poll_fds()
506 ps_i, MAX_POLL, count, ts[h].poll_count); in prepare_poll_fds()
525 OSI_NO_INTR(ret = poll(pfds, ts[h].poll_count, -1)); in sock_poll_thread()