tag | line | file | source code |
sense_buffer | 1858 | drivers/scsi/53c7,8xx.c | c->cmnd[4] = sizeof(c->sense_buffer); |
sense_buffer | 1870 | drivers/scsi/53c7,8xx.c | DCMD_BMI_IO)) << 24) | sizeof(c->sense_buffer); |
sense_buffer | 1871 | drivers/scsi/53c7,8xx.c | cmd->data_transfer_start[1] = virt_to_bus(c->sense_buffer); |
sense_buffer | 2124 | drivers/scsi/NCR5380.c | cmd->cmnd[4] = sizeof(cmd->sense_buffer); |
sense_buffer | 2129 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->sense_buffer; |
sense_buffer | 2130 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = sizeof(cmd->sense_buffer); |
sense_buffer | 469 | drivers/scsi/aha1542.c | memcpy(SCtmp->sense_buffer, &ccb[mbo].cdb[ccb[mbo].cdblen], |
sense_buffer | 470 | drivers/scsi/aha1542.c | sizeof(SCtmp->sense_buffer)); |
sense_buffer | 538 | drivers/scsi/aha1542.c | if (bufflen != sizeof(SCpnt->sense_buffer)) { |
sense_buffer | 220 | drivers/scsi/aha1740.c | memcpy(SCtmp->sense_buffer, ecbptr->sense, |
sense_buffer | 221 | drivers/scsi/aha1740.c | sizeof(SCtmp->sense_buffer)); |
sense_buffer | 266 | drivers/scsi/aha1740.c | if (bufflen != sizeof(SCpnt->sense_buffer)) |
sense_buffer | 1843 | drivers/scsi/aic7xxx.c | scb->sense_cmd[4] = sizeof(cmd->sense_buffer); |
sense_buffer | 1846 | drivers/scsi/aic7xxx.c | scb->sense_sg.address = (char *) &cmd->sense_buffer; |
sense_buffer | 1847 | drivers/scsi/aic7xxx.c | scb->sense_sg.length = sizeof(cmd->sense_buffer); |
sense_buffer | 1850 | drivers/scsi/aic7xxx.c | req_buf = &cmd->sense_buffer; |
sense_buffer | 1851 | drivers/scsi/aic7xxx.c | req_buflen = sizeof(cmd->sense_buffer); |
sense_buffer | 3685 | drivers/scsi/aic7xxx.c | memset(&cmd->sense_buffer, 0, sizeof(cmd->sense_buffer)); |
sense_buffer | 601 | drivers/scsi/buslogic.c | if (bufflen != sizeof scpnt->sense_buffer) { |
sense_buffer | 739 | drivers/scsi/buslogic.c | ccb->rsalen = sizeof scpnt->sense_buffer; |
sense_buffer | 740 | drivers/scsi/buslogic.c | ccb->senseptr = scpnt->sense_buffer; |
sense_buffer | 383 | drivers/scsi/constants.c | unsigned char * sense_buffer = SCpnt->sense_buffer; |
sense_buffer | 386 | drivers/scsi/constants.c | sense_class = (sense_buffer[0] >> 4) & 0x07; |
sense_buffer | 387 | drivers/scsi/constants.c | code = sense_buffer[0] & 0xf; |
sense_buffer | 388 | drivers/scsi/constants.c | valid = sense_buffer[0] & 0x80; |
sense_buffer | 391 | drivers/scsi/constants.c | s = sense_buffer[7] + 8; |
sense_buffer | 392 | drivers/scsi/constants.c | if(s > sizeof(SCpnt->sense_buffer)) s = sizeof(SCpnt->sense_buffer); |
sense_buffer | 397 | drivers/scsi/constants.c | if (sense_buffer[2] & 0x80) printk( "FMK "); |
sense_buffer | 398 | drivers/scsi/constants.c | if (sense_buffer[2] & 0x40) printk( "EOM "); |
sense_buffer | 399 | drivers/scsi/constants.c | if (sense_buffer[2] & 0x20) printk( "ILI "); |
sense_buffer | 416 | drivers/scsi/constants.c | kdevname(SCpnt->request.rq_dev), snstext[sense_buffer[2] & 0x0f]); |
sense_buffer | 419 | drivers/scsi/constants.c | kdevname(SCpnt->request.rq_dev), sense_buffer[0], sense_buffer[2]); |
sense_buffer | 423 | drivers/scsi/constants.c | if(sense_buffer[7] + 7 < 13 || |
sense_buffer | 424 | drivers/scsi/constants.c | (sense_buffer[12] == 0 && sense_buffer[13] == 0)) goto done; |
sense_buffer | 428 | drivers/scsi/constants.c | if(additional[i].code1 == sense_buffer[12] && |
sense_buffer | 429 | drivers/scsi/constants.c | additional[i].code2 == sense_buffer[13]) |
sense_buffer | 433 | drivers/scsi/constants.c | if(additional2[i].code1 == sense_buffer[12] && |
sense_buffer | 434 | drivers/scsi/constants.c | additional2[i].code2_min >= sense_buffer[13] && |
sense_buffer | 435 | drivers/scsi/constants.c | additional2[i].code2_max <= sense_buffer[13]) { |
sense_buffer | 437 | drivers/scsi/constants.c | printk(additional2[i].text, sense_buffer[13]); |
sense_buffer | 441 | drivers/scsi/constants.c | printk("ASC=%2x ASCQ=%2x\n", sense_buffer[12], sense_buffer[13]); |
sense_buffer | 446 | drivers/scsi/constants.c | if (sense_buffer[0] < 15) |
sense_buffer | 448 | drivers/scsi/constants.c | kdevname(SCpnt->request.rq_dev), snstext[sense_buffer[0] & 0x0f]); |
sense_buffer | 452 | drivers/scsi/constants.c | kdevname(SCpnt->request.rq_dev), sense_buffer[0], sense_buffer[2]); |
sense_buffer | 462 | drivers/scsi/constants.c | printk("0x%02x ", sense_buffer[i]); |
sense_buffer | 686 | drivers/scsi/eata.c | cpp->sense_addr = htonl((unsigned int) SCpnt->sense_buffer); |
sense_buffer | 687 | drivers/scsi/eata.c | cpp->sense_len = sizeof SCpnt->sense_buffer; |
sense_buffer | 990 | drivers/scsi/eata.c | && (SCpnt->sense_buffer[2] & 0xf) == RECOVERED_ERROR) |
sense_buffer | 1003 | drivers/scsi/eata.c | spp->target_status, SCpnt->sense_buffer[2]); |
sense_buffer | 245 | drivers/scsi/eata_dma.c | && (cmd->sense_buffer[2] & 0xf) == RECOVERED_ERROR) |
sense_buffer | 294 | drivers/scsi/eata_dma.c | cmd->sense_buffer[2] & 0xf, cmd->result); |
sense_buffer | 490 | drivers/scsi/eata_dma.c | cp->cp_reqDMA = htonl(virt_to_bus(cmd->sense_buffer)); |
sense_buffer | 491 | drivers/scsi/eata_dma.c | cp->reqlen = sizeof(cmd->sense_buffer); |
sense_buffer | 317 | drivers/scsi/eata_pio.c | memset(cmd->sense_buffer, 0, sizeof(cmd->sense_buffer)); |
sense_buffer | 493 | drivers/scsi/scsi.c | ((SCpnt->sense_buffer[0] & 0x70) >> 4) == 7) { |
sense_buffer | 494 | drivers/scsi/scsi.c | if (SCpnt->sense_buffer[2] &0xe0) |
sense_buffer | 496 | drivers/scsi/scsi.c | if(((SCpnt->sense_buffer[2] & 0xf) != NOT_READY) && |
sense_buffer | 497 | drivers/scsi/scsi.c | ((SCpnt->sense_buffer[2] & 0xf) != UNIT_ATTENTION)) |
sense_buffer | 1211 | drivers/scsi/scsi.c | SCpnt->cmnd[4] = sizeof(SCpnt->sense_buffer); |
sense_buffer | 1213 | drivers/scsi/scsi.c | SCpnt->request_buffer = &SCpnt->sense_buffer; |
sense_buffer | 1214 | drivers/scsi/scsi.c | SCpnt->request_bufflen = sizeof(SCpnt->sense_buffer); |
sense_buffer | 1306 | drivers/scsi/scsi.c | memset ((void *) SCpnt->sense_buffer, 0, sizeof SCpnt->sense_buffer); |
sense_buffer | 1363 | drivers/scsi/scsi.c | if (((SCpnt->sense_buffer[0] & 0x70) >> 4) != 7) { |
sense_buffer | 1377 | drivers/scsi/scsi.c | if (SCpnt->sense_buffer[2] & 0xe0) |
sense_buffer | 1380 | drivers/scsi/scsi.c | switch (SCpnt->sense_buffer[2] & 0xf) |
sense_buffer | 3137 | drivers/scsi/scsi.c | SCpnt->sense_buffer[2], |
sense_buffer | 379 | drivers/scsi/scsi.h | unsigned char sense_buffer[16]; /* Sense for this command, if needed */ |
sense_buffer | 129 | drivers/scsi/scsi_debug.c | static char sense_buffer[128] = {0,}; |
sense_buffer | 206 | drivers/scsi/scsi_debug.c | memset(SCpnt->sense_buffer, 0, sizeof(SCpnt->sense_buffer)); |
sense_buffer | 207 | drivers/scsi/scsi_debug.c | SCpnt->sense_buffer[0] = 0x70; |
sense_buffer | 208 | drivers/scsi/scsi_debug.c | SCpnt->sense_buffer[2] = UNIT_ATTENTION; |
sense_buffer | 219 | drivers/scsi/scsi_debug.c | for(i=0;i<12;i++) printk("%d ",sense_buffer[i]); |
sense_buffer | 224 | drivers/scsi/scsi_debug.c | memcpy(buff, sense_buffer, bufflen); |
sense_buffer | 225 | drivers/scsi/scsi_debug.c | memset(sense_buffer, 0, sizeof(sense_buffer)); |
sense_buffer | 328 | drivers/scsi/scsi_debug.c | sense_buffer[0] = 0x70; |
sense_buffer | 329 | drivers/scsi/scsi_debug.c | sense_buffer[2] = UNIT_ATTENTION; |
sense_buffer | 338 | drivers/scsi/scsi_debug.c | for(i=0;i<12;i++) printk("%d ",sense_buffer[i]); |
sense_buffer | 130 | drivers/scsi/scsi_ioctl.c | switch(SCpnt->sense_buffer[2] & 0xf) { |
sense_buffer | 154 | drivers/scsi/scsi_ioctl.c | sense_class(SCpnt->sense_buffer[0]), |
sense_buffer | 155 | drivers/scsi/scsi_ioctl.c | sense_error(SCpnt->sense_buffer[0]), |
sense_buffer | 156 | drivers/scsi/scsi_ioctl.c | SCpnt->sense_buffer[2] & 0xf); |
sense_buffer | 271 | drivers/scsi/scsi_ioctl.c | sizeof(SCpnt->sense_buffer)); |
sense_buffer | 274 | drivers/scsi/scsi_ioctl.c | SCpnt->sense_buffer, |
sense_buffer | 275 | drivers/scsi/scsi_ioctl.c | sizeof(SCpnt->sense_buffer)); |
sense_buffer | 329 | drivers/scsi/sd.c | if ((SCpnt->sense_buffer[0] & 0x7f) == 0x70) { |
sense_buffer | 330 | drivers/scsi/sd.c | if ((SCpnt->sense_buffer[2] & 0xf) == UNIT_ATTENTION) { |
sense_buffer | 361 | drivers/scsi/sd.c | if (SCpnt->sense_buffer[2] == ILLEGAL_REQUEST) { |
sense_buffer | 958 | drivers/scsi/sd.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 959 | drivers/scsi/sd.c | SCpnt->sense_buffer[2] = 0; |
sense_buffer | 971 | drivers/scsi/sd.c | || SCpnt->sense_buffer[2] != UNIT_ATTENTION) |
sense_buffer | 978 | drivers/scsi/sd.c | SCpnt->sense_buffer[2] == NOT_READY) { |
sense_buffer | 990 | drivers/scsi/sd.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 991 | drivers/scsi/sd.c | SCpnt->sense_buffer[2] = 0; |
sense_buffer | 1026 | drivers/scsi/sd.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 1027 | drivers/scsi/sd.c | SCpnt->sense_buffer[2] = 0; |
sense_buffer | 1085 | drivers/scsi/sd.c | 'a' + i, SCpnt->sense_buffer[2] & 0xf); |
sense_buffer | 1097 | drivers/scsi/sd.c | SCpnt->sense_buffer[2] == NOT_READY) |
sense_buffer | 282 | drivers/scsi/sg.c | memcpy(device->header.sense_buffer, SCpnt->sense_buffer, sizeof(SCpnt->sense_buffer)); |
sense_buffer | 283 | drivers/scsi/sg.c | if (SCpnt->sense_buffer[0]) |
sense_buffer | 410 | drivers/scsi/sg.c | SCpnt->sense_buffer[0]=0; |
sense_buffer | 22 | drivers/scsi/sg.h | unsigned char sense_buffer[16]; /* used only by reads */ |
sense_buffer | 243 | drivers/scsi/sr.c | if ((SCpnt->sense_buffer[0] & 0x7f) == 0x70) { |
sense_buffer | 244 | drivers/scsi/sr.c | if ((SCpnt->sense_buffer[2] & 0xf) == UNIT_ATTENTION) { |
sense_buffer | 255 | drivers/scsi/sr.c | if (SCpnt->sense_buffer[2] == ILLEGAL_REQUEST) { |
sense_buffer | 273 | drivers/scsi/sr.c | if (SCpnt->sense_buffer[2] == NOT_READY) { |
sense_buffer | 67 | drivers/scsi/sr_ioctl.c | switch(SCpnt->sense_buffer[2] & 0xf) { |
sense_buffer | 85 | drivers/scsi/sr_ioctl.c | sense_class(SCpnt->sense_buffer[0]), |
sense_buffer | 86 | drivers/scsi/sr_ioctl.c | sense_error(SCpnt->sense_buffer[0]), |
sense_buffer | 87 | drivers/scsi/sr_ioctl.c | SCpnt->sense_buffer[2] & 0xf); |
sense_buffer | 109 | drivers/scsi/st.c | unsigned char * sense = SCpnt->sense_buffer, scode; |
sense_buffer | 173 | drivers/scsi/st.c | (SCpnt->sense_buffer[0] & 0x70) == 0x70 && |
sense_buffer | 174 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x40)) { |
sense_buffer | 176 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x80) != 0) |
sense_buffer | 177 | drivers/scsi/st.c | remainder = (SCpnt->sense_buffer[3] << 24) | |
sense_buffer | 178 | drivers/scsi/st.c | (SCpnt->sense_buffer[4] << 16) | |
sense_buffer | 179 | drivers/scsi/st.c | (SCpnt->sense_buffer[5] << 8) | SCpnt->sense_buffer[6]; |
sense_buffer | 182 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[2] & 0x0f) == VOLUME_OVERFLOW || |
sense_buffer | 356 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x70) == 0x70 && |
sense_buffer | 357 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x40) && |
sense_buffer | 358 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) != VOLUME_OVERFLOW) { |
sense_buffer | 509 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x70) == 0x70 && |
sense_buffer | 510 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == UNIT_ATTENTION) { /* New media? */ |
sense_buffer | 533 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x70) == 0x70 && |
sense_buffer | 534 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == NO_TAPE) { |
sense_buffer | 570 | drivers/scsi/st.c | if (!SCpnt->result && !SCpnt->sense_buffer[0]) { |
sense_buffer | 925 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x70) == 0x70 && |
sense_buffer | 926 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x40)) { |
sense_buffer | 927 | drivers/scsi/st.c | if (STp->block_size != 0 && (SCpnt->sense_buffer[0] & 0x80) != 0) |
sense_buffer | 928 | drivers/scsi/st.c | transfer = (SCpnt->sense_buffer[3] << 24) | |
sense_buffer | 929 | drivers/scsi/st.c | (SCpnt->sense_buffer[4] << 16) | |
sense_buffer | 930 | drivers/scsi/st.c | (SCpnt->sense_buffer[5] << 8) | SCpnt->sense_buffer[6]; |
sense_buffer | 932 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == VOLUME_OVERFLOW) |
sense_buffer | 1143 | drivers/scsi/st.c | SCpnt->sense_buffer[0], SCpnt->sense_buffer[1], |
sense_buffer | 1144 | drivers/scsi/st.c | SCpnt->sense_buffer[2], SCpnt->sense_buffer[3], |
sense_buffer | 1145 | drivers/scsi/st.c | SCpnt->sense_buffer[4], SCpnt->sense_buffer[5], |
sense_buffer | 1146 | drivers/scsi/st.c | SCpnt->sense_buffer[6], SCpnt->sense_buffer[7]); |
sense_buffer | 1148 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x70) == 0x70) { /* extended sense */ |
sense_buffer | 1150 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[2] & 0xe0) != 0) { /* EOF, EOM, or ILI */ |
sense_buffer | 1152 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x80) != 0) |
sense_buffer | 1153 | drivers/scsi/st.c | transfer = (SCpnt->sense_buffer[3] << 24) | |
sense_buffer | 1154 | drivers/scsi/st.c | (SCpnt->sense_buffer[4] << 16) | |
sense_buffer | 1155 | drivers/scsi/st.c | (SCpnt->sense_buffer[5] << 8) | SCpnt->sense_buffer[6]; |
sense_buffer | 1159 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == MEDIUM_ERROR) |
sense_buffer | 1162 | drivers/scsi/st.c | if (SCpnt->sense_buffer[2] & 0x20) { |
sense_buffer | 1174 | drivers/scsi/st.c | else if (SCpnt->sense_buffer[2] & 0x40) { |
sense_buffer | 1187 | drivers/scsi/st.c | else if (SCpnt->sense_buffer[2] & 0x80) { |
sense_buffer | 1212 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == BLANK_CHECK) { |
sense_buffer | 1759 | drivers/scsi/st.c | if (SCpnt->sense_buffer[2] & 0x40) { |
sense_buffer | 1767 | drivers/scsi/st.c | (SCpnt->sense_buffer[3] << 24) + |
sense_buffer | 1768 | drivers/scsi/st.c | (SCpnt->sense_buffer[4] << 16) + |
sense_buffer | 1769 | drivers/scsi/st.c | (SCpnt->sense_buffer[5] << 8) + |
sense_buffer | 1770 | drivers/scsi/st.c | SCpnt->sense_buffer[6] ); |
sense_buffer | 1783 | drivers/scsi/st.c | if (SCpnt->sense_buffer[2] & 0x80) { /* Hit filemark */ |
sense_buffer | 1795 | drivers/scsi/st.c | if (SCpnt->sense_buffer[2] & 0x80) { /* Hit filemark */ |
sense_buffer | 1811 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == BLANK_CHECK) |
sense_buffer | 623 | drivers/scsi/u14-34f.c | cpp->sense_addr = (unsigned int) SCpnt->sense_buffer; |
sense_buffer | 624 | drivers/scsi/u14-34f.c | cpp->sense_len = sizeof SCpnt->sense_buffer; |
sense_buffer | 936 | drivers/scsi/u14-34f.c | && (SCpnt->sense_buffer[2] & 0xf) == RECOVERED_ERROR) |
sense_buffer | 949 | drivers/scsi/u14-34f.c | spp->target_status, SCpnt->sense_buffer[2]); |
sense_buffer | 731 | drivers/scsi/ultrastor.c | my_mscp->length_of_sense_byte = sizeof SCpnt->sense_buffer; |
sense_buffer | 736 | drivers/scsi/ultrastor.c | my_mscp->sense_data = (unsigned int)&SCpnt->sense_buffer; |