Home
last modified time | relevance | path

Searched refs:sreq (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/scsi/ !
Dlibata-scsi.c150 struct scsi_request *sreq; in ata_cmd_ioctl() local
158 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() local
253 sreq = scsi_allocate_request(scsidev); in ata_task_ioctl()
[all …]
/linux-2.4.37.9/drivers/block/ !
Dnbd.c432 struct request sreq ; in nbd_ioctl() local
459 sreq.cmd=2 ; /* shutdown command */ in nbd_ioctl()
461 nbd_send_req(lo, &sreq); in nbd_ioctl()