Searched refs:QUERIES_MAX (Results 1 – 2 of 2) sorted by relevance
31 #define QUERIES_MAX 256U macro63 sd_resolve_query* query_array[QUERIES_MAX];508 (void) fd_inc_sndbuf(resolve->fds[REQUEST_SEND_FD], QUERIES_MAX * BUFSIZE); in sd_resolve_new()509 (void) fd_inc_rcvbuf(resolve->fds[REQUEST_RECV_FD], QUERIES_MAX * BUFSIZE); in sd_resolve_new()510 (void) fd_inc_sndbuf(resolve->fds[RESPONSE_SEND_FD], QUERIES_MAX * BUFSIZE); in sd_resolve_new()511 (void) fd_inc_rcvbuf(resolve->fds[RESPONSE_RECV_FD], QUERIES_MAX * BUFSIZE); in sd_resolve_new()633 q = resolve->query_array[id % QUERIES_MAX]; in lookup_query()893 if (resolve->n_queries >= QUERIES_MAX) in alloc_query()900 while (resolve->query_array[resolve->current_id % QUERIES_MAX]) in alloc_query()903 q = resolve->query_array[resolve->current_id % QUERIES_MAX] = new0(sd_resolve_query, 1); in alloc_query()[all …]
14 #define QUERIES_MAX 2048 macro502 if (m->n_dns_queries >= QUERIES_MAX) in dns_query_new()