Home
last modified time | relevance | path

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

/drivers/scsi/bnx2fc/
Dbnx2fc_io.c213 struct bnx2fc_cmd_mgr *cmgr; in bnx2fc_cmd_mgr_alloc() local
237 cmgr = kzalloc(len, GFP_KERNEL); in bnx2fc_cmd_mgr_alloc()
238 if (!cmgr) { in bnx2fc_cmd_mgr_alloc()
243 cmgr->hba = hba; in bnx2fc_cmd_mgr_alloc()
244 cmgr->free_list = kcalloc(arr_sz, sizeof(*cmgr->free_list), in bnx2fc_cmd_mgr_alloc()
246 if (!cmgr->free_list) { in bnx2fc_cmd_mgr_alloc()
251 cmgr->free_list_lock = kcalloc(arr_sz, sizeof(*cmgr->free_list_lock), in bnx2fc_cmd_mgr_alloc()
253 if (!cmgr->free_list_lock) { in bnx2fc_cmd_mgr_alloc()
255 kfree(cmgr->free_list); in bnx2fc_cmd_mgr_alloc()
256 cmgr->free_list = NULL; in bnx2fc_cmd_mgr_alloc()
[all …]
Dbnx2fc.h521 void bnx2fc_cmd_mgr_free(struct bnx2fc_cmd_mgr *cmgr);
/drivers/scsi/qedf/
Dqedf_io.c111 void qedf_cmd_mgr_free(struct qedf_cmd_mgr *cmgr) in qedf_cmd_mgr_free() argument
114 struct qedf_ctx *qedf = cmgr->qedf; in qedf_cmd_mgr_free()
125 if (!cmgr->io_bdt_pool) { in qedf_cmd_mgr_free()
132 bdt_info = cmgr->io_bdt_pool[i]; in qedf_cmd_mgr_free()
142 kfree(cmgr->io_bdt_pool[i]); in qedf_cmd_mgr_free()
143 cmgr->io_bdt_pool[i] = NULL; in qedf_cmd_mgr_free()
146 kfree(cmgr->io_bdt_pool); in qedf_cmd_mgr_free()
147 cmgr->io_bdt_pool = NULL; in qedf_cmd_mgr_free()
152 io_req = &cmgr->cmds[i]; in qedf_cmd_mgr_free()
164 vfree(cmgr); in qedf_cmd_mgr_free()
[all …]
Dqedf.h481 extern void qedf_cmd_mgr_free(struct qedf_cmd_mgr *cmgr);