Lines Matching refs:readers
66 struct eloop_sock_table readers; member
237 static int eloop_sock_table_set_fds(struct eloop_sock_table *readers, in eloop_sock_table_set_fds() argument
252 if (readers && readers->table) { in eloop_sock_table_set_fds()
253 for (i = 0; i < readers->count; i++) { in eloop_sock_table_set_fds()
254 fd = readers->table[i].sock; in eloop_sock_table_set_fds()
346 static void eloop_sock_table_dispatch(struct eloop_sock_table *readers, in eloop_sock_table_dispatch() argument
352 if (eloop_sock_table_dispatch_table(readers, pollfds_map, in eloop_sock_table_dispatch()
445 return &eloop.readers; in eloop_get_sock_table()
728 (!dl_list_empty(&eloop.timeout) || eloop.readers.count > 0 || in eloop_run()
749 &eloop.readers, &eloop.writers, &eloop.exceptions, in eloop_run()
760 eloop_sock_table_set_fds(&eloop.readers, rfds); in eloop_run()
792 eloop_sock_table_dispatch(&eloop.readers, &eloop.writers, in eloop_run()
796 eloop_sock_table_dispatch(&eloop.readers, rfds); in eloop_run()
843 eloop_sock_table_destroy(&eloop.readers); in eloop_destroy()