Lines Matching refs:sensebuf
487 u8 args[4], *argbuf = NULL, *sensebuf = NULL; in ata_cmd_ioctl() local
498 sensebuf = kzalloc(SCSI_SENSE_BUFFERSIZE, GFP_NOIO); in ata_cmd_ioctl()
499 if (!sensebuf) in ata_cmd_ioctl()
538 sensebuf, (10*HZ), 5, 0, NULL); in ata_cmd_ioctl()
541 u8 *desc = sensebuf + 8; in ata_cmd_ioctl()
548 scsi_normalize_sense(sensebuf, SCSI_SENSE_BUFFERSIZE, in ata_cmd_ioctl()
556 if (sensebuf[0] == 0x72 && /* format is "descriptor" */ in ata_cmd_ioctl()
576 kfree(sensebuf); in ata_cmd_ioctl()
596 u8 args[7], *sensebuf = NULL; in ata_task_ioctl() local
605 sensebuf = kzalloc(SCSI_SENSE_BUFFERSIZE, GFP_NOIO); in ata_task_ioctl()
606 if (!sensebuf) in ata_task_ioctl()
624 sensebuf, (10*HZ), 5, 0, NULL); in ata_task_ioctl()
627 u8 *desc = sensebuf + 8; in ata_task_ioctl()
634 scsi_normalize_sense(sensebuf, SCSI_SENSE_BUFFERSIZE, in ata_task_ioctl()
642 if (sensebuf[0] == 0x72 && /* format is "descriptor" */ in ata_task_ioctl()
662 kfree(sensebuf); in ata_task_ioctl()