Lines Matching refs:cntr2pfvf_map
1838 kfree(mcam->cntr2pfvf_map); in npc_mcam_rsrcs_deinit()
1925 mcam->cntr2pfvf_map = kcalloc(mcam->counters.max, sizeof(u16), in npc_mcam_rsrcs_init()
1927 if (!mcam->cntr2pfvf_map) in npc_mcam_rsrcs_init()
1955 mcam->cntr2pfvf_map[cntr] = NPC_MCAM_INVALID_MAP; in npc_mcam_rsrcs_init()
1966 kfree(mcam->cntr2pfvf_map); in npc_mcam_rsrcs_init()
2221 if (mcam->cntr2pfvf_map[cntr] == pcifunc) { in rvu_npc_get_mcam_counter_alloc_info()
2256 if (pcifunc != mcam->cntr2pfvf_map[cntr]) in npc_mcam_verify_counter()
2357 if (mcam->cntr2pfvf_map[cntr] == pcifunc) { in npc_mcam_free_all_counters()
2358 mcam->cntr2pfvf_map[cntr] = NPC_MCAM_INVALID_MAP; in npc_mcam_free_all_counters()
3022 mcam->cntr2pfvf_map[cntr] = pcifunc; in rvu_mbox_handler_npc_mcam_alloc_counter()
3034 mcam->cntr2pfvf_map[index] = pcifunc; in rvu_mbox_handler_npc_mcam_alloc_counter()
3061 mcam->cntr2pfvf_map[req->cntr] = NPC_MCAM_INVALID_MAP; in rvu_mbox_handler_npc_mcam_free_counter()