Home
last modified time | relevance | path

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

/linux-5.19.10/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.h525 void bnx2fc_cmd_mgr_free(struct bnx2fc_cmd_mgr *cmgr);
/linux-5.19.10/drivers/scsi/qedf/
Dqedf_io.c106 void qedf_cmd_mgr_free(struct qedf_cmd_mgr *cmgr) in qedf_cmd_mgr_free() argument
109 struct qedf_ctx *qedf = cmgr->qedf; in qedf_cmd_mgr_free()
120 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()
147 io_req = &cmgr->cmds[i]; in qedf_cmd_mgr_free()
159 vfree(cmgr); in qedf_cmd_mgr_free()
[all …]
Dqedf.h487 extern void qedf_cmd_mgr_free(struct qedf_cmd_mgr *cmgr);