Lines Matching refs:tresp
823 static void _proxy_run_tresp_to_resp(mc_resp *tresp, mc_resp *resp) { in _proxy_run_tresp_to_resp() argument
831 memcpy(resp->wbuf, tresp->wbuf, tresp->iov[0].iov_len); in _proxy_run_tresp_to_resp()
833 for (int x = 0; x < tresp->iovcnt; x++) { in _proxy_run_tresp_to_resp()
834 resp->iov[x] = tresp->iov[x]; in _proxy_run_tresp_to_resp()
835 resp->tosend += tresp->iov[x].iov_len; in _proxy_run_tresp_to_resp()
841 if (tresp->iov[0].iov_base == tresp->wbuf) { in _proxy_run_tresp_to_resp()
844 resp->iovcnt = tresp->iovcnt; in _proxy_run_tresp_to_resp()
845 resp->chunked_total = tresp->chunked_total; in _proxy_run_tresp_to_resp()
846 resp->chunked_data_iov = tresp->chunked_data_iov; in _proxy_run_tresp_to_resp()
848 resp->request_id = tresp->request_id; in _proxy_run_tresp_to_resp()
849 resp->udp_sequence = tresp->udp_sequence; in _proxy_run_tresp_to_resp()
850 resp->udp_total = tresp->udp_total; in _proxy_run_tresp_to_resp()
851 resp->request_addr = tresp->request_addr; in _proxy_run_tresp_to_resp()
852 resp->request_addr_size = tresp->request_addr_size; in _proxy_run_tresp_to_resp()
853 resp->item = tresp->item; // will be populated if not extstore fetch in _proxy_run_tresp_to_resp()
854 tresp->item = NULL; // move ownership of the item to resp from tresp in _proxy_run_tresp_to_resp()
855 resp->skip = tresp->skip; in _proxy_run_tresp_to_resp()
913 mc_resp *tresp = r->cresp; in proxy_run_rcontext() local
915 _proxy_run_tresp_to_resp(tresp, resp); in proxy_run_rcontext()