Searched refs:n_heads (Results 1 – 1 of 1) sorted by relevance
3388 int old_n_heads = base->n_req_heads, n_heads; in evdns_base_set_max_requests_inflight() local3395 n_heads = (maxinflight+4) / 5; in evdns_base_set_max_requests_inflight()3396 EVUTIL_ASSERT(n_heads > 0); in evdns_base_set_max_requests_inflight()3397 new_heads = mm_calloc(n_heads, sizeof(struct request*)); in evdns_base_set_max_requests_inflight()3405 evdns_request_insert(req, &new_heads[req->trans_id % n_heads]); in evdns_base_set_max_requests_inflight()3411 base->n_req_heads = n_heads; in evdns_base_set_max_requests_inflight()