Searched refs:n_heads (Results 1 – 1 of 1) sorted by relevance
3428 int old_n_heads = base->n_req_heads, n_heads; in evdns_base_set_max_requests_inflight() local3435 n_heads = (maxinflight+4) / 5; in evdns_base_set_max_requests_inflight()3436 EVUTIL_ASSERT(n_heads > 0); in evdns_base_set_max_requests_inflight()3437 new_heads = mm_calloc(n_heads, sizeof(struct request*)); in evdns_base_set_max_requests_inflight()3445 evdns_request_insert(req, &new_heads[req->trans_id % n_heads]); in evdns_base_set_max_requests_inflight()3451 base->n_req_heads = n_heads; in evdns_base_set_max_requests_inflight()