Lines Matching refs:sg_count
220 u8 sg_count; /* No of HW sg entries for this request */ member
872 srb->sg_count = 0; in build_srb()
901 srb->sg_count = nseg; in build_srb()
906 srb->sg_count); in build_srb()
908 scsi_for_each_sg(cmd, sg, srb->sg_count, i) { in build_srb()
915 sgp += srb->sg_count - 1; in build_srb()
1062 srb->segment_x, srb->sg_count, srb->sg_index, in DEF_SCSI_QCMD()
1782 for (; idx < srb->sg_count; psge++, idx++) in sg_verify_length()
1812 for (idx = srb->sg_index; idx < srb->sg_count; idx++) { in sg_update_list()
2128 srb->sg_count, &offset, &len); in data_in_phase0()
2255 srb->total_xfer_length, srb->sg_index, srb->sg_count); in data_io_transfer()
2258 if (srb->sg_index >= srb->sg_count) { in data_io_transfer()
2290 ((u32)(srb->sg_count - in data_io_transfer()
2345 srb->sg_count, &offset, &len); in data_io_transfer()
2379 if (srb->sg_count) { in data_io_transfer()
3163 srb, scsi_sg_count(cmd), srb->sg_index, srb->sg_count, in srb_done()
3522 srb->sg_count = 1; in request_sense()