Home
last modified time | relevance | path

Searched refs:io_bdt_pool (Results 1 – 4 of 4) sorted by relevance

/drivers/scsi/bnx2fc/
Dbnx2fc_io.c298 cmgr->io_bdt_pool = kzalloc(mem_size, GFP_KERNEL); in bnx2fc_cmd_mgr_alloc()
299 if (!cmgr->io_bdt_pool) { in bnx2fc_cmd_mgr_alloc()
306 cmgr->io_bdt_pool[i] = kmalloc(mem_size, GFP_KERNEL); in bnx2fc_cmd_mgr_alloc()
307 if (!cmgr->io_bdt_pool[i]) { in bnx2fc_cmd_mgr_alloc()
317 bdt_info = cmgr->io_bdt_pool[i]; in bnx2fc_cmd_mgr_alloc()
349 if (!cmgr->io_bdt_pool) in bnx2fc_cmd_mgr_free()
354 bdt_info = cmgr->io_bdt_pool[i]; in bnx2fc_cmd_mgr_free()
365 kfree(cmgr->io_bdt_pool[i]); in bnx2fc_cmd_mgr_free()
366 cmgr->io_bdt_pool[i] = NULL; in bnx2fc_cmd_mgr_free()
369 kfree(cmgr->io_bdt_pool); in bnx2fc_cmd_mgr_free()
[all …]
Dbnx2fc.h285 struct io_bdt **io_bdt_pool; member
/drivers/scsi/qedf/
Dqedf_io.c120 if (!cmgr->io_bdt_pool) { in qedf_cmd_mgr_free()
127 bdt_info = cmgr->io_bdt_pool[i]; in qedf_cmd_mgr_free()
137 kfree(cmgr->io_bdt_pool[i]); in qedf_cmd_mgr_free()
138 cmgr->io_bdt_pool[i] = NULL; in qedf_cmd_mgr_free()
141 kfree(cmgr->io_bdt_pool); in qedf_cmd_mgr_free()
142 cmgr->io_bdt_pool = NULL; in qedf_cmd_mgr_free()
257 cmgr->io_bdt_pool = kmalloc_array(num_ios, sizeof(struct io_bdt *), in qedf_cmd_mgr_alloc()
260 if (!cmgr->io_bdt_pool) { in qedf_cmd_mgr_alloc()
266 cmgr->io_bdt_pool[i] = kmalloc(sizeof(struct io_bdt), in qedf_cmd_mgr_alloc()
268 if (!cmgr->io_bdt_pool[i]) { in qedf_cmd_mgr_alloc()
[all …]
Dqedf.h435 struct io_bdt **io_bdt_pool; member