Home
last modified time | relevance | path

Searched refs:num_bde (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_scsi.c845 uint32_t num_bde = 0; in lpfc_scsi_prep_dma_buf_s3() local
890 scsi_for_each_sg(scsi_cmnd, sgel, nseg, num_bde) { in lpfc_scsi_prep_dma_buf_s3()
923 if (num_bde > LPFC_EXT_DATA_BDE_COUNT) { in lpfc_scsi_prep_dma_buf_s3()
931 data_bde->tus.f.bdeSize = (num_bde * in lpfc_scsi_prep_dma_buf_s3()
942 iocb_cmd->unsli3.fcp_ext.ebde_count = (num_bde + 1); in lpfc_scsi_prep_dma_buf_s3()
946 ((num_bde + 2) * sizeof(struct ulp_bde64)); in lpfc_scsi_prep_dma_buf_s3()
947 iocb_cmd->unsli3.fcp_ext.ebde_count = (num_bde + 1); in lpfc_scsi_prep_dma_buf_s3()
1570 int i = 0, num_bde = 0, status; in lpfc_bg_setup_bpl() local
1606 num_bde++; in lpfc_bg_setup_bpl()
1641 num_bde++; in lpfc_bg_setup_bpl()
[all …]
Dlpfc_bsg.c2962 uint32_t num_bde; in lpfcdiag_loop_post_rxbufs() local
2987 num_bde = (uint32_t)rxbuffer->flag; in lpfcdiag_loop_post_rxbufs()
3021 if ((--num_bde > 0) && (i < 2)) in lpfcdiag_loop_post_rxbufs()
3117 uint32_t num_bde; in lpfc_bsg_diag_loopback_run() local
3277 num_bde = (uint32_t)txbuffer->flag; in lpfc_bsg_diag_loopback_run()
3282 cmd->un.xseq64.bdl.bdeSize = (num_bde * sizeof(struct ulp_bde64)); in lpfc_bsg_diag_loopback_run()
Dlpfc_nvme.c1426 uint32_t num_bde = 0; in lpfc_nvme_prep_io_dma() local
1480 if ((num_bde + 1) == nseg) { in lpfc_nvme_prep_io_dma()