Searched refs:num_bde (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/scsi/lpfc/
H A Dlpfc_scsi.c1157 uint32_t num_bde = 0; lpfc_scsi_prep_dma_buf_s3() local
1201 scsi_for_each_sg(scsi_cmnd, sgel, nseg, num_bde) { scsi_for_each_sg()
1234 if (num_bde > LPFC_EXT_DATA_BDE_COUNT) {
1242 data_bde->tus.f.bdeSize = (num_bde *
1253 iocb_cmd->unsli3.fcp_ext.ebde_count = (num_bde + 1);
1257 ((num_bde + 2) * sizeof(struct ulp_bde64));
1258 iocb_cmd->unsli3.fcp_ext.ebde_count = (num_bde + 1);
1876 int i = 0, num_bde = 0, status; lpfc_bg_setup_bpl() local
1912 num_bde++; lpfc_bg_setup_bpl()
1947 num_bde++; lpfc_bg_setup_bpl()
1962 num_bde++; scsi_for_each_sg()
1966 return num_bde;
2033 int num_bde = 0; lpfc_bg_setup_bpl_prot() local
2066 if (num_bde >= (phba->cfg_total_seg_cnt - 2)) lpfc_bg_setup_bpl_prot()
2067 return num_bde + 3; lpfc_bg_setup_bpl_prot()
2079 num_bde++; lpfc_bg_setup_bpl_prot()
2109 num_bde++; lpfc_bg_setup_bpl_prot()
2140 num_bde++; lpfc_bg_setup_bpl_prot()
2147 if (num_bde >= phba->cfg_total_seg_cnt) lpfc_bg_setup_bpl_prot()
2148 return num_bde + 1; lpfc_bg_setup_bpl_prot()
2184 num_bde++; lpfc_bg_setup_bpl_prot()
2221 return num_bde; lpfc_bg_setup_bpl_prot()
2706 uint32_t num_bde = 0; lpfc_bg_scsi_prep_dma_buf_s3() local
2744 num_bde = lpfc_bg_setup_bpl(phba, scsi_cmnd, bpl, lpfc_bg_scsi_prep_dma_buf_s3()
2747 if (num_bde < 2) lpfc_bg_scsi_prep_dma_buf_s3()
2775 num_bde = lpfc_bg_setup_bpl_prot(phba, scsi_cmnd, bpl, lpfc_bg_scsi_prep_dma_buf_s3()
2778 if ((num_bde < 3) || lpfc_bg_scsi_prep_dma_buf_s3()
2779 (num_bde > phba->cfg_total_seg_cnt)) lpfc_bg_scsi_prep_dma_buf_s3()
2802 iocb_cmd->un.fcpi64.bdl.bdeSize += (num_bde * sizeof(struct ulp_bde64)); lpfc_bg_scsi_prep_dma_buf_s3()
2829 prot_group_type, num_bde); lpfc_bg_scsi_prep_dma_buf_s3()
3232 uint32_t num_bde = 0; lpfc_scsi_prep_dma_buf_s4() local
3283 scsi_for_each_sg(scsi_cmnd, sgel, nseg, num_bde) { scsi_for_each_sg()
3289 if ((num_bde + 1) == nseg) scsi_for_each_sg()
H A Dlpfc_bsg.c2853 uint32_t num_bde; lpfcdiag_loop_post_rxbufs() local
2876 num_bde = (uint32_t)rxbuffer->flag; lpfcdiag_loop_post_rxbufs()
2910 if ((--num_bde > 0) && (i < 2)) lpfcdiag_loop_post_rxbufs()
3005 uint32_t num_bde; lpfc_bsg_diag_loopback_run() local
3165 num_bde = (uint32_t)txbuffer->flag; lpfc_bsg_diag_loopback_run()
3170 cmd->un.xseq64.bdl.bdeSize = (num_bde * sizeof(struct ulp_bde64)); lpfc_bsg_diag_loopback_run()

Completed in 208 milliseconds