sense_buffer 1790 drivers/ata/libata-eh.c qc->scsicmd->sense_buffer, sense_buffer 3304 drivers/ata/libata-eh.c u8 *sense_buffer = dev->link->ap->sector_buf; sense_buffer 3319 drivers/ata/libata-eh.c err_mask = atapi_eh_request_sense(dev, sense_buffer, sense_key); sense_buffer 347 drivers/ata/libata-scsi.c scsi_build_sense_buffer(d_sense, cmd->sense_buffer, sk, asc, ascq); sense_buffer 363 drivers/ata/libata-scsi.c scsi_set_sense_information(cmd->sense_buffer, sense_buffer 372 drivers/ata/libata-scsi.c scsi_set_sense_field_pointer(cmd->sense_buffer, SCSI_SENSE_BUFFERSIZE, sense_buffer 381 drivers/ata/libata-scsi.c scsi_set_sense_field_pointer(cmd->sense_buffer, SCSI_SENSE_BUFFERSIZE, sense_buffer 1072 drivers/ata/libata-scsi.c unsigned char *sb = cmd->sense_buffer; sense_buffer 1095 drivers/ata/libata-scsi.c scsi_build_sense_buffer(1, cmd->sense_buffer, sense_buffer 1099 drivers/ata/libata-scsi.c if ((cmd->sense_buffer[0] & 0x7f) >= 0x72) { sense_buffer 1171 drivers/ata/libata-scsi.c unsigned char *sb = cmd->sense_buffer; sense_buffer 2816 drivers/ata/libata-scsi.c memset(cmd->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 2824 drivers/ata/libata-scsi.c cmd->sense_buffer[0] = 0x70; sense_buffer 2825 drivers/ata/libata-scsi.c cmd->sense_buffer[2] = qc->tf.feature >> 4; sense_buffer 2830 drivers/ata/libata-scsi.c sg_init_one(&qc->sgent, cmd->sense_buffer, SCSI_SENSE_BUFFERSIZE); sense_buffer 1362 drivers/firewire/sbp2.c orb->cmd->sense_buffer); sense_buffer 1855 drivers/infiniband/ulp/isert/ib_isert.c if (cmd->se_cmd.sense_buffer && sense_buffer 1864 drivers/infiniband/ulp/isert/ib_isert.c cmd->sense_buffer); sense_buffer 1872 drivers/infiniband/ulp/isert/ib_isert.c (void *)cmd->sense_buffer, pdu_len, sense_buffer 2158 drivers/infiniband/ulp/srp/ib_srp.c memcpy(scmnd->sense_buffer, rsp->data + sense_buffer 2917 drivers/infiniband/ulp/srpt/ib_srpt.c BUG_ON(ioctx->sense_data != cmd->sense_buffer); sense_buffer 554 drivers/message/fusion/mptscsih.c skey = sc->sense_buffer[2] & 0x0F; sense_buffer 555 drivers/message/fusion/mptscsih.c asc = sc->sense_buffer[12]; sense_buffer 556 drivers/message/fusion/mptscsih.c ascq = sc->sense_buffer[13]; sense_buffer 904 drivers/message/fusion/mptscsih.c (sc->sense_buffer[2] & 0x20)) { sense_buffer 907 drivers/message/fusion/mptscsih.c sc->sense_buffer[3] << 24 | sense_buffer 908 drivers/message/fusion/mptscsih.c sc->sense_buffer[4] << 16 | sense_buffer 909 drivers/message/fusion/mptscsih.c sc->sense_buffer[5] << 8 | sense_buffer 910 drivers/message/fusion/mptscsih.c sc->sense_buffer[6]; sense_buffer 911 drivers/message/fusion/mptscsih.c if (((sc->sense_buffer[3] & 0x80) == sense_buffer 914 drivers/message/fusion/mptscsih.c sc->sense_buffer[2] = sense_buffer 916 drivers/message/fusion/mptscsih.c sc->sense_buffer[12] = 0xff; sense_buffer 917 drivers/message/fusion/mptscsih.c sc->sense_buffer[13] = 0xff; sense_buffer 925 drivers/message/fusion/mptscsih.c if (((sc->sense_buffer[3] & 0x80) sense_buffer 929 drivers/message/fusion/mptscsih.c sc->sense_buffer[2] = sense_buffer 931 drivers/message/fusion/mptscsih.c sc->sense_buffer[12] = 0xff; sense_buffer 932 drivers/message/fusion/mptscsih.c sc->sense_buffer[13] = 0xff; sense_buffer 2425 drivers/message/fusion/mptscsih.c memcpy(sc->sense_buffer, sense_data, SNS_LEN(sc)); sense_buffer 299 drivers/s390/scsi/zfcp_fc.h memcpy(scsi->sense_buffer, sense, sense_len); sense_buffer 837 drivers/s390/scsi/zfcp_scsi.c scsi_build_sense_buffer(1, scmd->sense_buffer, sense_buffer 1020 drivers/scsi/3w-9xxx.c memcpy(tw_dev->srb[request_id]->sense_buffer, full_command_packet->header.sense_data, TW_SENSE_DATA_LENGTH); sense_buffer 893 drivers/scsi/3w-sas.c memcpy(tw_dev->srb[request_id]->sense_buffer, header->sense_data, TW_SENSE_DATA_LENGTH); sense_buffer 418 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->sense_buffer[0] = (0x1 << 7 | 0x70); sense_buffer 421 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->sense_buffer[2] = tw_sense_table[i][1]; sense_buffer 424 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->sense_buffer[7] = 0xa; /* 10 bytes */ sense_buffer 427 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->sense_buffer[12] = tw_sense_table[i][2]; sense_buffer 430 drivers/scsi/3w-xxxx.c tw_dev->srb[request_id]->sense_buffer[13] = tw_sense_table[i][3]; sense_buffer 1985 drivers/scsi/3w-xxxx.c scsi_build_sense_buffer(1, SCpnt->sense_buffer, ILLEGAL_REQUEST, 0x20, 0); sense_buffer 1005 drivers/scsi/53c700.c slot->dma_handle = dma_map_single(hostdata->dev, SCp->sense_buffer, SCSI_SENSE_BUFFERSIZE, DMA_FROM_DEVICE); sense_buffer 1012 drivers/scsi/53c700.c dma_cache_sync(hostdata->dev, SCp->sense_buffer, SCSI_SENSE_BUFFERSIZE, DMA_FROM_DEVICE); sense_buffer 2839 drivers/scsi/BusLogic.c blogic_notice(" %02X", adapter, command->sense_buffer[i]); sense_buffer 3043 drivers/scsi/BusLogic.c if (cdb[0] == REQUEST_SENSE && command->sense_buffer[0] != 0) { sense_buffer 3183 drivers/scsi/BusLogic.c command->sense_buffer, ccb->sense_datalen, sense_buffer 1040 drivers/scsi/a100u2w.c memcpy((unsigned char *) &cmd->sense_buffer[0], sense_buffer 1195 drivers/scsi/aacraid/aachba.c memcpy(cmd->sense_buffer, &dev->fsa_dev[cid].sense_data, sense_buffer 2373 drivers/scsi/aacraid/aachba.c memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, sense_buffer 2382 drivers/scsi/aacraid/aachba.c memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, sense_buffer 2396 drivers/scsi/aacraid/aachba.c memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, sense_buffer 2472 drivers/scsi/aacraid/aachba.c memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, sense_buffer 2564 drivers/scsi/aacraid/aachba.c memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, sense_buffer 2631 drivers/scsi/aacraid/aachba.c memcpy(cmd->sense_buffer, &dev->fsa_dev[cid].sense_data, sense_buffer 2924 drivers/scsi/aacraid/aachba.c memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, sense_buffer 3014 drivers/scsi/aacraid/aachba.c memcpy(scsicmd->sense_buffer, sense_buffer 3277 drivers/scsi/aacraid/aachba.c memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, sense_buffer 3305 drivers/scsi/aacraid/aachba.c memcpy(scsicmd->sense_buffer, sense_buffer 3337 drivers/scsi/aacraid/aachba.c memcpy(scsicmd->sense_buffer, &dev->fsa_dev[cid].sense_data, sense_buffer 3484 drivers/scsi/aacraid/aachba.c scsicmd->sense_buffer[0] = '\0'; /* Initialize sense valid flag to false */ sense_buffer 3520 drivers/scsi/aacraid/aachba.c memcpy(scsicmd->sense_buffer, sense_buffer 3662 drivers/scsi/aacraid/aachba.c memcpy(scsicmd->sense_buffer, sense_buffer 3694 drivers/scsi/aacraid/aachba.c memcpy(scsicmd->sense_buffer, sense_buffer 6022 drivers/scsi/advansys.c ASC_DBG_PRT_SENSE(2, scp->sense_buffer, sense_buffer 6790 drivers/scsi/advansys.c ASC_DBG_PRT_SENSE(2, scp->sense_buffer, sense_buffer 7498 drivers/scsi/advansys.c scp->SCp.dma_handle = dma_map_single(board->dev, scp->sense_buffer, sense_buffer 7791 drivers/scsi/advansys.c sense_addr = dma_map_single(boardp->dev, scp->sense_buffer, sense_buffer 362 drivers/scsi/aha1542.c memcpy(tmp_cmd->sense_buffer, &ccb[mbo].cdb[ccb[mbo].cdblen], sense_buffer 269 drivers/scsi/aha1740.c memcpy(SCtmp->sense_buffer, ecbptr->sense, sense_buffer 1801 drivers/scsi/aic7xxx/aic79xx_osm.c cmd->sense_buffer[0] = 0; sense_buffer 1939 drivers/scsi/aic7xxx/aic79xx_osm.c memset(cmd->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 1940 drivers/scsi/aic7xxx/aic79xx_osm.c memcpy(cmd->sense_buffer, sense_buffer 1954 drivers/scsi/aic7xxx/aic79xx_osm.c printk("0x%x ", cmd->sense_buffer[i]); sense_buffer 2062 drivers/scsi/aic7xxx/aic79xx_osm.c cmd->sense_buffer; sense_buffer 1730 drivers/scsi/aic7xxx/aic7xxx_osm.c cmd->sense_buffer[0] = 0; sense_buffer 1851 drivers/scsi/aic7xxx/aic7xxx_osm.c memcpy(cmd->sense_buffer, sense_buffer 1854 drivers/scsi/aic7xxx/aic7xxx_osm.c memset(&cmd->sense_buffer[sense_size], 0, sense_buffer 1866 drivers/scsi/aic7xxx/aic7xxx_osm.c printk("0x%x ", cmd->sense_buffer[i]); sense_buffer 1273 drivers/scsi/arcmsr/arcmsr_hba.c struct SENSE_DATA *sensebuffer = (struct SENSE_DATA *)pcmd->sense_buffer; sense_buffer 2869 drivers/scsi/arcmsr/arcmsr_hba.c (struct SENSE_DATA *)cmd->sense_buffer; sense_buffer 2019 drivers/scsi/arm/fas216.c memset(SCpnt->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 591 drivers/scsi/atp870u.c req_p->sense_buffer[0]=0; sense_buffer 1153 drivers/scsi/be2iscsi/be_main.c memcpy(task->sc->sense_buffer, sense, sense_buffer 52 drivers/scsi/bfa/bfad_im.c memcpy(cmnd->sense_buffer, sns_info, sns_len); sense_buffer 1836 drivers/scsi/bnx2fc/bnx2fc_io.c memset(sc_cmd->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 1838 drivers/scsi/bnx2fc/bnx2fc_io.c memcpy(sc_cmd->sense_buffer, rq_data, fcp_sns_len); sense_buffer 1601 drivers/scsi/csiostor/csio_scsi.c memcpy(cmnd->sense_buffer, sense_buffer 78 drivers/scsi/cxlflash/main.c memcpy(scp->sense_buffer, ioasa->sense_data, sense_buffer 3233 drivers/scsi/dc395x.c switch (cmd->sense_buffer[2] & 0x0f) { sense_buffer 3265 drivers/scsi/dc395x.c if (cmd->sense_buffer[7] >= 6) sense_buffer 3268 drivers/scsi/dc395x.c cmd->sense_buffer[2], cmd->sense_buffer[12], sense_buffer 3269 drivers/scsi/dc395x.c cmd->sense_buffer[13], sense_buffer 3270 drivers/scsi/dc395x.c *((unsigned int *)(cmd->sense_buffer + 3)), sense_buffer 3271 drivers/scsi/dc395x.c *((unsigned int *)(cmd->sense_buffer + 8))); sense_buffer 3274 drivers/scsi/dc395x.c cmd->sense_buffer[2], sense_buffer 3275 drivers/scsi/dc395x.c *((unsigned int *)(cmd->sense_buffer + 3))); sense_buffer 3578 drivers/scsi/dc395x.c memset(cmd->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 3591 drivers/scsi/dc395x.c cmd->sense_buffer, SCSI_SENSE_BUFFERSIZE, sense_buffer 3594 drivers/scsi/dc395x.c cmd->sense_buffer, srb->segment_x[0].address, sense_buffer 435 drivers/scsi/dpt_i2o.c if ((cmd->cmnd[0] == REQUEST_SENSE) && (cmd->sense_buffer[0] != 0)) { sense_buffer 2362 drivers/scsi/dpt_i2o.c cmd->sense_buffer[0] = '\0'; // initialize sense valid flag to false sense_buffer 2435 drivers/scsi/dpt_i2o.c memcpy_fromio(cmd->sense_buffer, (reply+28) , len); sense_buffer 2436 drivers/scsi/dpt_i2o.c if(cmd->sense_buffer[0] == 0x70 /* class 7 */ && sense_buffer 2437 drivers/scsi/dpt_i2o.c cmd->sense_buffer[2] == DATA_PROTECT ){ sense_buffer 849 drivers/scsi/esas2r/esas2r_main.c rq->sense_buf = cmd->sense_buffer; sense_buffer 408 drivers/scsi/esp_scsi.c (ent->sense_ptr - cmd->sense_buffer); sense_buffer 423 drivers/scsi/esp_scsi.c (ent->sense_ptr - cmd->sense_buffer); sense_buffer 629 drivers/scsi/esp_scsi.c ent->sense_ptr = ent->cmd->sense_buffer; sense_buffer 931 drivers/scsi/esp_scsi.c printk("%02x ", cmd->sense_buffer[i]); sense_buffer 354 drivers/scsi/fnic/fnic_scsi.c sc->sense_buffer, sense_buffer 345 drivers/scsi/gdth.c scp->sense_buffer = kzalloc(SCSI_SENSE_BUFFERSIZE, GFP_KERNEL); sense_buffer 346 drivers/scsi/gdth.c if (!scp->sense_buffer) { sense_buffer 370 drivers/scsi/gdth.c kfree(scp->sense_buffer); sense_buffer 1677 drivers/scsi/gdth.c memset((char*)nscp->sense_buffer,0,16); sense_buffer 1678 drivers/scsi/gdth.c nscp->sense_buffer[0] = 0x70; sense_buffer 1679 drivers/scsi/gdth.c nscp->sense_buffer[2] = NOT_READY; sense_buffer 1722 drivers/scsi/gdth.c memset((char*)nscp->sense_buffer,0,16); sense_buffer 1723 drivers/scsi/gdth.c nscp->sense_buffer[0] = 0x70; sense_buffer 1724 drivers/scsi/gdth.c nscp->sense_buffer[2] = UNIT_ATTENTION; sense_buffer 1741 drivers/scsi/gdth.c nscp->sense_buffer[0] = 0; sense_buffer 1774 drivers/scsi/gdth.c memset((char*)nscp->sense_buffer,0,16); sense_buffer 1775 drivers/scsi/gdth.c nscp->sense_buffer[0] = 0x70; sense_buffer 1776 drivers/scsi/gdth.c nscp->sense_buffer[2] = UNIT_ATTENTION; sense_buffer 1885 drivers/scsi/gdth.c scp->sense_buffer[0] = 0; sense_buffer 2185 drivers/scsi/gdth.c sense_paddr = dma_map_single(&ha->pdev->dev, scp->sense_buffer, 16, sense_buffer 2786 drivers/scsi/gdth.c scp->sense_buffer[0] = 0; sense_buffer 2802 drivers/scsi/gdth.c memset((char*)scp->sense_buffer,0,16); sense_buffer 2803 drivers/scsi/gdth.c scp->sense_buffer[0] = 0x70; sense_buffer 2804 drivers/scsi/gdth.c scp->sense_buffer[2] = NOT_READY; sense_buffer 2813 drivers/scsi/gdth.c memset((char*)scp->sense_buffer,0,16); sense_buffer 2817 drivers/scsi/gdth.c scp->sense_buffer[0] = 0x70; sense_buffer 2818 drivers/scsi/gdth.c scp->sense_buffer[2] = NOT_READY; sense_buffer 2343 drivers/scsi/hpsa.c memset(cmd->sense_buffer, 0, sense_buffer 2354 drivers/scsi/hpsa.c memcpy(cmd->sense_buffer, sense_buffer 2659 drivers/scsi/hpsa.c memcpy(cmd->sense_buffer, ei->SenseInfo, sense_data_size); sense_buffer 759 drivers/scsi/hptiop.c memcpy(scp->sense_buffer, &req->sg_list, SCSI_SENSE_BUFFERSIZE); sense_buffer 1541 drivers/scsi/ibmvscsi/ibmvfc.c memcpy(cmnd->sense_buffer, rsp->data.sense + rsp_len, sense_len); sense_buffer 990 drivers/scsi/ibmvscsi/ibmvscsi.c memcpy(cmnd->sense_buffer, sense_buffer 3068 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (scsi_normalize_sense(se_cmd->sense_buffer, sense_buffer 3120 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c if (se_cmd->scsi_sense_length && se_cmd->sense_buffer) { sense_buffer 3125 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c memcpy(data, se_cmd->sense_buffer, sense_buffer 3808 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c sd = se_cmd->sense_buffer; sense_buffer 3810 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c memset(se_cmd->sense_buffer, 0, se_cmd->scsi_sense_length); sense_buffer 3812 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c scsi_build_sense_buffer(0, se_cmd->sense_buffer, MEDIUM_ERROR, sense_buffer 2552 drivers/scsi/initio.c dma_addr = dma_map_single(&host->pci_dev->dev, cmnd->sense_buffer, sense_buffer 666 drivers/scsi/ipr.c ipr_cmd->sense_buffer[0] = 0; sense_buffer 6043 drivers/scsi/ipr.c memcpy(scsi_cmd->sense_buffer, ipr_cmd->sense_buffer, sense_buffer 6280 drivers/scsi/ipr.c u8 *sense_buf = ipr_cmd->scsi_cmd->sense_buffer; sense_buffer 6379 drivers/scsi/ipr.c memcpy(ipr_cmd->scsi_cmd->sense_buffer, ioasa64->auto_sense.data, sense_buffer 6383 drivers/scsi/ipr.c memcpy(ipr_cmd->scsi_cmd->sense_buffer, ioasa->auto_sense.data, sense_buffer 6672 drivers/scsi/ipr.c memset(scsi_cmd->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 9720 drivers/scsi/ipr.c offsetof(struct ipr_cmnd, sense_buffer); sense_buffer 1623 drivers/scsi/ipr.h u8 sense_buffer[SCSI_SENSE_BUFFERSIZE]; sense_buffer 3342 drivers/scsi/ips.c memcpy(scb->scsi_cmd->sense_buffer, sense_buffer 3346 drivers/scsi/ips.c memcpy(scb->scsi_cmd->sense_buffer, sense_buffer 3692 drivers/scsi/ips.c sp = (char *) scb->scsi_cmd->sense_buffer; sense_buffer 904 drivers/scsi/libfc/fc_fcp.c memcpy(fsp->cmd->sense_buffer, sense_buffer 818 drivers/scsi/libiscsi.c scsi_build_sense_buffer(1, sc->sense_buffer, sense_buffer 820 drivers/scsi/libiscsi.c scsi_set_sense_information(sc->sense_buffer, sense_buffer 848 drivers/scsi/libiscsi.c memcpy(sc->sense_buffer, data + 2, sense_buffer 86 drivers/scsi/libsas/sas_scsi_host.c memcpy(sc->sense_buffer, ts->buf, sense_buffer 2846 drivers/scsi/lpfc/lpfc_scsi.c scsi_build_sense_buffer(1, cmd->sense_buffer, ILLEGAL_REQUEST, sense_buffer 2857 drivers/scsi/lpfc/lpfc_scsi.c scsi_build_sense_buffer(1, cmd->sense_buffer, ILLEGAL_REQUEST, sense_buffer 2869 drivers/scsi/lpfc/lpfc_scsi.c scsi_build_sense_buffer(1, cmd->sense_buffer, ILLEGAL_REQUEST, sense_buffer 2933 drivers/scsi/lpfc/lpfc_scsi.c scsi_build_sense_buffer(1, cmd->sense_buffer, ILLEGAL_REQUEST, sense_buffer 2949 drivers/scsi/lpfc/lpfc_scsi.c scsi_build_sense_buffer(1, cmd->sense_buffer, ILLEGAL_REQUEST, sense_buffer 2966 drivers/scsi/lpfc/lpfc_scsi.c scsi_build_sense_buffer(1, cmd->sense_buffer, ILLEGAL_REQUEST, sense_buffer 2987 drivers/scsi/lpfc/lpfc_scsi.c cmd->sense_buffer[7] = 0xc; /* Additional sense length */ sense_buffer 2988 drivers/scsi/lpfc/lpfc_scsi.c cmd->sense_buffer[8] = 0; /* Information descriptor type */ sense_buffer 2989 drivers/scsi/lpfc/lpfc_scsi.c cmd->sense_buffer[9] = 0xa; /* Additional descriptor length */ sense_buffer 2990 drivers/scsi/lpfc/lpfc_scsi.c cmd->sense_buffer[10] = 0x80; /* Validity bit */ sense_buffer 3011 drivers/scsi/lpfc/lpfc_scsi.c put_unaligned_be64(failing_sector, &cmd->sense_buffer[12]); sense_buffer 3531 drivers/scsi/lpfc/lpfc_scsi.c cmnd->sense_buffer[2] & 0xf; sense_buffer 3532 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.check_cond_evt.asc = cmnd->sense_buffer[12]; sense_buffer 3533 drivers/scsi/lpfc/lpfc_scsi.c fast_path_evt->un.check_cond_evt.ascq = cmnd->sense_buffer[13]; sense_buffer 3664 drivers/scsi/lpfc/lpfc_scsi.c memcpy(cmnd->sense_buffer, &fcprsp->rspInfo0 + rsplen, snslen); sense_buffer 3666 drivers/scsi/lpfc/lpfc_scsi.c lp = (uint32_t *)cmnd->sense_buffer; sense_buffer 4000 drivers/scsi/lpfc/lpfc_scsi.c uint32_t *lp = (uint32_t *)cmd->sense_buffer; sense_buffer 1579 drivers/scsi/megaraid.c memcpy(cmd->sense_buffer, pthru->reqsensearea, sense_buffer 1589 drivers/scsi/megaraid.c memcpy(cmd->sense_buffer, sense_buffer 1596 drivers/scsi/megaraid.c cmd->sense_buffer[0] = 0x70; sense_buffer 1597 drivers/scsi/megaraid.c cmd->sense_buffer[2] = ABORTED_COMMAND; sense_buffer 1577 drivers/scsi/megaraid/megaraid_mbox.c scp->sense_buffer[0] = 0x70; sense_buffer 1578 drivers/scsi/megaraid/megaraid_mbox.c scp->sense_buffer[2] = ILLEGAL_REQUEST; sense_buffer 1579 drivers/scsi/megaraid/megaraid_mbox.c scp->sense_buffer[12] = MEGA_INVALID_FIELD_IN_CDB; sense_buffer 2301 drivers/scsi/megaraid/megaraid_mbox.c memcpy(scp->sense_buffer, pthru->reqsensearea, sense_buffer 2310 drivers/scsi/megaraid/megaraid_mbox.c memcpy(scp->sense_buffer, sense_buffer 2317 drivers/scsi/megaraid/megaraid_mbox.c scp->sense_buffer[0] = 0x70; sense_buffer 2318 drivers/scsi/megaraid/megaraid_mbox.c scp->sense_buffer[2] = ABORTED_COMMAND; sense_buffer 3547 drivers/scsi/megaraid/megaraid_sas_base.c memset(cmd->scmd->sense_buffer, 0, sense_buffer 3549 drivers/scsi/megaraid/megaraid_sas_base.c memcpy(cmd->scmd->sense_buffer, cmd->sense, sense_buffer 1988 drivers/scsi/megaraid/megaraid_sas_fusion.c memset(scmd->sense_buffer, 0, sense_buffer 1990 drivers/scsi/megaraid/megaraid_sas_fusion.c memcpy(scmd->sense_buffer, sense, sense_buffer 4622 drivers/scsi/mpt3sas/mpt3sas_scsih.c scsi_build_sense_buffer(0, scmd->sense_buffer, ILLEGAL_REQUEST, 0x10, sense_buffer 4796 drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_normalize_sense(char *sense_buffer, struct sense_info *data) sense_buffer 4798 drivers/scsi/mpt3sas/mpt3sas_scsih.c if ((sense_buffer[0] & 0x7F) >= 0x72) { sense_buffer 4800 drivers/scsi/mpt3sas/mpt3sas_scsih.c data->skey = sense_buffer[1] & 0x0F; sense_buffer 4801 drivers/scsi/mpt3sas/mpt3sas_scsih.c data->asc = sense_buffer[2]; sense_buffer 4802 drivers/scsi/mpt3sas/mpt3sas_scsih.c data->ascq = sense_buffer[3]; sense_buffer 4805 drivers/scsi/mpt3sas/mpt3sas_scsih.c data->skey = sense_buffer[2] & 0x0F; sense_buffer 4806 drivers/scsi/mpt3sas/mpt3sas_scsih.c data->asc = sense_buffer[12]; sense_buffer 4807 drivers/scsi/mpt3sas/mpt3sas_scsih.c data->ascq = sense_buffer[13]; sense_buffer 5011 drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_normalize_sense(scmd->sense_buffer, &data); sense_buffer 5301 drivers/scsi/mpt3sas/mpt3sas_scsih.c memcpy(scmd->sense_buffer, sense_data, sz); sense_buffer 5302 drivers/scsi/mpt3sas/mpt3sas_scsih.c _scsih_normalize_sense(scmd->sense_buffer, &data); sense_buffer 5310 drivers/scsi/mpt3sas/mpt3sas_scsih.c ((scmd->sense_buffer[2] == UNIT_ATTENTION) || sense_buffer 5311 drivers/scsi/mpt3sas/mpt3sas_scsih.c (scmd->sense_buffer[2] == MEDIUM_ERROR) || sense_buffer 5312 drivers/scsi/mpt3sas/mpt3sas_scsih.c (scmd->sense_buffer[2] == HARDWARE_ERROR))) sense_buffer 5384 drivers/scsi/mpt3sas/mpt3sas_scsih.c scmd->sense_buffer[0] = 0x70; sense_buffer 5385 drivers/scsi/mpt3sas/mpt3sas_scsih.c scmd->sense_buffer[2] = ILLEGAL_REQUEST; sense_buffer 5386 drivers/scsi/mpt3sas/mpt3sas_scsih.c scmd->sense_buffer[12] = 0x20; sense_buffer 5387 drivers/scsi/mpt3sas/mpt3sas_scsih.c scmd->sense_buffer[13] = 0; sense_buffer 1317 drivers/scsi/mvumi.c memcpy(cmd->scmd->sense_buffer, ob_frame->payload, sense_buffer 2072 drivers/scsi/mvumi.c scsi_build_sense_buffer(0, scmd->sense_buffer, ILLEGAL_REQUEST, 0x24, sense_buffer 1402 drivers/scsi/myrb.c scsi_build_sense_buffer(0, scmd->sense_buffer, sense_buffer 1404 drivers/scsi/myrb.c scsi_sg_copy_from_buffer(scmd, scmd->sense_buffer, sense_buffer 1452 drivers/scsi/myrb.c scsi_build_sense_buffer(0, scmd->sense_buffer, sense_buffer 1470 drivers/scsi/myrb.c scsi_build_sense_buffer(0, scmd->sense_buffer, sense_buffer 1484 drivers/scsi/myrb.c scsi_build_sense_buffer(0, scmd->sense_buffer, sense_buffer 1494 drivers/scsi/myrb.c scsi_build_sense_buffer(0, scmd->sense_buffer, sense_buffer 1511 drivers/scsi/myrb.c scsi_build_sense_buffer(0, scmd->sense_buffer, sense_buffer 1524 drivers/scsi/myrb.c scsi_build_sense_buffer(0, scmd->sense_buffer, sense_buffer 1541 drivers/scsi/myrb.c scsi_build_sense_buffer(0, scmd->sense_buffer, sense_buffer 1558 drivers/scsi/myrb.c scsi_build_sense_buffer(0, scmd->sense_buffer, sense_buffer 1574 drivers/scsi/myrb.c scsi_build_sense_buffer(0, scmd->sense_buffer, sense_buffer 2336 drivers/scsi/myrb.c memcpy(scmd->sense_buffer, &cmd_blk->dcdb->sense, 64); sense_buffer 2357 drivers/scsi/myrb.c scsi_build_sense_buffer(0, scmd->sense_buffer, sense_buffer 2361 drivers/scsi/myrb.c scsi_build_sense_buffer(0, scmd->sense_buffer, sense_buffer 2369 drivers/scsi/myrb.c scsi_build_sense_buffer(0, scmd->sense_buffer, sense_buffer 2373 drivers/scsi/myrb.c scsi_build_sense_buffer(0, scmd->sense_buffer, sense_buffer 2386 drivers/scsi/myrb.c scsi_build_sense_buffer(0, scmd->sense_buffer, sense_buffer 1605 drivers/scsi/myrs.c scsi_build_sense_buffer(0, scmd->sense_buffer, ILLEGAL_REQUEST, sense_buffer 1617 drivers/scsi/myrs.c scsi_build_sense_buffer(0, scmd->sense_buffer, sense_buffer 2067 drivers/scsi/myrs.c memcpy(scmd->sense_buffer, cmd_blk->sense, sense_len); sense_buffer 4956 drivers/scsi/ncr53c8xx.c memcpy(cmd->sense_buffer, cp->sense_buf, sense_buffer 4961 drivers/scsi/ncr53c8xx.c u_char *p = cmd->sense_buffer; sense_buffer 5034 drivers/scsi/ncr53c8xx.c p = (u_char*) &cmd->sense_buffer; sense_buffer 333 drivers/scsi/pmcraid.c cmd->sense_buffer = NULL; sense_buffer 834 drivers/scsi/pmcraid.c if (cmd->sense_buffer) { sense_buffer 837 drivers/scsi/pmcraid.c cmd->sense_buffer = NULL; sense_buffer 2427 drivers/scsi/pmcraid.c cmd->sense_buffer = cmd->scsi_cmd->sense_buffer; sense_buffer 2428 drivers/scsi/pmcraid.c cmd->sense_buffer_dma = dma_map_single(dev, cmd->sense_buffer, sense_buffer 2513 drivers/scsi/pmcraid.c u8 *sense_buf = cmd->scsi_cmd->sense_buffer; sense_buffer 2660 drivers/scsi/pmcraid.c memcpy(scsi_cmd->sense_buffer, sense_buffer 594 drivers/scsi/pmcraid.h u8 *sense_buffer; sense_buffer 237 drivers/scsi/ps3rom.c memset(cmd->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 239 drivers/scsi/ps3rom.c cmd->sense_buffer[0] = 0x70; sense_buffer 240 drivers/scsi/ps3rom.c cmd->sense_buffer[2] = ILLEGAL_REQUEST; sense_buffer 322 drivers/scsi/ps3rom.c scsi_build_sense_buffer(0, cmd->sense_buffer, sense_key, asc, ascq); sense_buffer 157 drivers/scsi/qedf/qedf.h uint8_t *sense_buffer; sense_buffer 158 drivers/scsi/qedf/qedf_io.c if (io_req->sense_buffer) sense_buffer 160 drivers/scsi/qedf/qedf_io.c QEDF_SCSI_SENSE_BUFFERSIZE, io_req->sense_buffer, sense_buffer 230 drivers/scsi/qedf/qedf_io.c io_req->sense_buffer = dma_alloc_coherent(&qedf->pdev->dev, sense_buffer 233 drivers/scsi/qedf/qedf_io.c if (!io_req->sense_buffer) { sense_buffer 1088 drivers/scsi/qedf/qedf_io.c rsp_info = sense_data = io_req->sense_buffer; sense_buffer 1107 drivers/scsi/qedf/qedf_io.c if (sc_cmd->sense_buffer) { sense_buffer 1108 drivers/scsi/qedf/qedf_io.c memset(sc_cmd->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 1110 drivers/scsi/qedf/qedf_io.c memcpy(sc_cmd->sense_buffer, sense_data, sense_buffer 1370 drivers/scsi/qedf/qedf_io.c if (!sc_cmd->sense_buffer) { sense_buffer 1377 drivers/scsi/qedf/qedf_io.c if (!virt_addr_valid(sc_cmd->sense_buffer)) { sense_buffer 636 drivers/scsi/qedi/qedi_fw.c memcpy((char *)conn->data, (char *)cmd->sense_buffer, datalen); sense_buffer 179 drivers/scsi/qedi/qedi_iscsi.c if (cmd->sense_buffer) sense_buffer 182 drivers/scsi/qedi/qedi_iscsi.c cmd->sense_buffer, sense_buffer 222 drivers/scsi/qedi/qedi_iscsi.c cmd->sense_buffer = dma_alloc_coherent(&qedi->pdev->dev, sense_buffer 226 drivers/scsi/qedi/qedi_iscsi.c if (!cmd->sense_buffer) sense_buffer 184 drivers/scsi/qedi/qedi_iscsi.h unsigned char *sense_buffer; sense_buffer 489 drivers/scsi/qla1280.c #define CMD_SNSP(Cmnd) Cmnd->sense_buffer sense_buffer 3659 drivers/scsi/qla1280.c memcpy(cmd->sense_buffer, sense_buffer 3663 drivers/scsi/qla1280.c memset(cmd->sense_buffer + sense_sz, 0, sense_buffer 3671 drivers/scsi/qla1280.c (char *)cmd->sense_buffer, sense_buffer 2092 drivers/scsi/qla2xxx/qla_isr.c SET_CMD_SENSE_PTR(sp, cp->sense_buffer); sense_buffer 2098 drivers/scsi/qla2xxx/qla_isr.c memcpy(cp->sense_buffer, sense_data, sense_len); sense_buffer 2100 drivers/scsi/qla2xxx/qla_isr.c SET_CMD_SENSE_PTR(sp, cp->sense_buffer + sense_len); sense_buffer 2115 drivers/scsi/qla2xxx/qla_isr.c cp->sense_buffer, sense_len); sense_buffer 2222 drivers/scsi/qla2xxx/qla_isr.c scsi_build_sense_buffer(1, cmd->sense_buffer, ILLEGAL_REQUEST, sense_buffer 2232 drivers/scsi/qla2xxx/qla_isr.c scsi_build_sense_buffer(1, cmd->sense_buffer, ILLEGAL_REQUEST, sense_buffer 2242 drivers/scsi/qla2xxx/qla_isr.c scsi_build_sense_buffer(1, cmd->sense_buffer, ILLEGAL_REQUEST, sense_buffer 2630 drivers/scsi/qla2xxx/qla_isr.c memset(cp->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 2699 drivers/scsi/qla2xxx/qla_isr.c memset(cp->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 2143 drivers/scsi/qla2xxx/qla_mr.c SET_CMD_SENSE_PTR(sp, cp->sense_buffer); sense_buffer 2149 drivers/scsi/qla2xxx/qla_mr.c memcpy(cp->sense_buffer, sense_data, sense_len); sense_buffer 2153 drivers/scsi/qla2xxx/qla_mr.c SET_CMD_SENSE_PTR(sp, cp->sense_buffer + sense_len); sense_buffer 2171 drivers/scsi/qla2xxx/qla_mr.c cp->sense_buffer, sense_len); sense_buffer 2405 drivers/scsi/qla2xxx/qla_mr.c memset(cp->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 2486 drivers/scsi/qla2xxx/qla_mr.c memset(cp->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 2680 drivers/scsi/qla2xxx/qla_target.c if (prm->sense_buffer && (prm->sense_buffer[12] == 0x10)) { sense_buffer 2684 drivers/scsi/qla2xxx/qla_target.c switch (prm->sense_buffer[13]) { sense_buffer 2732 drivers/scsi/qla2xxx/qla_target.c prm->sense_buffer = &cmd->sense_buffer[0]; sense_buffer 2773 drivers/scsi/qla2xxx/qla_target.c if (QLA_TGT_SENSE_VALID(prm->sense_buffer) || sense_buffer 2811 drivers/scsi/qla2xxx/qla_target.c if (QLA_TGT_SENSE_VALID(prm->sense_buffer)) { sense_buffer 2837 drivers/scsi/qla2xxx/qla_target.c cpu_to_be32(((uint32_t *)prm->sense_buffer)[i]); sense_buffer 864 drivers/scsi/qla2xxx/qla_target.h unsigned char sense_buffer[TRANSPORT_SENSE_BUFFER]; sense_buffer 971 drivers/scsi/qla2xxx/qla_target.h unsigned char *sense_buffer; sense_buffer 461 drivers/scsi/qla2xxx/tcm_qla2xxx.c return target_submit_cmd(se_cmd, se_sess, cdb, &cmd->sense_buffer[0], sense_buffer 26 drivers/scsi/qla4xxx/ql4_isr.c memset(cmd->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 39 drivers/scsi/qla4xxx/ql4_isr.c srb->req_sense_ptr = cmd->sense_buffer; sense_buffer 44 drivers/scsi/qla4xxx/ql4_isr.c memcpy(cmd->sense_buffer, sts_entry->senseData, sense_len); sense_buffer 55 drivers/scsi/qla4xxx/ql4_isr.c DEBUG5(qla4xxx_dump_buffer(cmd->sense_buffer, sense_len)); sense_buffer 1179 drivers/scsi/qlogicpti.c memcpy(Cmnd->sense_buffer, sts->req_sense_data, sense_buffer 138 drivers/scsi/scsi_common.c bool scsi_normalize_sense(const u8 *sense_buffer, int sb_len, sense_buffer 143 drivers/scsi/scsi_common.c if (!sense_buffer || !sb_len) sense_buffer 146 drivers/scsi/scsi_common.c sshdr->response_code = (sense_buffer[0] & 0x7f); sense_buffer 156 drivers/scsi/scsi_common.c sshdr->sense_key = (sense_buffer[1] & 0xf); sense_buffer 158 drivers/scsi/scsi_common.c sshdr->asc = sense_buffer[2]; sense_buffer 160 drivers/scsi/scsi_common.c sshdr->ascq = sense_buffer[3]; sense_buffer 162 drivers/scsi/scsi_common.c sshdr->additional_length = sense_buffer[7]; sense_buffer 168 drivers/scsi/scsi_common.c sshdr->sense_key = (sense_buffer[2] & 0xf); sense_buffer 170 drivers/scsi/scsi_common.c sb_len = (sb_len < (sense_buffer[7] + 8)) ? sense_buffer 171 drivers/scsi/scsi_common.c sb_len : (sense_buffer[7] + 8); sense_buffer 173 drivers/scsi/scsi_common.c sshdr->asc = sense_buffer[12]; sense_buffer 175 drivers/scsi/scsi_common.c sshdr->ascq = sense_buffer[13]; sense_buffer 196 drivers/scsi/scsi_common.c const u8 * scsi_sense_desc_find(const u8 * sense_buffer, int sb_len, sense_buffer 202 drivers/scsi/scsi_common.c if ((sb_len < 8) || (0 == (add_sen_len = sense_buffer[7]))) sense_buffer 204 drivers/scsi/scsi_common.c if ((sense_buffer[0] < 0x72) || (sense_buffer[0] > 0x73)) sense_buffer 208 drivers/scsi/scsi_common.c descp = &sense_buffer[8]; sense_buffer 774 drivers/scsi/scsi_debug.c sbuff = scp->sense_buffer; sense_buffer 810 drivers/scsi/scsi_debug.c sbuff = scp->sense_buffer; sense_buffer 1554 drivers/scsi/scsi_debug.c sbuff = scp->sense_buffer; sense_buffer 2742 drivers/scsi/scsi_debug.c if (0x70 == (scp->sense_buffer[0] & 0x7f)) { sense_buffer 2743 drivers/scsi/scsi_debug.c scp->sense_buffer[0] |= 0x80; /* Valid bit */ sense_buffer 2746 drivers/scsi/scsi_debug.c put_unaligned_be32(ret, scp->sense_buffer + 3); sense_buffer 517 drivers/scsi/scsi_error.c if (scmd->sense_buffer[2] & 0xe0) sense_buffer 526 drivers/scsi/scsi_error.c (scmd->sense_buffer[8] == 0x4) && sense_buffer 527 drivers/scsi/scsi_error.c (scmd->sense_buffer[11] & 0xe0)) sense_buffer 986 drivers/scsi/scsi_error.c sg_init_one(&ses->sense_sgl, scmd->sense_buffer, sense_buffer 1013 drivers/scsi/scsi_error.c memset(scmd->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 2426 drivers/scsi/scsi_error.c return scsi_normalize_sense(cmd->sense_buffer, sense_buffer 2441 drivers/scsi/scsi_error.c bool scsi_get_sense_info_fld(const u8 *sense_buffer, int sb_len, sense_buffer 2448 drivers/scsi/scsi_error.c switch (sense_buffer[0] & 0x7f) { sense_buffer 2451 drivers/scsi/scsi_error.c if (sense_buffer[0] & 0x80) { sense_buffer 2452 drivers/scsi/scsi_error.c *info_out = get_unaligned_be32(&sense_buffer[3]); sense_buffer 2458 drivers/scsi/scsi_error.c ucp = scsi_sense_desc_find(sense_buffer, sb_len, sense_buffer 69 drivers/scsi/scsi_lib.c unsigned char *sense_buffer) sense_buffer 72 drivers/scsi/scsi_lib.c sense_buffer); sense_buffer 318 drivers/scsi/scsi_lib.c memset(cmd->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 853 drivers/scsi/scsi_lib.c min(8 + cmd->sense_buffer[7], sense_buffer 1136 drivers/scsi/scsi_lib.c void *buf = cmd->sense_buffer; sense_buffer 1155 drivers/scsi/scsi_lib.c cmd->sense_buffer = buf; sense_buffer 1749 drivers/scsi/scsi_lib.c cmd->sense_buffer = scsi_alloc_sense_buffer(unchecked_isa_dma, sense_buffer 1751 drivers/scsi/scsi_lib.c if (!cmd->sense_buffer) sense_buffer 1753 drivers/scsi/scsi_lib.c cmd->req.sense = cmd->sense_buffer; sense_buffer 1770 drivers/scsi/scsi_lib.c cmd->sense_buffer); sense_buffer 297 drivers/scsi/scsi_logging.c const unsigned char *sense_buffer, int sense_len) sense_buffer 313 drivers/scsi/scsi_logging.c hex_dump_to_buffer(&sense_buffer[i], len, 16, 1, sense_buffer 348 drivers/scsi/scsi_logging.c const unsigned char *sense_buffer, int sense_len) sense_buffer 352 drivers/scsi/scsi_logging.c if (scsi_normalize_sense(sense_buffer, sense_len, &sshdr)) sense_buffer 355 drivers/scsi/scsi_logging.c scsi_log_dump_sense(sdev, name, tag, sense_buffer, sense_len); sense_buffer 371 drivers/scsi/scsi_logging.c const unsigned char *sense_buffer, int sense_len) sense_buffer 373 drivers/scsi/scsi_logging.c scsi_log_print_sense(sdev, name, -1, sense_buffer, sense_len); sense_buffer 381 drivers/scsi/scsi_logging.c cmd->sense_buffer, SCSI_SENSE_BUFFERSIZE); sense_buffer 25 drivers/scsi/scsi_priv.h (((scmd)->sense_buffer[0] & 0x70) == 0x70) sense_buffer 1921 drivers/scsi/sd.c if (!scsi_get_sense_info_fld(scmd->sense_buffer, sense_buffer 2025 drivers/scsi/sd.c memset(SCpnt->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 508 drivers/scsi/sg.c memcpy(old_hdr->sense_buffer, srp->sense_b, sense_buffer 509 drivers/scsi/sg.c sizeof (old_hdr->sense_buffer)); sense_buffer 2774 drivers/scsi/smartpqi/smartpqi_init.c memcpy(scmd->sense_buffer, error_info->data, sense_buffer 2859 drivers/scsi/smartpqi/smartpqi_init.c memcpy(scmd->sense_buffer, error_info->data, sense_buffer 2865 drivers/scsi/smartpqi/smartpqi_init.c scsi_build_sense_buffer(0, scmd->sense_buffer, HARDWARE_ERROR, sense_buffer 189 drivers/scsi/snic/snic_scsi.c sc->sense_buffer, sense_buffer 195 drivers/scsi/snic/snic_scsi.c sc->sense_buffer, snic_cmd_tag(sc)); sense_buffer 340 drivers/scsi/sr.c (SCpnt->sense_buffer[0] & 0x7f) == 0x70) { /* Sense current */ sense_buffer 341 drivers/scsi/sr.c switch (SCpnt->sense_buffer[2]) { sense_buffer 345 drivers/scsi/sr.c if (!(SCpnt->sense_buffer[0] & 0x90)) sense_buffer 347 drivers/scsi/sr.c error_sector = (SCpnt->sense_buffer[3] << 24) | sense_buffer 348 drivers/scsi/sr.c (SCpnt->sense_buffer[4] << 16) | sense_buffer 349 drivers/scsi/sr.c (SCpnt->sense_buffer[5] << 8) | sense_buffer 350 drivers/scsi/sr.c SCpnt->sense_buffer[6]; sense_buffer 299 drivers/scsi/stex.c void *sense_buffer; sense_buffer 404 drivers/scsi/stex.c scsi_build_sense_buffer(0, cmd->sense_buffer, ILLEGAL_REQUEST, 0x24, sense_buffer 716 drivers/scsi/stex.c hba->ccb[tag].sense_buffer = cmd->sense_buffer; sense_buffer 775 drivers/scsi/stex.c if (ccb->sense_buffer != NULL) sense_buffer 776 drivers/scsi/stex.c memcpy(ccb->sense_buffer, resp->variable, sense_buffer 1898 drivers/scsi/stex.c hba->ccb[tag].sense_buffer = NULL; sense_buffer 1020 drivers/scsi/storvsc_drv.c if (scsi_normalize_sense(scmnd->sense_buffer, sense_buffer 1102 drivers/scsi/storvsc_drv.c memcpy(request->cmd->sense_buffer, sense_buffer 197 drivers/scsi/sym53c8xx_2/sym_glue.c memset(cmd->sense_buffer, 0, SCSI_SENSE_BUFFERSIZE); sense_buffer 198 drivers/scsi/sym53c8xx_2/sym_glue.c memcpy(cmd->sense_buffer, cp->sns_bbuf, sense_buffer 1901 drivers/scsi/ufs/ufshcd.c if (lrbp->sense_buffer && sense_buffer 1908 drivers/scsi/ufs/ufshcd.c memcpy(lrbp->sense_buffer, lrbp->ucd_rsp_ptr->sr.sense_data, sense_buffer 2473 drivers/scsi/ufs/ufshcd.c lrbp->sense_buffer = cmd->sense_buffer; sense_buffer 2507 drivers/scsi/ufs/ufshcd.c lrbp->sense_buffer = NULL; sense_buffer 5818 drivers/scsi/ufs/ufshcd.c lrbp->sense_buffer = NULL; sense_buffer 185 drivers/scsi/ufs/ufshcd.h u8 *sense_buffer; sense_buffer 159 drivers/scsi/virtio_scsi.c if (sc->sense_buffer) { sense_buffer 160 drivers/scsi/virtio_scsi.c memcpy(sc->sense_buffer, resp->sense, sense_buffer 428 drivers/scsi/vmw_pvscsi.c if (cmd->sense_buffer) sense_buffer 569 drivers/scsi/vmw_pvscsi.c cmd->sense_buffer) sense_buffer 710 drivers/scsi/vmw_pvscsi.c if (cmd->sense_buffer) { sense_buffer 712 drivers/scsi/vmw_pvscsi.c cmd->sense_buffer, SCSI_SENSE_BUFFERSIZE, sense_buffer 742 drivers/scsi/vmw_pvscsi.c if (cmd->sense_buffer) { sense_buffer 232 drivers/scsi/wd719x.c cmd->SCp.dma_handle = dma_map_single(&wd->pdev->dev, cmd->sense_buffer, sense_buffer 271 drivers/scsi/xen-scsifront.c memcpy(sc->sense_buffer, ring_rsp->sense_buffer, sense_len); sense_buffer 709 drivers/staging/rts5208/rtsx_chip.h struct sense_data_t sense_buffer[MAX_ALLOWED_LUN_CNT]; sense_buffer 392 drivers/staging/rts5208/rtsx_scsi.c struct sense_data_t *sense = &chip->sense_buffer[lun]; sense_buffer 605 drivers/staging/rts5208/rtsx_scsi.c sense = &chip->sense_buffer[lun]; sense_buffer 184 drivers/staging/rts5208/rtsx_transport.c memcpy(srb->sense_buffer, sense_buffer 185 drivers/staging/rts5208/rtsx_transport.c (unsigned char *)&chip->sense_buffer[SCSI_LUN(srb)], sense_buffer 797 drivers/staging/unisys/visorhba/visorhba_main.c memcpy(scsicmd->sense_buffer, cmdrsp->scsi.sensebuf, MAX_SENSE_SIZE); sense_buffer 1161 drivers/target/iscsi/iscsi_target.c cmd->sense_buffer + 2); sense_buffer 2003 drivers/target/iscsi/iscsi_target.c TCM_SIMPLE_TAG, cmd->sense_buffer + 2); sense_buffer 3244 drivers/target/iscsi/iscsi_target.c if (cmd->se_cmd.sense_buffer && sense_buffer 3247 drivers/target/iscsi/iscsi_target.c put_unaligned_be16(cmd->se_cmd.scsi_sense_length, cmd->sense_buffer); sense_buffer 3252 drivers/target/iscsi/iscsi_target.c data_buf = cmd->sense_buffer; sense_buffer 3256 drivers/target/iscsi/iscsi_target.c memset(cmd->sense_buffer + sense_buffer 575 drivers/target/loopback/tcm_loop.c if (se_cmd->sense_buffer && sense_buffer 579 drivers/target/loopback/tcm_loop.c memcpy(sc->sense_buffer, se_cmd->sense_buffer, sense_buffer 740 drivers/target/target_core_transport.c return cmd->sense_buffer; sense_buffer 1354 drivers/target/target_core_transport.c unsigned char *sense_buffer) sense_buffer 1372 drivers/target/target_core_transport.c cmd->sense_buffer = sense_buffer; sense_buffer 3215 drivers/target/target_core_transport.c u8 *buffer = cmd->sense_buffer; sense_buffer 1166 drivers/target/target_core_user.c transport_copy_sense_to_cmd(se_cmd, entry->rsp.sense_buffer); sense_buffer 385 drivers/target/target_core_xcopy.c unsigned char sense_buffer[TRANSPORT_SENSE_BUFFER]; sense_buffer 631 drivers/target/target_core_xcopy.c DMA_FROM_DEVICE, 0, &xpt_cmd->sense_buffer[0]); sense_buffer 693 drivers/target/target_core_xcopy.c DMA_TO_DEVICE, 0, &xpt_cmd->sense_buffer[0]); sense_buffer 131 drivers/target/tcm_fc/tfc_cmd.c memcpy((fcp + 1), se_cmd->sense_buffer, len); sense_buffer 473 drivers/usb/image/microtek.c context->srb->sense_buffer, sense_buffer 152 drivers/usb/storage/cypress_atacb.c memcmp(srb->sense_buffer, usb_stor_sense_invalidCDB, sense_buffer 167 drivers/usb/storage/cypress_atacb.c unsigned char *sb = srb->sense_buffer; sense_buffer 184 drivers/usb/storage/cypress_atacb.c memcpy(regs, srb->sense_buffer, sizeof(regs)); sense_buffer 230 drivers/usb/storage/cypress_atacb.c memcpy(srb->sense_buffer, sense_buffer 402 drivers/usb/storage/isd200.c struct sense_data *buf = (struct sense_data *) &srb->sense_buffer[0]; sense_buffer 680 drivers/usb/storage/isd200.c if ((srb->sense_buffer[2] & 0xf) == 0x0) sense_buffer 1442 drivers/usb/storage/isd200.c kfree(info->srb.sense_buffer); sense_buffer 1464 drivers/usb/storage/isd200.c info->srb.sense_buffer = kmalloc(SCSI_SENSE_BUFFERSIZE, GFP_KERNEL); sense_buffer 1466 drivers/usb/storage/isd200.c if (!info->id || !info->RegsBuf || !info->srb.sense_buffer) { sense_buffer 828 drivers/usb/storage/realtek_cr.c memcpy(srb->sense_buffer, sense_buffer 839 drivers/usb/storage/realtek_cr.c memcpy(srb->sense_buffer, sense_buffer 388 drivers/usb/storage/scsiglue.c memcpy(srb->sense_buffer, usb_stor_sense_invalidCDB, sense_buffer 579 drivers/usb/storage/transport.c memcpy(srb->sense_buffer, record_not_found, sense_buffer 770 drivers/usb/storage/transport.c if (srb->sense_buffer[7] > (US_SENSE_SIZE - 8) && sense_buffer 773 drivers/usb/storage/transport.c (srb->sense_buffer[0] & 0x7C) == 0x70) { sense_buffer 783 drivers/usb/storage/transport.c srb->sense_buffer[7] + 8); sense_buffer 784 drivers/usb/storage/transport.c srb->sense_buffer[7] = (US_SENSE_SIZE - 8); sense_buffer 787 drivers/usb/storage/transport.c scsi_normalize_sense(srb->sense_buffer, SCSI_SENSE_BUFFERSIZE, sense_buffer 802 drivers/usb/storage/transport.c scdd = scsi_sense_desc_find(srb->sense_buffer, sense_buffer 804 drivers/usb/storage/transport.c fm_ili = (scdd ? scdd[3] : srb->sense_buffer[2]) & 0xA0; sense_buffer 820 drivers/usb/storage/transport.c srb->sense_buffer[0] = 0x0; sense_buffer 842 drivers/usb/storage/transport.c srb->sense_buffer[1] = HARDWARE_ERROR; sense_buffer 844 drivers/usb/storage/transport.c srb->sense_buffer[2] = HARDWARE_ERROR; sense_buffer 874 drivers/usb/storage/transport.c srb->sense_buffer[0] = 0; sense_buffer 879 drivers/usb/storage/transport.c if ((srb->result == SAM_STAT_GOOD || srb->sense_buffer[2] == 0) && sense_buffer 1297 drivers/usb/storage/transport.c memcpy(srb->sense_buffer, sense_buffer 194 drivers/usb/storage/uas.c memcpy(cmnd->sense_buffer, sense_iu->sense, len); sense_buffer 653 drivers/usb/storage/uas.c memcpy(cmnd->sense_buffer, usb_stor_sense_invalidCDB, sense_buffer 131 drivers/xen/xen-scsiback.c uint8_t sense_buffer[VSCSIIF_SENSE_BUFFERSIZE]; sense_buffer 258 drivers/xen/xen-scsiback.c static void scsiback_print_status(char *sense_buffer, int errors, sense_buffer 323 drivers/xen/xen-scsiback.c char *sense_buffer, int32_t result, uint32_t resid, sense_buffer 340 drivers/xen/xen-scsiback.c if (sense_buffer != NULL && sense_buffer 341 drivers/xen/xen-scsiback.c scsi_normalize_sense(sense_buffer, VSCSIIF_SENSE_BUFFERSIZE, sense_buffer 343 drivers/xen/xen-scsiback.c len = min_t(unsigned, 8 + sense_buffer[7], sense_buffer 345 drivers/xen/xen-scsiback.c memcpy(ring_res->sense_buffer, sense_buffer, len); sense_buffer 360 drivers/xen/xen-scsiback.c static void scsiback_do_resp_with_sense(char *sense_buffer, int32_t result, sense_buffer 363 drivers/xen/xen-scsiback.c scsiback_send_response(pending_req->info, sense_buffer, result, sense_buffer 374 drivers/xen/xen-scsiback.c unsigned char *sense_buffer; sense_buffer 378 drivers/xen/xen-scsiback.c sense_buffer = pending_req->sense_buffer; sense_buffer 383 drivers/xen/xen-scsiback.c scsiback_print_status(sense_buffer, errors, pending_req); sense_buffer 386 drivers/xen/xen-scsiback.c scsiback_do_resp_with_sense(sense_buffer, errors, resid, pending_req); sense_buffer 405 drivers/xen/xen-scsiback.c pending_req->sense_buffer, pending_req->v2p->lun, sense_buffer 605 drivers/xen/xen-scsiback.c &pending_req->sense_buffer[0], sense_buffer 1431 drivers/xen/xen-scsiback.c if (se_cmd->sense_buffer && sense_buffer 115 include/scsi/scsi_cmnd.h unsigned char *sense_buffer; sense_buffer 62 include/scsi/scsi_common.h extern bool scsi_normalize_sense(const u8 *sense_buffer, int sb_len, sense_buffer 68 include/scsi/scsi_common.h extern const u8 * scsi_sense_desc_find(const u8 * sense_buffer, int sb_len, sense_buffer 16 include/scsi/scsi_dbg.h const unsigned char *sense_buffer, sense_buffer 27 include/scsi/scsi_eh.h extern bool scsi_get_sense_info_fld(const u8 *sense_buffer, int sb_len, sense_buffer 235 include/scsi/sg.h unsigned char sense_buffer[SG_MAX_SENSE]; /* [o] Output in 3 cases: sense_buffer 502 include/target/iscsi/iscsi_target_core.h unsigned char sense_buffer[ISCSI_SENSE_BUFFER_LEN]; sense_buffer 477 include/target/target_core_base.h void *sense_buffer; sense_buffer 192 include/trace/events/target.h min(18, ((u8 *) cmd->sense_buffer)[SPC_ADD_SENSE_LEN_OFFSET] + 8) : 0; sense_buffer 194 include/trace/events/target.h memcpy(__entry->sense_data, cmd->sense_buffer, __entry->sense_length); sense_buffer 125 include/uapi/linux/target_core_user.h char sense_buffer[TCMU_SENSE_BUFFERSIZE]; sense_buffer 220 include/xen/interface/io/vscsiif.h uint8_t sense_buffer[VSCSIIF_SENSE_BUFFERSIZE];