Lines Matching refs:sg_count
321 int sg_count)
336 if (sg_count) {
339 for_each_sg(scsi_sglist(sc), sg, sg_count, i) {
349 sizeof(io_req->sgl_list[0]) * sg_count,
430 int sg_count = 0;
470 sg_count = scsi_dma_map(sc);
471 if (sg_count < 0) {
474 sg_count, CMD_STATE(sc));
480 io_req->sgl_cnt = sg_count;
482 if (sg_count > FNIC_DFLT_SG_DESC_CNT)
485 if (sg_count) {
518 ret = fnic_queue_wq_copy_desc(fnic, wq, io_req, sc, sg_count);
556 sg_count, cmd_trace,