Lines Matching refs:dxfer_len
677 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()
1721 int dxfer_len = (int) hp->dxfer_len; in sg_start_req() local
1733 dxfer_len)); in sg_start_req()
1764 if ((dxfer_len <= 0) || (dxfer_dir == SG_DXFER_NONE)) in sg_start_req()
1769 blk_rq_aligned(q, (unsigned long)hp->dxferp, dxfer_len)) in sg_start_req()
1776 if (dxfer_len <= rsv_schp->bufflen && in sg_start_req()
1779 sg_link_reserve(sfp, srp, dxfer_len); in sg_start_req()
1782 if (dxfer_len > rsv_schp->bufflen) in sg_start_req()
1787 res = sg_build_indirect(req_schp, sfp, dxfer_len); in sg_start_req()
1814 iov_iter_truncate(&i, hp->dxfer_len); in sg_start_req()
1824 hp->dxfer_len, GFP_ATOMIC); in sg_start_req()