Lines Matching refs:sg_count
309 int sg_count)
322 if (sg_count) {
325 for_each_sg(scsi_sglist(sc), sg, sg_count, i) {
334 sizeof(io_req->sgl_list[0]) * sg_count,
348 sizeof(io_req->sgl_list[0]) * sg_count,
423 int sg_count = 0;
501 sg_count = scsi_dma_map(sc);
502 if (sg_count < 0) {
504 tag, sc, 0, sc->cmnd[0], sg_count, fnic_priv(sc)->state);
510 io_req->sgl_cnt = sg_count;
512 if (sg_count > FNIC_DFLT_SG_DESC_CNT)
515 if (sg_count) {
555 ret = fnic_queue_wq_copy_desc(fnic, wq, io_req, sc, sg_count);
593 tag, sc, io_req, sg_count, cmd_trace,