Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/scsi/
Dscsi_ioctl.c424 if (hdr->dxfer_len > (queue_max_hw_sectors(sdev->request_queue) << 9)) in sg_io()
427 if (hdr->dxfer_len) in sg_io()
456 ret = blk_rq_map_user_io(rq, NULL, hdr->dxferp, hdr->dxfer_len, in sg_io()
457 GFP_KERNEL, hdr->iovec_count && hdr->dxfer_len, in sg_io()
627 .dxfer_len = hdr->dxfer_len, in put_sg_io_hdr()
675 .dxfer_len = hdr32.dxfer_len, in get_sg_io_hdr()
794 hdr.dxfer_len = cgc.buflen; in scsi_cdrom_send_packet()
Dsg.c677 hp->dxfer_len = mxsize; in sg_write()
743 if (hp->dxfer_len > sfp->reserve.bufflen) { in sg_new_write()
798 if (hp->dxfer_len >= SZ_256M) { in sg_common_write()
1733 int dxfer_len = (int) hp->dxfer_len; in sg_start_req() local
1745 dxfer_len)); in sg_start_req()
1776 if ((dxfer_len <= 0) || (dxfer_dir == SG_DXFER_NONE)) in sg_start_req()
1781 blk_rq_aligned(q, (unsigned long)hp->dxferp, dxfer_len)) in sg_start_req()
1788 if (dxfer_len <= rsv_schp->bufflen && in sg_start_req()
1791 sg_link_reserve(sfp, srp, dxfer_len); in sg_start_req()
1794 if (dxfer_len > rsv_schp->bufflen) in sg_start_req()
[all …]
/Linux-v6.6/include/scsi/
Dsg.h47 unsigned int dxfer_len; /* [i] byte count of data transfer */ member
76 compat_uint_t dxfer_len; /* [i] byte count of data transfer */ member