Lines Matching refs:entry2cntr_map
1839 kfree(mcam->entry2cntr_map); in npc_mcam_rsrcs_deinit()
1933 mcam->entry2cntr_map = kcalloc(mcam->bmap_entries, sizeof(u16), in npc_mcam_rsrcs_init()
1935 if (!mcam->entry2cntr_map) in npc_mcam_rsrcs_init()
1951 mcam->entry2cntr_map[index] = NPC_MCAM_INVALID_MAP; in npc_mcam_rsrcs_init()
1964 kfree(mcam->entry2cntr_map); in npc_mcam_rsrcs_init()
2270 mcam->entry2cntr_map[entry] = cntr; in npc_map_mcam_entry_and_cntr()
2286 mcam->entry2cntr_map[entry] = NPC_MCAM_INVALID_MAP; in npc_unmap_mcam_entry_and_cntr()
2340 cntr = mcam->entry2cntr_map[index]; in npc_mcam_free_all_entries()
2676 mcam->entry2cntr_map[index] = NPC_MCAM_INVALID_MAP; in npc_mcam_alloc_entries()
2772 cntr = mcam->entry2cntr_map[req->entry]; in rvu_mbox_handler_npc_mcam_free_entry()
2943 if (mcam->entry2cntr_map[new_entry] != NPC_MCAM_INVALID_MAP) { in rvu_mbox_handler_npc_mcam_shift_entry()
2955 cntr = mcam->entry2cntr_map[old_entry]; in rvu_mbox_handler_npc_mcam_shift_entry()
3073 if (mcam->entry2cntr_map[index] != req->cntr) in rvu_mbox_handler_npc_mcam_free_counter()
3120 if (mcam->entry2cntr_map[index] != req->cntr) in rvu_mbox_handler_npc_mcam_unmap_counter()