Lines Matching full:response

98 	struct pdu *response;  in text_new_response()  local
106 response = pdu_new_response(request); in text_new_response()
107 bhstr2 = (struct iscsi_bhs_text_response *)response->pdu_bhs; in text_new_response()
120 return (response); in text_new_response()
127 struct pdu *response; in text_receive_response() local
131 response = pdu_new(conn); in text_receive_response()
132 pdu_receive(response); in text_receive_response()
133 if (response->pdu_bhs->bhs_opcode != ISCSI_BHS_OPCODE_TEXT_RESPONSE) in text_receive_response()
135 response->pdu_bhs->bhs_opcode); in text_receive_response()
136 bhstr = (struct iscsi_bhs_text_response *)response->pdu_bhs; in text_receive_response()
162 return (response); in text_receive_response()
202 struct pdu *request, *response; in text_read_response() local
205 response = text_receive_response(conn); in text_read_response()
206 bhstr = (struct iscsi_bhs_text_response *)response->pdu_bhs; in text_read_response()
209 keys_data = response->pdu_data; in text_read_response()
210 keys_len = response->pdu_data_len; in text_read_response()
211 response->pdu_data = NULL; in text_read_response()
214 keys_len + response->pdu_data_len); in text_read_response()
217 memcpy(keys_data + keys_len, response->pdu_data, in text_read_response()
218 response->pdu_data_len); in text_read_response()
219 keys_len += response->pdu_data_len; in text_read_response()
222 pdu_delete(response); in text_read_response()
229 pdu_delete(response); in text_read_response()
271 * Send a response back to the initiator as a series of TextResponse
287 struct pdu *request2, *response; in text_send_response() local
301 response = text_new_response(request, ttt, final); in text_send_response()
302 response->pdu_data = keys_data + keys_offset; in text_send_response()
303 response->pdu_data_len = todo; in text_send_response()
306 pdu_send(response); in text_send_response()
307 response->pdu_data = NULL; in text_send_response()
308 pdu_delete(response); in text_send_response()