Lines Matching refs:sg_cnt
166 int sg_cnt) in snic_queue_icmnd_req() argument
176 if (sg_cnt) { in snic_queue_icmnd_req()
180 for_each_sg(scsi_sglist(sc), sg, sg_cnt, i) { in snic_queue_icmnd_req()
218 sg_cnt, in snic_queue_icmnd_req()
245 int sg_cnt = 0; in snic_issue_scsi_req() local
254 sg_cnt = scsi_dma_map(sc); in snic_issue_scsi_req()
255 if (sg_cnt < 0) { in snic_issue_scsi_req()
257 sc->cmnd[0], sg_cnt, CMD_STATE(sc)); in snic_issue_scsi_req()
265 rqi = snic_req_init(snic, sg_cnt); in snic_issue_scsi_req()
284 ret = snic_queue_icmnd_req(snic, rqi, sc, sg_cnt); in snic_issue_scsi_req()
318 sg_cnt, cmd_trc, cmd_st_flags); in snic_issue_scsi_req()