Lines Matching defs:count
83 int count;
92 int count; /* sum of all table counts */
146 for (i = 0; i < table->count; i++) {
160 for (i = 0; i < table->count; i++) {
371 if (eloop.count + 1 > eloop.max_poll_fds) {
373 int nmax = eloop.count + 1 + 50;
397 if (eloop.count + 1 > eloop.epoll_max_event_num) {
413 if (eloop.count + 1 > eloop.kqueue_nevents) {
430 tmp = os_realloc_array(table->table, table->count + 1,
437 tmp[table->count].sock = sock;
438 tmp[table->count].eloop_data = eloop_data;
439 tmp[table->count].user_data = user_data;
440 tmp[table->count].handler = handler;
441 wpa_trace_record(&tmp[table->count]);
442 table->count++;
445 eloop.count++;
452 os_memcpy(&eloop.fd_table[sock], &table->table[table->count - 1],
467 if (table == NULL || table->table == NULL || table->count == 0)
470 for (i = 0; i < table->count; i++) {
474 if (i == table->count)
477 if (i != table->count - 1) {
479 (table->count - i - 1) *
482 table->count--;
483 eloop.count--;
533 for (i = 0; i < readers->count; i++) {
545 for (i = 0; i < writers->count; i++) {
571 for (i = 0; i < exceptions->count; i++) {
606 for (i = 0; i < table->count; i++) {
659 for (i = 0; i < table->count; i++) {
675 for (i = 0; i < table->count; i++) {
736 for (i = 0; i < table->count && table->table; i++) {
775 for (i = 0; i < table->count && table->table; i++) {
1193 (!dl_list_empty(&eloop.timeout) || eloop.readers.count > 0 ||
1194 eloop.writers.count > 0 || eloop.exceptions.count > 0)) {
1247 if (eloop.count == 0) {
1251 eloop.count, timeout_ms);
1255 if (eloop.count == 0) {