Lines Matching refs:sg_index
221 u8 sg_index; /* Index of HW sg entry for this request */ member
875 srb->sg_index = 0; in build_srb()
1060 srb->segment_x, srb->sg_count, srb->sg_index, in DEF_SCSI_QCMD()
1778 unsigned idx = srb->sg_index; in sg_verify_length()
1798 struct SGentry *psge = srb->segment_x + srb->sg_index; in sg_update_list()
1810 for (idx = srb->sg_index; idx < srb->sg_count; idx++) { in sg_update_list()
1821 srb->sg_index = idx; in sg_update_list()
1989 if ((srb->segment_x[srb->sg_index].length == in data_out_phase0()
2253 srb->total_xfer_length, srb->sg_index, srb->sg_count); in data_io_transfer()
2256 if (srb->sg_index >= srb->sg_count) { in data_io_transfer()
2285 srb->sg_index); in data_io_transfer()
2289 srb->sg_index) << 3)); in data_io_transfer()
3161 srb, scsi_sg_count(cmd), srb->sg_index, srb->sg_count, in srb_done()
3518 srb->sg_index = 0; in request_sense()