Home
last modified time | relevance | path

Searched refs:cntr_refcnt (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c1840 kfree(mcam->cntr_refcnt); in npc_mcam_rsrcs_deinit()
1938 mcam->cntr_refcnt = kcalloc(mcam->counters.max, sizeof(u16), in npc_mcam_rsrcs_init()
1940 if (!mcam->cntr_refcnt) in npc_mcam_rsrcs_init()
1962 kfree(mcam->cntr_refcnt); in npc_mcam_rsrcs_init()
2223 if (mcam->cntr_refcnt[cntr]) in rvu_npc_get_mcam_counter_alloc_info()
2271 mcam->cntr_refcnt[cntr]++; in npc_map_mcam_entry_and_cntr()
2287 mcam->cntr_refcnt[cntr]--; in npc_unmap_mcam_entry_and_cntr()
2359 mcam->cntr_refcnt[cntr] = 0; in npc_mcam_free_all_counters()
3066 if (!mcam->cntr_refcnt[req->cntr]) in rvu_mbox_handler_npc_mcam_free_counter()
3112 if (!mcam->cntr_refcnt[req->cntr]) in rvu_mbox_handler_npc_mcam_unmap_counter()
Drvu.h191 u16 *cntr_refcnt; member