Home
last modified time | relevance | path

Searched refs:dxfer_direction (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/block/
Dscsi_ioctl.c300 switch (hdr->dxfer_direction) { in sg_io()
554 .dxfer_direction = hdr->dxfer_direction, in put_sg_io_hdr()
602 .dxfer_direction = hdr32.dxfer_direction, in get_sg_io_hdr()
729 hdr.dxfer_direction = SG_DXFER_UNKNOWN; in scsi_cdrom_send_packet()
732 hdr.dxfer_direction = SG_DXFER_TO_DEV; in scsi_cdrom_send_packet()
735 hdr.dxfer_direction = SG_DXFER_FROM_DEV; in scsi_cdrom_send_packet()
738 hdr.dxfer_direction = SG_DXFER_NONE; in scsi_cdrom_send_packet()
/Linux-v5.10/include/scsi/
Dsg.h47 int dxfer_direction; /* [i] data transfer direction */ member
76 compat_int_t dxfer_direction; /* [i] data transfer direction */ member
/Linux-v5.10/drivers/scsi/
Dsg.c673 hp->dxfer_direction = (old_hdr.reply_len > SZ_SG_HEADER) ? in sg_write()
676 hp->dxfer_direction = (mxsize > 0) ? SG_DXFER_FROM_DEV : SG_DXFER_NONE; in sg_write()
678 if ((hp->dxfer_direction == SG_DXFER_TO_DEV) || in sg_write()
679 (hp->dxfer_direction == SG_DXFER_TO_FROM_DEV)) in sg_write()
697 if (hp->dxfer_direction == SG_DXFER_TO_FROM_DEV) { in sg_write()
1729 int dxfer_dir = hp->dxfer_direction; in sg_start_req()
1735 int rw = hp->dxfer_direction == SG_DXFER_TO_DEV ? WRITE : READ; in sg_start_req()
1759 rq = blk_get_request(q, hp->dxfer_direction == SG_DXFER_TO_DEV ? in sg_start_req()