Lines Matching refs:sg_count
236 u8 sg_count; /* No of HW sg entries for this request */ member
990 srb->sg_count = 0; in build_srb()
1019 srb->sg_count = nseg; in build_srb()
1024 srb->sg_count); in build_srb()
1026 scsi_for_each_sg(cmd, sg, srb->sg_count, i) { in build_srb()
1033 sgp += srb->sg_count - 1; in build_srb()
1212 srb->segment_x, srb->sg_count, srb->sg_index, in dump_register_info()
1939 for (; idx < srb->sg_count; psge++, idx++) in sg_verify_length()
1969 for (idx = srb->sg_index; idx < srb->sg_count; idx++) { in sg_update_list()
2289 srb->sg_count, &offset, &len); in data_in_phase0()
2416 srb->total_xfer_length, srb->sg_index, srb->sg_count); in data_io_transfer()
2419 if (srb->sg_index >= srb->sg_count) { in data_io_transfer()
2451 ((u32)(srb->sg_count - in data_io_transfer()
2506 srb->sg_count, &offset, &len); in data_io_transfer()
2541 if (srb->sg_count) { in data_io_transfer()
3328 srb, scsi_sg_count(cmd), srb->sg_index, srb->sg_count, in srb_done()
3707 srb->sg_count = 1; in request_sense()