tag | line | file | source code |
sense_buffer | 2668 | drivers/scsi/53c7,8xx.c | c->cmnd[4] = sizeof(c->sense_buffer); |
sense_buffer | 2682 | drivers/scsi/53c7,8xx.c | DCMD_BMI_IO)) << 24) | sizeof(c->sense_buffer); |
sense_buffer | 2683 | drivers/scsi/53c7,8xx.c | cmd->data_transfer_start[1] = (u32) virt_to_bus(c->sense_buffer); |
sense_buffer | 1636 | drivers/scsi/AM53C974.c | cmd->cmnd[4] = sizeof(cmd->sense_buffer); |
sense_buffer | 1640 | drivers/scsi/AM53C974.c | cmd->SCp.ptr = (char *)cmd->sense_buffer; |
sense_buffer | 1641 | drivers/scsi/AM53C974.c | cmd->SCp.this_residual = sizeof(cmd->sense_buffer); |
sense_buffer | 2409 | drivers/scsi/BusLogic.c | if (CDB[0] == REQUEST_SENSE && Command->sense_buffer[0] != 0) |
sense_buffer | 2476 | drivers/scsi/BusLogic.c | CCB->SenseDataLength = sizeof(Command->sense_buffer); |
sense_buffer | 2547 | drivers/scsi/BusLogic.c | CCB->SenseDataPointer = (SCSI_SenseData_T *) &Command->sense_buffer; |
sense_buffer | 2584 | drivers/scsi/NCR5380.c | cmd->cmnd[4] = sizeof(cmd->sense_buffer); |
sense_buffer | 2589 | drivers/scsi/NCR5380.c | cmd->SCp.ptr = (char *) cmd->sense_buffer; |
sense_buffer | 2590 | drivers/scsi/NCR5380.c | cmd->SCp.this_residual = sizeof(cmd->sense_buffer); |
sense_buffer | 3718 | drivers/scsi/advansys.c | scsiq.q1.sense_addr = (ulong) &scp->sense_buffer[0]; |
sense_buffer | 3719 | drivers/scsi/advansys.c | scsiq.q1.sense_len = sizeof(scp->sense_buffer); |
sense_buffer | 3854 | drivers/scsi/advansys.c | ASC_DBG_PRT_SENSE(2, scp->sense_buffer, |
sense_buffer | 3855 | drivers/scsi/advansys.c | sizeof(scp->sense_buffer)); |
sense_buffer | 466 | drivers/scsi/aha1542.c | memcpy(SCtmp->sense_buffer, &ccb[mbo].cdb[ccb[mbo].cdblen], |
sense_buffer | 467 | drivers/scsi/aha1542.c | sizeof(SCtmp->sense_buffer)); |
sense_buffer | 535 | 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 | 2109 | drivers/scsi/aic7xxx.c | scb->sense_cmd[4] = sizeof(cmd->sense_buffer); |
sense_buffer | 2111 | drivers/scsi/aic7xxx.c | scb->sense_sg.address = (char *) &cmd->sense_buffer; |
sense_buffer | 2112 | drivers/scsi/aic7xxx.c | scb->sense_sg.length = sizeof(cmd->sense_buffer); |
sense_buffer | 4341 | drivers/scsi/aic7xxx.c | memset(&cmd->sense_buffer, 0, sizeof(cmd->sense_buffer)); |
sense_buffer | 2385 | drivers/scsi/atari_NCR5380.c | cmd->cmnd[4] = sizeof(cmd->sense_buffer); |
sense_buffer | 2390 | drivers/scsi/atari_NCR5380.c | cmd->SCp.ptr = (char *) cmd->sense_buffer; |
sense_buffer | 2391 | drivers/scsi/atari_NCR5380.c | cmd->SCp.this_residual = sizeof(cmd->sense_buffer); |
sense_buffer | 380 | drivers/scsi/constants.c | unsigned char * sense_buffer = SCpnt->sense_buffer; |
sense_buffer | 383 | drivers/scsi/constants.c | sense_class = (sense_buffer[0] >> 4) & 0x07; |
sense_buffer | 384 | drivers/scsi/constants.c | code = sense_buffer[0] & 0xf; |
sense_buffer | 385 | drivers/scsi/constants.c | valid = sense_buffer[0] & 0x80; |
sense_buffer | 388 | drivers/scsi/constants.c | s = sense_buffer[7] + 8; |
sense_buffer | 389 | drivers/scsi/constants.c | if(s > sizeof(SCpnt->sense_buffer)) s = sizeof(SCpnt->sense_buffer); |
sense_buffer | 394 | drivers/scsi/constants.c | if (sense_buffer[2] & 0x80) printk( "FMK "); |
sense_buffer | 395 | drivers/scsi/constants.c | if (sense_buffer[2] & 0x40) printk( "EOM "); |
sense_buffer | 396 | drivers/scsi/constants.c | if (sense_buffer[2] & 0x20) printk( "ILI "); |
sense_buffer | 413 | drivers/scsi/constants.c | kdevname(SCpnt->request.rq_dev), snstext[sense_buffer[2] & 0x0f]); |
sense_buffer | 416 | drivers/scsi/constants.c | kdevname(SCpnt->request.rq_dev), sense_buffer[0], sense_buffer[2]); |
sense_buffer | 420 | drivers/scsi/constants.c | if(sense_buffer[7] + 7 < 13 || |
sense_buffer | 421 | drivers/scsi/constants.c | (sense_buffer[12] == 0 && sense_buffer[13] == 0)) goto done; |
sense_buffer | 425 | drivers/scsi/constants.c | if(additional[i].code1 == sense_buffer[12] && |
sense_buffer | 426 | drivers/scsi/constants.c | additional[i].code2 == sense_buffer[13]) |
sense_buffer | 430 | drivers/scsi/constants.c | if(additional2[i].code1 == sense_buffer[12] && |
sense_buffer | 431 | drivers/scsi/constants.c | additional2[i].code2_min >= sense_buffer[13] && |
sense_buffer | 432 | drivers/scsi/constants.c | additional2[i].code2_max <= sense_buffer[13]) { |
sense_buffer | 434 | drivers/scsi/constants.c | printk(additional2[i].text, sense_buffer[13]); |
sense_buffer | 438 | drivers/scsi/constants.c | printk("ASC=%2x ASCQ=%2x\n", sense_buffer[12], sense_buffer[13]); |
sense_buffer | 443 | drivers/scsi/constants.c | if (sense_buffer[0] < 15) |
sense_buffer | 445 | drivers/scsi/constants.c | kdevname(SCpnt->request.rq_dev), snstext[sense_buffer[0] & 0x0f]); |
sense_buffer | 449 | drivers/scsi/constants.c | kdevname(SCpnt->request.rq_dev), sense_buffer[0], sense_buffer[2]); |
sense_buffer | 459 | drivers/scsi/constants.c | printk("0x%02x ", sense_buffer[i]); |
sense_buffer | 690 | drivers/scsi/eata.c | cpp->sense_addr = htonl((unsigned int) SCpnt->sense_buffer); |
sense_buffer | 691 | drivers/scsi/eata.c | cpp->sense_len = sizeof SCpnt->sense_buffer; |
sense_buffer | 994 | drivers/scsi/eata.c | && (SCpnt->sense_buffer[2] & 0xf) == RECOVERED_ERROR) |
sense_buffer | 1007 | drivers/scsi/eata.c | spp->target_status, SCpnt->sense_buffer[2]); |
sense_buffer | 247 | drivers/scsi/eata_dma.c | && (cmd->sense_buffer[2] & 0xf) == RECOVERED_ERROR) |
sense_buffer | 296 | drivers/scsi/eata_dma.c | cmd->sense_buffer[2] & 0xf, cmd->result); |
sense_buffer | 493 | drivers/scsi/eata_dma.c | cp->cp_reqDMA = htonl(virt_to_bus(cmd->sense_buffer)); |
sense_buffer | 494 | drivers/scsi/eata_dma.c | cp->reqlen = sizeof(cmd->sense_buffer); |
sense_buffer | 316 | drivers/scsi/eata_pio.c | memset(cmd->sense_buffer, 0, sizeof(cmd->sense_buffer)); |
sense_buffer | 586 | drivers/scsi/scsi.c | ((SCpnt->sense_buffer[0] & 0x70) >> 4) == 7) { |
sense_buffer | 587 | drivers/scsi/scsi.c | if (((SCpnt->sense_buffer[2] & 0xf) != NOT_READY) && |
sense_buffer | 588 | drivers/scsi/scsi.c | ((SCpnt->sense_buffer[2] & 0xf) != UNIT_ATTENTION) && |
sense_buffer | 589 | drivers/scsi/scsi.c | ((SCpnt->sense_buffer[2] & 0xf) != ILLEGAL_REQUEST || lun > 0)) |
sense_buffer | 1263 | drivers/scsi/scsi.c | SCpnt->cmnd[4] = sizeof(SCpnt->sense_buffer); |
sense_buffer | 1265 | drivers/scsi/scsi.c | SCpnt->request_buffer = &SCpnt->sense_buffer; |
sense_buffer | 1266 | drivers/scsi/scsi.c | SCpnt->request_bufflen = sizeof(SCpnt->sense_buffer); |
sense_buffer | 1360 | drivers/scsi/scsi.c | memset ((void *) SCpnt->sense_buffer, 0, sizeof SCpnt->sense_buffer); |
sense_buffer | 1385 | drivers/scsi/scsi.c | if (((SCpnt->sense_buffer[0] & 0x70) >> 4) != 7) { |
sense_buffer | 1399 | drivers/scsi/scsi.c | if (SCpnt->sense_buffer[2] & 0xe0) |
sense_buffer | 1402 | drivers/scsi/scsi.c | switch (SCpnt->sense_buffer[2] & 0xf) |
sense_buffer | 3323 | drivers/scsi/scsi.c | SCpnt->sense_buffer[2], |
sense_buffer | 395 | drivers/scsi/scsi.h | unsigned char sense_buffer[16]; /* Sense for this command, if needed */ |
sense_buffer | 126 | drivers/scsi/scsi_debug.c | static char sense_buffer[128] = {0,}; |
sense_buffer | 203 | drivers/scsi/scsi_debug.c | memset(SCpnt->sense_buffer, 0, sizeof(SCpnt->sense_buffer)); |
sense_buffer | 204 | drivers/scsi/scsi_debug.c | SCpnt->sense_buffer[0] = 0x70; |
sense_buffer | 205 | drivers/scsi/scsi_debug.c | SCpnt->sense_buffer[2] = UNIT_ATTENTION; |
sense_buffer | 216 | drivers/scsi/scsi_debug.c | for(i=0;i<12;i++) printk("%d ",sense_buffer[i]); |
sense_buffer | 221 | drivers/scsi/scsi_debug.c | memcpy(buff, sense_buffer, bufflen); |
sense_buffer | 222 | drivers/scsi/scsi_debug.c | memset(sense_buffer, 0, sizeof(sense_buffer)); |
sense_buffer | 325 | drivers/scsi/scsi_debug.c | sense_buffer[0] = 0x70; |
sense_buffer | 326 | drivers/scsi/scsi_debug.c | sense_buffer[2] = UNIT_ATTENTION; |
sense_buffer | 335 | drivers/scsi/scsi_debug.c | for(i=0;i<12;i++) printk("%d ",sense_buffer[i]); |
sense_buffer | 120 | drivers/scsi/scsi_ioctl.c | switch(SCpnt->sense_buffer[2] & 0xf) { |
sense_buffer | 144 | drivers/scsi/scsi_ioctl.c | sense_class(SCpnt->sense_buffer[0]), |
sense_buffer | 145 | drivers/scsi/scsi_ioctl.c | sense_error(SCpnt->sense_buffer[0]), |
sense_buffer | 146 | drivers/scsi/scsi_ioctl.c | SCpnt->sense_buffer[2] & 0xf); |
sense_buffer | 260 | drivers/scsi/scsi_ioctl.c | sizeof(SCpnt->sense_buffer)); |
sense_buffer | 263 | drivers/scsi/scsi_ioctl.c | SCpnt->sense_buffer, |
sense_buffer | 264 | drivers/scsi/scsi_ioctl.c | sizeof(SCpnt->sense_buffer)); |
sense_buffer | 343 | drivers/scsi/sd.c | if ((SCpnt->sense_buffer[0] & 0x7f) == 0x70) { |
sense_buffer | 344 | drivers/scsi/sd.c | if ((SCpnt->sense_buffer[2] & 0xf) == UNIT_ATTENTION) { |
sense_buffer | 375 | drivers/scsi/sd.c | if (SCpnt->sense_buffer[2] == ILLEGAL_REQUEST) { |
sense_buffer | 980 | drivers/scsi/sd.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 981 | drivers/scsi/sd.c | SCpnt->sense_buffer[2] = 0; |
sense_buffer | 998 | drivers/scsi/sd.c | || SCpnt->sense_buffer[2] != UNIT_ATTENTION) |
sense_buffer | 1005 | drivers/scsi/sd.c | SCpnt->sense_buffer[2] == NOT_READY) { |
sense_buffer | 1015 | drivers/scsi/sd.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 1016 | drivers/scsi/sd.c | SCpnt->sense_buffer[2] = 0; |
sense_buffer | 1054 | drivers/scsi/sd.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 1055 | drivers/scsi/sd.c | SCpnt->sense_buffer[2] = 0; |
sense_buffer | 1106 | drivers/scsi/sd.c | 'a' + i, SCpnt->sense_buffer[2] & 0xf); |
sense_buffer | 1118 | drivers/scsi/sd.c | SCpnt->sense_buffer[2] == NOT_READY) |
sense_buffer | 1208 | drivers/scsi/sd.c | SCpnt->sense_buffer[0] = 0; |
sense_buffer | 1209 | drivers/scsi/sd.c | SCpnt->sense_buffer[2] = 0; |
sense_buffer | 278 | drivers/scsi/sg.c | memcpy(device->header.sense_buffer, SCpnt->sense_buffer, sizeof(SCpnt->sense_buffer)); |
sense_buffer | 279 | drivers/scsi/sg.c | if (SCpnt->sense_buffer[0]) |
sense_buffer | 418 | 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 | 240 | drivers/scsi/sr.c | if ((SCpnt->sense_buffer[0] & 0x7f) == 0x70) { |
sense_buffer | 241 | drivers/scsi/sr.c | if ((SCpnt->sense_buffer[2] & 0xf) == UNIT_ATTENTION) { |
sense_buffer | 252 | drivers/scsi/sr.c | if (SCpnt->sense_buffer[2] == ILLEGAL_REQUEST) { |
sense_buffer | 270 | drivers/scsi/sr.c | if (SCpnt->sense_buffer[2] == NOT_READY) { |
sense_buffer | 60 | drivers/scsi/sr_ioctl.c | switch(SCpnt->sense_buffer[2] & 0xf) { |
sense_buffer | 78 | drivers/scsi/sr_ioctl.c | sense_class(SCpnt->sense_buffer[0]), |
sense_buffer | 79 | drivers/scsi/sr_ioctl.c | sense_error(SCpnt->sense_buffer[0]), |
sense_buffer | 80 | drivers/scsi/sr_ioctl.c | SCpnt->sense_buffer[2] & 0xf); |
sense_buffer | 122 | drivers/scsi/st.c | unsigned char * sense = SCpnt->sense_buffer, scode; |
sense_buffer | 201 | drivers/scsi/st.c | (SCpnt->sense_buffer[0] & 0x70) == 0x70 && |
sense_buffer | 202 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x40)) { |
sense_buffer | 204 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x80) != 0) |
sense_buffer | 205 | drivers/scsi/st.c | remainder = (SCpnt->sense_buffer[3] << 24) | |
sense_buffer | 206 | drivers/scsi/st.c | (SCpnt->sense_buffer[4] << 16) | |
sense_buffer | 207 | drivers/scsi/st.c | (SCpnt->sense_buffer[5] << 8) | SCpnt->sense_buffer[6]; |
sense_buffer | 210 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[2] & 0x0f) == VOLUME_OVERFLOW || |
sense_buffer | 381 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x70) == 0x70 && |
sense_buffer | 382 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x40) && |
sense_buffer | 383 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) != VOLUME_OVERFLOW) { |
sense_buffer | 539 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x70) == 0x70 && |
sense_buffer | 540 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == UNIT_ATTENTION) { /* New media? */ |
sense_buffer | 554 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x70) == 0x70 && |
sense_buffer | 555 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == NO_TAPE) { |
sense_buffer | 584 | drivers/scsi/st.c | if (!SCpnt->result && !SCpnt->sense_buffer[0]) { |
sense_buffer | 985 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x70) == 0x70 && |
sense_buffer | 986 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x40)) { |
sense_buffer | 987 | drivers/scsi/st.c | if (STp->block_size != 0 && (SCpnt->sense_buffer[0] & 0x80) != 0) |
sense_buffer | 988 | drivers/scsi/st.c | transfer = (SCpnt->sense_buffer[3] << 24) | |
sense_buffer | 989 | drivers/scsi/st.c | (SCpnt->sense_buffer[4] << 16) | |
sense_buffer | 990 | drivers/scsi/st.c | (SCpnt->sense_buffer[5] << 8) | SCpnt->sense_buffer[6]; |
sense_buffer | 992 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == VOLUME_OVERFLOW) |
sense_buffer | 1207 | drivers/scsi/st.c | SCpnt->sense_buffer[0], SCpnt->sense_buffer[1], |
sense_buffer | 1208 | drivers/scsi/st.c | SCpnt->sense_buffer[2], SCpnt->sense_buffer[3], |
sense_buffer | 1209 | drivers/scsi/st.c | SCpnt->sense_buffer[4], SCpnt->sense_buffer[5], |
sense_buffer | 1210 | drivers/scsi/st.c | SCpnt->sense_buffer[6], SCpnt->sense_buffer[7]); |
sense_buffer | 1212 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x70) == 0x70) { /* extended sense */ |
sense_buffer | 1214 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[2] & 0xe0) != 0) { /* EOF, EOM, or ILI */ |
sense_buffer | 1216 | drivers/scsi/st.c | if ((SCpnt->sense_buffer[0] & 0x80) != 0) |
sense_buffer | 1217 | drivers/scsi/st.c | transfer = (SCpnt->sense_buffer[3] << 24) | |
sense_buffer | 1218 | drivers/scsi/st.c | (SCpnt->sense_buffer[4] << 16) | |
sense_buffer | 1219 | drivers/scsi/st.c | (SCpnt->sense_buffer[5] << 8) | SCpnt->sense_buffer[6]; |
sense_buffer | 1223 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == MEDIUM_ERROR) |
sense_buffer | 1226 | drivers/scsi/st.c | if (SCpnt->sense_buffer[2] & 0x20) { |
sense_buffer | 1257 | drivers/scsi/st.c | else if (SCpnt->sense_buffer[2] & 0x40) { |
sense_buffer | 1270 | drivers/scsi/st.c | else if (SCpnt->sense_buffer[2] & 0x80) { |
sense_buffer | 1295 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == BLANK_CHECK) { |
sense_buffer | 2031 | drivers/scsi/st.c | if (SCpnt->sense_buffer[2] & 0x40) { |
sense_buffer | 2039 | drivers/scsi/st.c | (SCpnt->sense_buffer[3] << 24) + |
sense_buffer | 2040 | drivers/scsi/st.c | (SCpnt->sense_buffer[4] << 16) + |
sense_buffer | 2041 | drivers/scsi/st.c | (SCpnt->sense_buffer[5] << 8) + |
sense_buffer | 2042 | drivers/scsi/st.c | SCpnt->sense_buffer[6] ); |
sense_buffer | 2055 | drivers/scsi/st.c | if (SCpnt->sense_buffer[2] & 0x80) { /* Hit filemark */ |
sense_buffer | 2067 | drivers/scsi/st.c | if (SCpnt->sense_buffer[2] & 0x80) { /* Hit filemark */ |
sense_buffer | 2083 | drivers/scsi/st.c | (SCpnt->sense_buffer[2] & 0x0f) == BLANK_CHECK) |
sense_buffer | 645 | drivers/scsi/u14-34f.c | cpp->sense_addr = (unsigned int) SCpnt->sense_buffer; |
sense_buffer | 646 | drivers/scsi/u14-34f.c | cpp->sense_len = sizeof SCpnt->sense_buffer; |
sense_buffer | 958 | drivers/scsi/u14-34f.c | && (SCpnt->sense_buffer[2] & 0xf) == RECOVERED_ERROR) |
sense_buffer | 971 | 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; |