sbuff             770 drivers/scsi/scsi_debug.c 	unsigned char *sbuff;
sbuff             774 drivers/scsi/scsi_debug.c 	sbuff = scp->sense_buffer;
sbuff             775 drivers/scsi/scsi_debug.c 	if (!sbuff) {
sbuff             781 drivers/scsi/scsi_debug.c 	memset(sbuff, 0, SCSI_SENSE_BUFFERSIZE);
sbuff             782 drivers/scsi/scsi_debug.c 	scsi_build_sense_buffer(sdebug_dsense, sbuff, ILLEGAL_REQUEST, asc, 0);
sbuff             793 drivers/scsi/scsi_debug.c 		sl = sbuff[7] + 8;
sbuff             794 drivers/scsi/scsi_debug.c 		sbuff[7] = sl;
sbuff             795 drivers/scsi/scsi_debug.c 		sbuff[sl] = 0x2;
sbuff             796 drivers/scsi/scsi_debug.c 		sbuff[sl + 1] = 0x6;
sbuff             797 drivers/scsi/scsi_debug.c 		memcpy(sbuff + sl + 4, sks, 3);
sbuff             799 drivers/scsi/scsi_debug.c 		memcpy(sbuff + 15, sks, 3);
sbuff             808 drivers/scsi/scsi_debug.c 	unsigned char *sbuff;
sbuff             810 drivers/scsi/scsi_debug.c 	sbuff = scp->sense_buffer;
sbuff             811 drivers/scsi/scsi_debug.c 	if (!sbuff) {
sbuff             816 drivers/scsi/scsi_debug.c 	memset(sbuff, 0, SCSI_SENSE_BUFFERSIZE);
sbuff             818 drivers/scsi/scsi_debug.c 	scsi_build_sense_buffer(sdebug_dsense, sbuff, key, asc, asq);
sbuff            1546 drivers/scsi/scsi_debug.c 	unsigned char *sbuff;
sbuff            1554 drivers/scsi/scsi_debug.c 	sbuff = scp->sense_buffer;
sbuff            1570 drivers/scsi/scsi_debug.c 		memcpy(arr, sbuff, SCSI_SENSE_BUFFERSIZE);
sbuff            1586 drivers/scsi/scsi_debug.c 			arr[1] = sbuff[2];     /* sense key */
sbuff            1587 drivers/scsi/scsi_debug.c 			arr[2] = sbuff[12];    /* asc */
sbuff            1588 drivers/scsi/scsi_debug.c 			arr[3] = sbuff[13];    /* ascq */
sbuff            1593 drivers/scsi/scsi_debug.c 			arr[2] = sbuff[1];
sbuff            1595 drivers/scsi/scsi_debug.c 			arr[12] = sbuff[1];
sbuff            1596 drivers/scsi/scsi_debug.c 			arr[13] = sbuff[3];