Searched refs:cmgr (Results 1 – 4 of 4) sorted by relevance
213 struct bnx2fc_cmd_mgr *cmgr; in bnx2fc_cmd_mgr_alloc() local237 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 …]
525 void bnx2fc_cmd_mgr_free(struct bnx2fc_cmd_mgr *cmgr);
106 void qedf_cmd_mgr_free(struct qedf_cmd_mgr *cmgr) in qedf_cmd_mgr_free() argument109 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 …]
487 extern void qedf_cmd_mgr_free(struct qedf_cmd_mgr *cmgr);