Lines Matching refs:sense_buffer
130 uint8_t sense_buffer[VSCSIIF_SENSE_BUFFERSIZE]; member
218 static void scsiback_print_status(char *sense_buffer, int errors, in scsiback_print_status() argument
284 char *sense_buffer, int32_t result, uint32_t resid, in scsiback_send_response() argument
301 if (sense_buffer != NULL && in scsiback_send_response()
302 scsi_normalize_sense(sense_buffer, VSCSIIF_SENSE_BUFFERSIZE, in scsiback_send_response()
304 len = min_t(unsigned, 8 + sense_buffer[7], in scsiback_send_response()
306 memcpy(ring_res->sense_buffer, sense_buffer, len); in scsiback_send_response()
321 static void scsiback_do_resp_with_sense(char *sense_buffer, int32_t result, in scsiback_do_resp_with_sense() argument
324 scsiback_send_response(pending_req->info, sense_buffer, result, in scsiback_do_resp_with_sense()
335 unsigned char *sense_buffer; in scsiback_cmd_done() local
339 sense_buffer = pending_req->sense_buffer; in scsiback_cmd_done()
344 scsiback_print_status(sense_buffer, errors, pending_req); in scsiback_cmd_done()
347 scsiback_do_resp_with_sense(sense_buffer, errors, resid, pending_req); in scsiback_cmd_done()
364 target_init_cmd(se_cmd, sess, pending_req->sense_buffer, in scsiback_cmd_exec()
563 &pending_req->sense_buffer[0], in scsiback_device_action()
1399 if (se_cmd->sense_buffer && in scsiback_queue_status()