Home
last modified time | relevance | path

Searched refs:dxfer_len (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0002_linux_block.patch72 + hdr->dxfer_len);
80 if (hdr->dxfer_len > (queue_max_hw_sectors(q) << 9))
83 + if (sg_io_buffer_hack && hdr->dxfer_len > 0x10000)
86 if (hdr->dxfer_len)
93 - } else if (hdr->dxfer_len)
94 - ret = blk_rq_map_user(q, rq, NULL, hdr->dxferp, hdr->dxfer_len,
96 + } else if (hdr->dxfer_len) {
99 + hdr->dxfer_len, GFP_KERNEL);
102 + hdr->dxfer_len, GFP_KERNEL);
/kernel/linux/linux-5.10/block/
Dscsi_ioctl.c296 if (hdr->dxfer_len > (queue_max_hw_sectors(q) << 9)) in sg_io()
299 if (hdr->dxfer_len) in sg_io()
340 iov_iter_truncate(&i, hdr->dxfer_len); in sg_io()
344 } else if (hdr->dxfer_len) in sg_io()
345 ret = blk_rq_map_user(q, rq, NULL, hdr->dxferp, hdr->dxfer_len, in sg_io()
558 .dxfer_len = hdr->dxfer_len, in put_sg_io_hdr()
606 .dxfer_len = hdr32.dxfer_len, in get_sg_io_hdr()
726 hdr.dxfer_len = cgc.buflen; in scsi_cdrom_send_packet()
/kernel/linux/linux-5.10/include/scsi/
Dsg.h51 unsigned int dxfer_len; /* [i] byte count of data transfer */ member
80 compat_uint_t dxfer_len; /* [i] byte count of data transfer */ member
/kernel/linux/linux-5.10/drivers/scsi/
Dsg.c674 hp->dxfer_len = mxsize; in sg_write()
740 if (hp->dxfer_len > sfp->reserve.bufflen) { in sg_new_write()
795 if (hp->dxfer_len >= SZ_256M) { in sg_common_write()
1723 int dxfer_len = (int) hp->dxfer_len; in sg_start_req() local
1735 dxfer_len)); in sg_start_req()
1771 if ((dxfer_len <= 0) || (dxfer_dir == SG_DXFER_NONE)) in sg_start_req()
1777 blk_rq_aligned(q, (unsigned long)hp->dxferp, dxfer_len)) in sg_start_req()
1784 if (dxfer_len <= rsv_schp->bufflen && in sg_start_req()
1787 sg_link_reserve(sfp, srp, dxfer_len); in sg_start_req()
1790 if (dxfer_len > rsv_schp->bufflen) in sg_start_req()
[all …]