Lines Matching refs:dxfer_len
681 hp->dxfer_len = mxsize; in sg_write()
747 if (hp->dxfer_len > sfp->reserve.bufflen) { in sg_new_write()
802 if (hp->dxfer_len >= SZ_256M) { in sg_common_write()
1696 int dxfer_len = (int) hp->dxfer_len; in sg_start_req() local
1708 dxfer_len)); in sg_start_req()
1744 if ((dxfer_len <= 0) || (dxfer_dir == SG_DXFER_NONE)) in sg_start_req()
1749 blk_rq_aligned(q, (unsigned long)hp->dxferp, dxfer_len)) in sg_start_req()
1756 if (dxfer_len <= rsv_schp->bufflen && in sg_start_req()
1759 sg_link_reserve(sfp, srp, dxfer_len); in sg_start_req()
1762 if (dxfer_len > rsv_schp->bufflen) in sg_start_req()
1767 res = sg_build_indirect(req_schp, sfp, dxfer_len); in sg_start_req()
1794 iov_iter_truncate(&i, hp->dxfer_len); in sg_start_req()
1804 hp->dxfer_len, GFP_ATOMIC); in sg_start_req()