Searched refs:REQ_HEAD (Results 1 – 1 of 1) sorted by relevance
/external/libevent/ |
D | evdns.c | 390 #define REQ_HEAD(base, id) ((base)->req_heads[id % (base)->n_req_heads]) macro 470 struct request *req = REQ_HEAD(base, trans_id); in request_find_from_trans_id() 766 evdns_request_insert(req, &REQ_HEAD(base, req->trans_id)); in evdns_requests_pump_waiting_queue() 948 request_finished(req, &REQ_HEAD(req->base, req->trans_id), 1); in reply_handle() 955 request_finished(req, &REQ_HEAD(req->base, req->trans_id), 1); in reply_handle() 2178 request_finished(req, &REQ_HEAD(req->base, req->trans_id), 1); in evdns_request_timeout_callback() 2831 evdns_request_insert(req, &REQ_HEAD(base, req->trans_id)); in request_submit() 2871 request_finished(req, &REQ_HEAD(base, req->trans_id), 1); in evdns_cancel_request() 3291 request_finished(req, &REQ_HEAD(req->base, req->trans_id), 0); in search_try_next() 4043 request_finished(base->req_heads[i], &REQ_HEAD(base, base->req_heads[i]->trans_id), 1); in evdns_base_free_and_unlock()
|