Lines Matching refs:sense_buffer
131 uint8_t sense_buffer[VSCSIIF_SENSE_BUFFERSIZE]; member
258 static void scsiback_print_status(char *sense_buffer, int errors, in scsiback_print_status() argument
323 char *sense_buffer, int32_t result, uint32_t resid, in scsiback_send_response() argument
340 if (sense_buffer != NULL && in scsiback_send_response()
341 scsi_normalize_sense(sense_buffer, VSCSIIF_SENSE_BUFFERSIZE, in scsiback_send_response()
343 len = min_t(unsigned, 8 + sense_buffer[7], in scsiback_send_response()
345 memcpy(ring_res->sense_buffer, sense_buffer, len); in scsiback_send_response()
360 static void scsiback_do_resp_with_sense(char *sense_buffer, int32_t result, in scsiback_do_resp_with_sense() argument
363 scsiback_send_response(pending_req->info, sense_buffer, result, in scsiback_do_resp_with_sense()
374 unsigned char *sense_buffer; in scsiback_cmd_done() local
378 sense_buffer = pending_req->sense_buffer; in scsiback_cmd_done()
383 scsiback_print_status(sense_buffer, errors, pending_req); in scsiback_cmd_done()
386 scsiback_do_resp_with_sense(sense_buffer, errors, resid, pending_req); in scsiback_cmd_done()
405 pending_req->sense_buffer, pending_req->v2p->lun, in scsiback_cmd_exec()
605 &pending_req->sense_buffer[0], in scsiback_device_action()
1431 if (se_cmd->sense_buffer && in scsiback_queue_status()