Lines Matching refs:rsp_sg_cnt

279 	int req_sg_cnt, rsp_sg_cnt;  in qla2x00_process_els()  local
379 rsp_sg_cnt = dma_map_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, in qla2x00_process_els()
381 if (!rsp_sg_cnt) { in qla2x00_process_els()
389 (rsp_sg_cnt != bsg_job->reply_payload.sg_cnt)) { in qla2x00_process_els()
394 req_sg_cnt, bsg_job->reply_payload.sg_cnt, rsp_sg_cnt); in qla2x00_process_els()
469 int req_sg_cnt, rsp_sg_cnt; in qla2x00_process_ct() local
484 rsp_sg_cnt = dma_map_sg(&ha->pdev->dev, bsg_job->reply_payload.sg_list, in qla2x00_process_ct()
486 if (!rsp_sg_cnt) { in qla2x00_process_ct()
488 "dma_map_sg return %d for reply\n", rsp_sg_cnt); in qla2x00_process_ct()
494 (rsp_sg_cnt != bsg_job->reply_payload.sg_cnt)) { in qla2x00_process_ct()
498 req_sg_cnt, bsg_job->reply_payload.sg_cnt, rsp_sg_cnt); in qla2x00_process_ct()
558 sp->iocbs = qla24xx_calc_ct_iocbs(req_sg_cnt + rsp_sg_cnt); in qla2x00_process_ct()
777 elreq.rsp_sg_cnt = dma_map_sg(&ha->pdev->dev, in qla2x00_process_loopback()
781 if (!elreq.rsp_sg_cnt) { in qla2x00_process_loopback()
783 "dma_map_sg returned %d for reply.\n", elreq.rsp_sg_cnt); in qla2x00_process_loopback()
789 (elreq.rsp_sg_cnt != bsg_job->reply_payload.sg_cnt)) { in qla2x00_process_loopback()
795 bsg_job->reply_payload.sg_cnt, elreq.rsp_sg_cnt); in qla2x00_process_loopback()
1816 uint16_t rsp_sg_cnt = 0; in qla24xx_process_bidir_cmd() local
1905 rsp_sg_cnt = dma_map_sg(&ha->pdev->dev, in qla24xx_process_bidir_cmd()
1909 if (!rsp_sg_cnt) { in qla24xx_process_bidir_cmd()
1915 (rsp_sg_cnt != bsg_job->reply_payload.sg_cnt)) { in qla24xx_process_bidir_cmd()
1921 bsg_job->reply_payload.sg_cnt, rsp_sg_cnt); in qla24xx_process_bidir_cmd()
1952 tot_dsds = rsp_sg_cnt + req_sg_cnt; in qla24xx_process_bidir_cmd()
1995 int req_sg_cnt = 0, rsp_sg_cnt = 0; in qlafx00_mgmt_cmd() local
2027 rsp_sg_cnt = dma_map_sg(&ha->pdev->dev, in qlafx00_mgmt_cmd()
2030 if (!rsp_sg_cnt) { in qlafx00_mgmt_cmd()
2032 "dma_map_sg return %d for reply\n", rsp_sg_cnt); in qlafx00_mgmt_cmd()
2041 req_sg_cnt, bsg_job->reply_payload.sg_cnt, rsp_sg_cnt); in qlafx00_mgmt_cmd()
2071 sp->iocbs = qla24xx_calc_ct_iocbs(req_sg_cnt + rsp_sg_cnt); in qlafx00_mgmt_cmd()