Lines Matching refs:response
180 static void iscsi_pdu_update_statsn(const struct icl_pdu *response);
181 static void iscsi_pdu_handle_nop_in(struct icl_pdu *response);
182 static void iscsi_pdu_handle_scsi_response(struct icl_pdu *response);
183 static void iscsi_pdu_handle_task_response(struct icl_pdu *response);
184 static void iscsi_pdu_handle_data_in(struct icl_pdu *response);
185 static void iscsi_pdu_handle_logout_response(struct icl_pdu *response);
186 static void iscsi_pdu_handle_r2t(struct icl_pdu *response);
187 static void iscsi_pdu_handle_async_message(struct icl_pdu *response);
188 static void iscsi_pdu_handle_reject(struct icl_pdu *response);
681 iscsi_pdu_update_statsn(const struct icl_pdu *response) in iscsi_pdu_update_statsn() argument
687 is = PDU_SESSION(response); in iscsi_pdu_update_statsn()
695 bhsdi = (const struct iscsi_bhs_data_in *)response->ip_bhs; in iscsi_pdu_update_statsn()
760 iscsi_receive_callback(struct icl_pdu *response) in iscsi_receive_callback() argument
764 is = PDU_SESSION(response); in iscsi_receive_callback()
768 iscsi_pdu_update_statsn(response); in iscsi_receive_callback()
773 is->is_login_pdu = response; in iscsi_receive_callback()
775 icl_pdu_free(response); in iscsi_receive_callback()
786 switch (response->ip_bhs->bhs_opcode) { in iscsi_receive_callback()
788 iscsi_pdu_handle_nop_in(response); in iscsi_receive_callback()
792 iscsi_pdu_handle_scsi_response(response); in iscsi_receive_callback()
797 iscsi_pdu_handle_task_response(response); in iscsi_receive_callback()
801 iscsi_pdu_handle_data_in(response); in iscsi_receive_callback()
806 iscsi_pdu_handle_logout_response(response); in iscsi_receive_callback()
810 iscsi_pdu_handle_r2t(response); in iscsi_receive_callback()
814 iscsi_pdu_handle_async_message(response); in iscsi_receive_callback()
818 iscsi_pdu_handle_reject(response); in iscsi_receive_callback()
824 response->ip_bhs->bhs_opcode); in iscsi_receive_callback()
827 icl_pdu_free(response); in iscsi_receive_callback()
843 iscsi_pdu_handle_nop_in(struct icl_pdu *response) in iscsi_pdu_handle_nop_in() argument
853 is = PDU_SESSION(response); in iscsi_pdu_handle_nop_in()
854 bhsni = (struct iscsi_bhs_nop_in *)response->ip_bhs; in iscsi_pdu_handle_nop_in()
861 icl_pdu_free(response); in iscsi_pdu_handle_nop_in()
865 datasize = icl_pdu_data_segment_length(response); in iscsi_pdu_handle_nop_in()
871 icl_pdu_free(response); in iscsi_pdu_handle_nop_in()
875 icl_pdu_get_data(response, 0, data, datasize); in iscsi_pdu_handle_nop_in()
878 request = icl_pdu_new(response->ip_conn, M_NOWAIT); in iscsi_pdu_handle_nop_in()
883 icl_pdu_free(response); in iscsi_pdu_handle_nop_in()
900 icl_pdu_free(response); in iscsi_pdu_handle_nop_in()
907 icl_pdu_free(response); in iscsi_pdu_handle_nop_in()
912 iscsi_pdu_handle_scsi_response(struct icl_pdu *response) in iscsi_pdu_handle_scsi_response() argument
923 is = PDU_SESSION(response); in iscsi_pdu_handle_scsi_response()
925 bhssr = (struct iscsi_bhs_scsi_response *)response->ip_bhs; in iscsi_pdu_handle_scsi_response()
929 icl_pdu_free(response); in iscsi_pdu_handle_scsi_response()
952 icl_pdu_free(response); in iscsi_pdu_handle_scsi_response()
962 icl_pdu_free(response); in iscsi_pdu_handle_scsi_response()
1008 data_segment_len = icl_pdu_data_segment_length(response); in iscsi_pdu_handle_scsi_response()
1020 icl_pdu_get_data(response, 0, &sense_len, sizeof(sense_len)); in iscsi_pdu_handle_scsi_response()
1045 icl_pdu_get_data(response, sizeof(sense_len), &csio->sense_data, sense_len); in iscsi_pdu_handle_scsi_response()
1068 icl_pdu_free(response); in iscsi_pdu_handle_scsi_response()
1072 iscsi_pdu_handle_task_response(struct icl_pdu *response) in iscsi_pdu_handle_task_response() argument
1078 is = PDU_SESSION(response); in iscsi_pdu_handle_task_response()
1080 bhstmr = (struct iscsi_bhs_task_management_response *)response->ip_bhs; in iscsi_pdu_handle_task_response()
1085 icl_pdu_free(response); in iscsi_pdu_handle_task_response()
1100 icl_pdu_free(response); in iscsi_pdu_handle_task_response()
1104 iscsi_pdu_get_data_csio(struct icl_pdu *response, size_t pdu_offset, in iscsi_pdu_get_data_csio() argument
1109 icl_pdu_get_bio(response, pdu_offset, in iscsi_pdu_get_data_csio()
1113 icl_pdu_get_data(response, pdu_offset, in iscsi_pdu_get_data_csio()
1122 iscsi_pdu_handle_data_in(struct icl_pdu *response) in iscsi_pdu_handle_data_in() argument
1131 is = PDU_SESSION(response); in iscsi_pdu_handle_data_in()
1132 bhsdi = (struct iscsi_bhs_data_in *)response->ip_bhs; in iscsi_pdu_handle_data_in()
1136 icl_pdu_free(response); in iscsi_pdu_handle_data_in()
1146 icl_pdu_free(response); in iscsi_pdu_handle_data_in()
1151 io->io_datasn += response->ip_additional_pdus + 1; in iscsi_pdu_handle_data_in()
1153 data_segment_len = icl_pdu_data_segment_length(response); in iscsi_pdu_handle_data_in()
1161 icl_pdu_free(response); in iscsi_pdu_handle_data_in()
1173 icl_pdu_free(response); in iscsi_pdu_handle_data_in()
1186 icl_pdu_free(response); in iscsi_pdu_handle_data_in()
1199 iscsi_pdu_get_data_csio(response, 0, csio, oreceived, data_segment_len); in iscsi_pdu_handle_data_in()
1208 icl_pdu_free(response); in iscsi_pdu_handle_data_in()
1239 icl_pdu_free(response); in iscsi_pdu_handle_data_in()
1243 iscsi_pdu_handle_logout_response(struct icl_pdu *response) in iscsi_pdu_handle_logout_response() argument
1246 ISCSI_SESSION_DEBUG(PDU_SESSION(response), "logout response"); in iscsi_pdu_handle_logout_response()
1247 icl_pdu_free(response); in iscsi_pdu_handle_logout_response()
1267 iscsi_pdu_handle_r2t(struct icl_pdu *response) in iscsi_pdu_handle_r2t() argument
1279 is = PDU_SESSION(response); in iscsi_pdu_handle_r2t()
1281 bhsr2t = (struct iscsi_bhs_r2t *)response->ip_bhs; in iscsi_pdu_handle_r2t()
1286 icl_pdu_free(response); in iscsi_pdu_handle_r2t()
1295 icl_pdu_free(response); in iscsi_pdu_handle_r2t()
1308 icl_pdu_free(response); in iscsi_pdu_handle_r2t()
1317 icl_pdu_free(response); in iscsi_pdu_handle_r2t()
1339 icl_pdu_free(response); in iscsi_pdu_handle_r2t()
1344 request = icl_pdu_new(response->ip_conn, M_NOWAIT); in iscsi_pdu_handle_r2t()
1346 icl_pdu_free(response); in iscsi_pdu_handle_r2t()
1366 icl_pdu_free(response); in iscsi_pdu_handle_r2t()
1389 icl_pdu_free(response); in iscsi_pdu_handle_r2t()
1393 iscsi_pdu_handle_async_message(struct icl_pdu *response) in iscsi_pdu_handle_async_message() argument
1398 is = PDU_SESSION(response); in iscsi_pdu_handle_async_message()
1399 bhsam = (struct iscsi_bhs_asynchronous_message *)response->ip_bhs; in iscsi_pdu_handle_async_message()
1421 icl_pdu_free(response); in iscsi_pdu_handle_async_message()
1425 iscsi_pdu_handle_reject(struct icl_pdu *response) in iscsi_pdu_handle_reject() argument
1430 is = PDU_SESSION(response); in iscsi_pdu_handle_reject()
1431 bhsr = (struct iscsi_bhs_reject *)response->ip_bhs; in iscsi_pdu_handle_reject()
1435 icl_pdu_free(response); in iscsi_pdu_handle_reject()