Searched refs:sreq (Results 1 – 2 of 2) sorted by relevance
150 struct scsi_request *sreq; in ata_cmd_ioctl() local158 sreq = scsi_allocate_request(scsidev); in ata_cmd_ioctl()159 if (!sreq) in ata_cmd_ioctl()175 sreq->sr_data_direction = DMA_FROM_DEVICE; in ata_cmd_ioctl()179 sreq->sr_data_direction = DMA_NONE; in ata_cmd_ioctl()197 scsi_wait_req(sreq, scsi_cmd, argbuf, argsize, (10*HZ), 5); in ata_cmd_ioctl()199 if (sreq->sr_result) { in ata_cmd_ioctl()210 scsi_release_request(sreq); in ata_cmd_ioctl()234 struct scsi_request *sreq; in ata_task_ioctl() local253 sreq = scsi_allocate_request(scsidev); in ata_task_ioctl()[all …]
432 struct request sreq ; in nbd_ioctl() local459 sreq.cmd=2 ; /* shutdown command */ in nbd_ioctl()461 nbd_send_req(lo, &sreq); in nbd_ioctl()