Searched refs:dxfer_len (Results 1 – 2 of 2) sorted by relevance
/drivers/scsi/ |
D | scsi_ioctl.c | 424 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()
|
D | sg.c | 680 hp->dxfer_len = mxsize; in sg_write() 746 if (hp->dxfer_len > sfp->reserve.bufflen) { in sg_new_write() 801 if (hp->dxfer_len >= SZ_256M) { in sg_common_write() 1736 int dxfer_len = (int) hp->dxfer_len; in sg_start_req() local 1748 dxfer_len)); in sg_start_req() 1779 if ((dxfer_len <= 0) || (dxfer_dir == SG_DXFER_NONE)) in sg_start_req() 1784 blk_rq_aligned(q, (unsigned long)hp->dxferp, dxfer_len)) in sg_start_req() 1791 if (dxfer_len <= rsv_schp->bufflen && in sg_start_req() 1794 sg_link_reserve(sfp, srp, dxfer_len); in sg_start_req() 1797 if (dxfer_len > rsv_schp->bufflen) in sg_start_req() [all …]
|