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
348 char *sense_buffer, int32_t result, uint32_t resid, in scsiback_send_response() argument
365 if (sense_buffer != NULL && in scsiback_send_response()
366 scsi_normalize_sense(sense_buffer, VSCSIIF_SENSE_BUFFERSIZE, in scsiback_send_response()
368 len = min_t(unsigned, 8 + sense_buffer[7], in scsiback_send_response()
370 memcpy(ring_res->sense_buffer, sense_buffer, len); in scsiback_send_response()
385 static void scsiback_do_resp_with_sense(char *sense_buffer, int32_t result, in scsiback_do_resp_with_sense() argument
388 scsiback_send_response(pending_req->info, sense_buffer, result, in scsiback_do_resp_with_sense()
399 unsigned char *sense_buffer; in scsiback_cmd_done() local
403 sense_buffer = pending_req->sense_buffer; in scsiback_cmd_done()
408 scsiback_print_status(sense_buffer, errors, pending_req); in scsiback_cmd_done()
411 scsiback_do_resp_with_sense(sense_buffer, errors, resid, pending_req); in scsiback_cmd_done()
428 target_init_cmd(se_cmd, sess, pending_req->sense_buffer, in scsiback_cmd_exec()
627 &pending_req->sense_buffer[0], in scsiback_device_action()
1463 if (se_cmd->sense_buffer && in scsiback_queue_status()