tot_dsds 1779 drivers/scsi/qla2xxx/qla_bsg.c uint32_t tot_dsds; tot_dsds 1913 drivers/scsi/qla2xxx/qla_bsg.c tot_dsds = rsp_sg_cnt + req_sg_cnt; tot_dsds 1915 drivers/scsi/qla2xxx/qla_bsg.c rval = qla2x00_start_bidir(sp, vha, tot_dsds); tot_dsds 192 drivers/scsi/qla2xxx/qla_iocb.c uint16_t tot_dsds) tot_dsds 220 drivers/scsi/qla2xxx/qla_iocb.c scsi_for_each_sg(cmd, sg, tot_dsds, i) { tot_dsds 248 drivers/scsi/qla2xxx/qla_iocb.c uint16_t tot_dsds) tot_dsds 276 drivers/scsi/qla2xxx/qla_iocb.c scsi_for_each_sg(cmd, sg, tot_dsds, i) { tot_dsds 333 drivers/scsi/qla2xxx/qla_iocb.c uint16_t tot_dsds; tot_dsds 347 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds = 0; tot_dsds 374 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds = nseg; tot_dsds 377 drivers/scsi/qla2xxx/qla_iocb.c req_cnt = ha->isp_ops->calc_req_entries(tot_dsds); tot_dsds 402 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); tot_dsds 414 drivers/scsi/qla2xxx/qla_iocb.c ha->isp_ops->build_iocbs(sp, cmd_pkt, tot_dsds); tot_dsds 443 drivers/scsi/qla2xxx/qla_iocb.c if (tot_dsds) tot_dsds 585 drivers/scsi/qla2xxx/qla_iocb.c uint16_t tot_dsds) tot_dsds 626 drivers/scsi/qla2xxx/qla_iocb.c while (tot_dsds) { tot_dsds 627 drivers/scsi/qla2xxx/qla_iocb.c avail_dsds = (tot_dsds > QLA_DSDS_PER_IOCB) ? tot_dsds 628 drivers/scsi/qla2xxx/qla_iocb.c QLA_DSDS_PER_IOCB : tot_dsds; tot_dsds 629 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds -= avail_dsds; tot_dsds 699 drivers/scsi/qla2xxx/qla_iocb.c uint16_t tot_dsds, struct req_que *req) tot_dsds 738 drivers/scsi/qla2xxx/qla_iocb.c scsi_for_each_sg(cmd, sg, tot_dsds, i) { tot_dsds 888 drivers/scsi/qla2xxx/qla_iocb.c struct dsd64 *dsd, uint16_t tot_dsds, struct qla_tc_param *tc) tot_dsds 896 drivers/scsi/qla2xxx/qla_iocb.c uint16_t used_dsds = tot_dsds; tot_dsds 1002 drivers/scsi/qla2xxx/qla_iocb.c struct dsd64 *dsd, uint16_t tot_dsds, struct qla_tc_param *tc) tot_dsds 1011 drivers/scsi/qla2xxx/qla_iocb.c uint16_t used_dsds = tot_dsds; tot_dsds 1025 drivers/scsi/qla2xxx/qla_iocb.c for_each_sg(sgl, sg, tot_dsds, i) { tot_dsds 1082 drivers/scsi/qla2xxx/qla_iocb.c struct dsd64 *cur_dsd, uint16_t tot_dsds, struct qla_tgt_cmd *tc) tot_dsds 1090 drivers/scsi/qla2xxx/qla_iocb.c uint used_dsds = tot_dsds; tot_dsds 1120 drivers/scsi/qla2xxx/qla_iocb.c for_each_sg(sgl, sg, tot_dsds, i) { tot_dsds 1162 drivers/scsi/qla2xxx/qla_iocb.c for_each_sg(sgl, sg, tot_dsds, i) { tot_dsds 1321 drivers/scsi/qla2xxx/qla_iocb.c for_each_sg(sgl, sg, tot_dsds, i) { tot_dsds 1389 drivers/scsi/qla2xxx/qla_iocb.c uint16_t tot_dsds, uint16_t tot_prot_dsds, uint16_t fw_prot_opts) tot_dsds 1536 drivers/scsi/qla2xxx/qla_iocb.c crc_ctx_pkt->u.bundling.dseg_count = cpu_to_le16(tot_dsds - tot_dsds 1562 drivers/scsi/qla2xxx/qla_iocb.c cur_dsd, tot_dsds, NULL)) tot_dsds 1565 drivers/scsi/qla2xxx/qla_iocb.c (tot_dsds - tot_prot_dsds), NULL)) tot_dsds 1600 drivers/scsi/qla2xxx/qla_iocb.c uint16_t tot_dsds; tot_dsds 1610 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds = 0; tot_dsds 1636 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds = nseg; tot_dsds 1637 drivers/scsi/qla2xxx/qla_iocb.c req_cnt = qla24xx_calc_iocbs(vha, tot_dsds); tot_dsds 1664 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); tot_dsds 1685 drivers/scsi/qla2xxx/qla_iocb.c qla24xx_build_scsi_iocbs(sp, cmd_pkt, tot_dsds, req); tot_dsds 1707 drivers/scsi/qla2xxx/qla_iocb.c if (tot_dsds) tot_dsds 1730 drivers/scsi/qla2xxx/qla_iocb.c uint16_t tot_dsds; tot_dsds 1754 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds = 0; tot_dsds 1800 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds = nseg; tot_dsds 1822 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds += nseg; tot_dsds 1861 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); tot_dsds 1865 drivers/scsi/qla2xxx/qla_iocb.c req->ring_ptr, tot_dsds, tot_prot_dsds, fw_prot_opts) != tot_dsds 1917 drivers/scsi/qla2xxx/qla_iocb.c uint16_t tot_dsds; tot_dsds 1931 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds = 0; tot_dsds 1956 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds = nseg; tot_dsds 1957 drivers/scsi/qla2xxx/qla_iocb.c req_cnt = qla24xx_calc_iocbs(vha, tot_dsds); tot_dsds 1984 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); tot_dsds 2005 drivers/scsi/qla2xxx/qla_iocb.c qla24xx_build_scsi_iocbs(sp, cmd_pkt, tot_dsds, req); tot_dsds 2027 drivers/scsi/qla2xxx/qla_iocb.c if (tot_dsds) tot_dsds 2051 drivers/scsi/qla2xxx/qla_iocb.c uint16_t tot_dsds; tot_dsds 2090 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds = 0; tot_dsds 2135 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds = nseg; tot_dsds 2157 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds += nseg; tot_dsds 2196 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); tot_dsds 2200 drivers/scsi/qla2xxx/qla_iocb.c req->ring_ptr, tot_dsds, tot_prot_dsds, fw_prot_opts) != tot_dsds 2934 drivers/scsi/qla2xxx/qla_iocb.c uint16_t tot_dsds; tot_dsds 2968 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds = bsg_job->reply_payload.sg_cnt; tot_dsds 2970 drivers/scsi/qla2xxx/qla_iocb.c for_each_sg(bsg_job->reply_payload.sg_list, sg, tot_dsds, index) { tot_dsds 3086 drivers/scsi/qla2xxx/qla_iocb.c uint16_t tot_dsds; tot_dsds 3104 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds = 0; tot_dsds 3135 drivers/scsi/qla2xxx/qla_iocb.c tot_dsds = nseg; tot_dsds 3137 drivers/scsi/qla2xxx/qla_iocb.c if (tot_dsds > ql2xshiftctondsd) { tot_dsds 3143 drivers/scsi/qla2xxx/qla_iocb.c more_dsd_lists = qla24xx_calc_dsd_lists(tot_dsds); tot_dsds 3239 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); tot_dsds 3249 drivers/scsi/qla2xxx/qla_iocb.c if (qla24xx_build_scsi_type_6_iocbs(sp, cmd_pkt, tot_dsds)) tot_dsds 3290 drivers/scsi/qla2xxx/qla_iocb.c req_cnt = qla24xx_calc_iocbs(vha, tot_dsds); tot_dsds 3310 drivers/scsi/qla2xxx/qla_iocb.c cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); tot_dsds 3334 drivers/scsi/qla2xxx/qla_iocb.c qla24xx_build_scsi_iocbs(sp, cmd_pkt, tot_dsds, req); tot_dsds 3387 drivers/scsi/qla2xxx/qla_iocb.c if (tot_dsds) tot_dsds 3639 drivers/scsi/qla2xxx/qla_iocb.c struct cmd_bidir *cmd_pkt, uint32_t tot_dsds) tot_dsds 3725 drivers/scsi/qla2xxx/qla_iocb.c qla2x00_start_bidir(srb_t *sp, struct scsi_qla_host *vha, uint32_t tot_dsds) tot_dsds 3762 drivers/scsi/qla2xxx/qla_iocb.c req_cnt = qla24xx_calc_iocbs(vha, tot_dsds); tot_dsds 3793 drivers/scsi/qla2xxx/qla_iocb.c qla25xx_build_bidir_iocb(sp, vha, cmd_pkt, tot_dsds); tot_dsds 2995 drivers/scsi/qla2xxx/qla_mr.c uint16_t tot_dsds, struct cmd_type_7_fx00 *lcmd_pkt) tot_dsds 3037 drivers/scsi/qla2xxx/qla_mr.c scsi_for_each_sg(cmd, sg, tot_dsds, i) { tot_dsds 3081 drivers/scsi/qla2xxx/qla_mr.c uint16_t tot_dsds; tot_dsds 3096 drivers/scsi/qla2xxx/qla_mr.c tot_dsds = 0; tot_dsds 3114 drivers/scsi/qla2xxx/qla_mr.c tot_dsds = nseg; tot_dsds 3115 drivers/scsi/qla2xxx/qla_mr.c req_cnt = qla24xx_calc_iocbs(vha, tot_dsds); tot_dsds 3143 drivers/scsi/qla2xxx/qla_mr.c lcmd_pkt.dseg_count = cpu_to_le16(tot_dsds); tot_dsds 3155 drivers/scsi/qla2xxx/qla_mr.c qlafx00_build_scsi_iocbs(sp, cmd_pkt, tot_dsds, &lcmd_pkt); tot_dsds 3189 drivers/scsi/qla2xxx/qla_mr.c if (tot_dsds) tot_dsds 3313 drivers/scsi/qla2xxx/qla_mr.c int avail_dsds, tot_dsds; tot_dsds 3321 drivers/scsi/qla2xxx/qla_mr.c tot_dsds = tot_dsds 3326 drivers/scsi/qla2xxx/qla_mr.c tot_dsds, index) { tot_dsds 3369 drivers/scsi/qla2xxx/qla_mr.c int avail_dsds, tot_dsds; tot_dsds 3377 drivers/scsi/qla2xxx/qla_mr.c tot_dsds = bsg_job->reply_payload.sg_cnt; tot_dsds 3382 drivers/scsi/qla2xxx/qla_mr.c tot_dsds, index) { tot_dsds 360 drivers/scsi/qla2xxx/qla_nvme.c uint16_t tot_dsds; tot_dsds 374 drivers/scsi/qla2xxx/qla_nvme.c tot_dsds = fd->sg_cnt; tot_dsds 384 drivers/scsi/qla2xxx/qla_nvme.c req_cnt = qla24xx_calc_iocbs(vha, tot_dsds); tot_dsds 464 drivers/scsi/qla2xxx/qla_nvme.c cmd_pkt->dseg_count = cpu_to_le16(tot_dsds); tot_dsds 473 drivers/scsi/qla2xxx/qla_nvme.c for_each_sg(sgl, sg, tot_dsds, i) { tot_dsds 2412 drivers/scsi/qla2xxx/qla_target.c prm->tot_dsds = prm->seg_cnt; tot_dsds 2414 drivers/scsi/qla2xxx/qla_target.c prm->tot_dsds = prm->seg_cnt; tot_dsds 2429 drivers/scsi/qla2xxx/qla_target.c prm->tot_dsds += prm->prot_seg_cnt; tot_dsds 2431 drivers/scsi/qla2xxx/qla_target.c prm->tot_dsds += prm->prot_seg_cnt; tot_dsds 2741 drivers/scsi/qla2xxx/qla_target.c prm->tot_dsds = 0; tot_dsds 3109 drivers/scsi/qla2xxx/qla_target.c pkt->dseg_count = prm->tot_dsds; tot_dsds 3143 drivers/scsi/qla2xxx/qla_target.c cpu_to_le16(prm->tot_dsds - prm->prot_seg_cnt); tot_dsds 3167 drivers/scsi/qla2xxx/qla_target.c prm->tot_dsds, &tc)) tot_dsds 3170 drivers/scsi/qla2xxx/qla_target.c (prm->tot_dsds - prm->prot_seg_cnt), &tc)) tot_dsds 981 drivers/scsi/qla2xxx/qla_target.h uint16_t tot_dsds; tot_dsds 150 drivers/scsi/qla4xxx/ql4_iocb.c uint16_t tot_dsds) tot_dsds 171 drivers/scsi/qla4xxx/ql4_iocb.c scsi_for_each_sg(cmd, sg, tot_dsds, i) { tot_dsds 279 drivers/scsi/qla4xxx/ql4_iocb.c uint16_t tot_dsds; tot_dsds 287 drivers/scsi/qla4xxx/ql4_iocb.c tot_dsds = 0; tot_dsds 311 drivers/scsi/qla4xxx/ql4_iocb.c tot_dsds = nseg; tot_dsds 313 drivers/scsi/qla4xxx/ql4_iocb.c req_cnt = qla4xxx_calc_request_entries(tot_dsds); tot_dsds 331 drivers/scsi/qla4xxx/ql4_iocb.c cmd_entry->dataSegCnt = cpu_to_le16(tot_dsds); tot_dsds 356 drivers/scsi/qla4xxx/ql4_iocb.c qla4xxx_build_scsi_iocbs(srb, cmd_entry, tot_dsds); tot_dsds 376 drivers/scsi/qla4xxx/ql4_iocb.c if (tot_dsds)