Lines Matching refs:req_sg_cnt

279 	int req_sg_cnt, rsp_sg_cnt;  in qla2x00_process_els()  local
369 req_sg_cnt = in qla2x00_process_els()
372 if (!req_sg_cnt) { in qla2x00_process_els()
388 if ((req_sg_cnt != bsg_job->request_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
474 req_sg_cnt = in qla2x00_process_ct()
477 if (!req_sg_cnt) { in qla2x00_process_ct()
479 "dma_map_sg return %d for request\n", req_sg_cnt); in qla2x00_process_ct()
493 if ((req_sg_cnt != bsg_job->request_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()
767 elreq.req_sg_cnt = dma_map_sg(&ha->pdev->dev, in qla2x00_process_loopback()
771 if (!elreq.req_sg_cnt) { in qla2x00_process_loopback()
773 "dma_map_sg returned %d for request.\n", elreq.req_sg_cnt); in qla2x00_process_loopback()
788 if ((elreq.req_sg_cnt != bsg_job->request_payload.sg_cnt) || in qla2x00_process_loopback()
794 bsg_job->request_payload.sg_cnt, elreq.req_sg_cnt, in qla2x00_process_loopback()
1815 uint16_t req_sg_cnt = 0; in qla24xx_process_bidir_cmd() local
1895 req_sg_cnt = dma_map_sg(&ha->pdev->dev, in qla24xx_process_bidir_cmd()
1900 if (!req_sg_cnt) { in qla24xx_process_bidir_cmd()
1914 if ((req_sg_cnt != bsg_job->request_payload.sg_cnt) || in qla24xx_process_bidir_cmd()
1920 bsg_job->request_payload.sg_cnt, req_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
2015 req_sg_cnt = dma_map_sg(&ha->pdev->dev, in qlafx00_mgmt_cmd()
2018 if (!req_sg_cnt) { in qlafx00_mgmt_cmd()
2020 "dma_map_sg return %d for request\n", req_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()