Home
last modified time | relevance | path

Searched refs:bdt_info (Results 1 – 2 of 2) sorted by relevance

/drivers/scsi/bnx2fc/
Dbnx2fc_io.c214 struct io_bdt *bdt_info; in bnx2fc_cmd_mgr_alloc() local
317 bdt_info = cmgr->io_bdt_pool[i]; in bnx2fc_cmd_mgr_alloc()
318 bdt_info->bd_tbl = dma_alloc_coherent(&hba->pcidev->dev, in bnx2fc_cmd_mgr_alloc()
320 &bdt_info->bd_tbl_dma, in bnx2fc_cmd_mgr_alloc()
322 if (!bdt_info->bd_tbl) { in bnx2fc_cmd_mgr_alloc()
338 struct io_bdt *bdt_info; in bnx2fc_cmd_mgr_free() local
354 bdt_info = cmgr->io_bdt_pool[i]; in bnx2fc_cmd_mgr_free()
355 if (bdt_info->bd_tbl) { in bnx2fc_cmd_mgr_free()
357 bdt_info->bd_tbl, in bnx2fc_cmd_mgr_free()
358 bdt_info->bd_tbl_dma); in bnx2fc_cmd_mgr_free()
[all …]
/drivers/scsi/qedf/
Dqedf_io.c108 struct io_bdt *bdt_info; in qedf_cmd_mgr_free() local
127 bdt_info = cmgr->io_bdt_pool[i]; in qedf_cmd_mgr_free()
128 if (bdt_info->bd_tbl) { in qedf_cmd_mgr_free()
130 bdt_info->bd_tbl, bdt_info->bd_tbl_dma); in qedf_cmd_mgr_free()
131 bdt_info->bd_tbl = NULL; in qedf_cmd_mgr_free()
175 struct io_bdt *bdt_info; in qedf_cmd_mgr_alloc() local
276 bdt_info = cmgr->io_bdt_pool[i]; in qedf_cmd_mgr_alloc()
277 bdt_info->bd_tbl = dma_alloc_coherent(&qedf->pdev->dev, in qedf_cmd_mgr_alloc()
279 &bdt_info->bd_tbl_dma, GFP_KERNEL); in qedf_cmd_mgr_alloc()
280 if (!bdt_info->bd_tbl) { in qedf_cmd_mgr_alloc()