Home
last modified time | relevance | path

Searched refs:ref_count (Results 1 – 19 of 19) sorted by relevance

/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_shadow_identifier.c25 uint32_t *ref_count; member
91 db[i].ref_count = (uint32_t *)cparms.mem_va; in tf_shadow_ident_create_db()
98 tfp_free((void *)db->ref_count); in tf_shadow_ident_create_db()
116 tfp_free((void *)shadow_db->db[i].ref_count); in tf_shadow_ident_free_db()
133 ref_cnt = shadow_db->db[parms->type].ref_count[parms->search_id]; in tf_shadow_ident_search()
137 shadow_db->db[parms->type].ref_count[parms->search_id] = in tf_shadow_ident_search()
160 shadow_db->db[parms->type].ref_count[parms->id]++; in tf_shadow_ident_insert()
167 parms->ref_cnt = shadow_db->db[parms->type].ref_count[parms->id]; in tf_shadow_ident_insert()
181 ref_cnt = shadow_db->db[parms->type].ref_count[parms->id]; in tf_shadow_ident_remove()
183 shadow_db->db[parms->type].ref_count[parms->id]--; in tf_shadow_ident_remove()
[all …]
H A Dtf_session.c179 session->ref_count++; in tf_session_create()
337 session->ref_count++; in tf_session_client_create()
396 if (tfs->ref_count == 1) in tf_session_client_destroy()
417 tfs->ref_count--; in tf_session_client_destroy()
542 if (tfs->ref_count > 1) { in tf_session_close_session()
568 tfs->ref_count); in tf_session_close_session()
619 tfs->ref_count--; in tf_session_close_session()
624 tfs->ref_count); in tf_session_close_session()
H A Dtf_session.h108 uint8_t ref_count; member
251 uint8_t *ref_count; member
H A Dtf_core.c163 uint8_t ref_count; in tf_close_session() local
167 cparms.ref_count = &ref_count; in tf_close_session()
/dpdk/drivers/common/mvep/
H A Dmvep_common.c16 uint32_t ref_count; member
26 if (!mvep.ref_count) { in rte_mvep_init()
32 mvep.ref_count++; in rte_mvep_init()
39 mvep.ref_count--; in rte_mvep_deinit()
41 if (!mvep.ref_count) in rte_mvep_deinit()
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_gen_tbl.h12 #define ULP_GEN_TBL_REF_CNT_INC(entry) {*(entry)->ref_count += 1; }
13 #define ULP_GEN_TBL_REF_CNT_DEC(entry) {*(entry)->ref_count -= 1; }
14 #define ULP_GEN_TBL_REF_CNT(entry) (*(entry)->ref_count)
21 uint32_t *ref_count; member
37 uint32_t *ref_count; member
H A Dulp_gen_tbl.c67 entry->container.ref_count = in ulp_mapper_generic_tbl_list_init()
146 entry->ref_count = &tbl_list->container.ref_count[key]; in ulp_mapper_gen_tbl_entry_get()
403 gen_tbl_ent->ref_count = &tbl_list->container.ref_count[key]; in ulp_mapper_gen_tbl_hash_entry_add()
/dpdk/drivers/bus/fslmc/portal/
H A Ddpaa2_hw_dpio.c259 rte_atomic16_clear(&dpio_dev->ref_count); in dpaa2_put_qbman_swp()
271 if (dpio_dev && rte_atomic16_test_and_set(&dpio_dev->ref_count)) in dpaa2_get_qbman_swp()
292 rte_atomic16_clear(&dpio_dev->ref_count); in dpaa2_get_qbman_swp()
386 rte_atomic16_init(&dpio_dev->ref_count); in dpaa2_create_dpio_device()
H A Ddpaa2_hw_pvt.h101 rte_atomic16_t ref_count; member
/dpdk/drivers/net/txgbe/
H A Dtxgbe_ipsec.h61 uint16_t ref_count; member
H A Dtxgbe_ipsec.c93 if (priv->rx_ip_tbl[i].ref_count == 0) { in txgbe_crypto_add_sa()
129 priv->rx_ip_tbl[ip_index].ref_count++; in txgbe_crypto_add_sa()
309 priv->rx_ip_tbl[ip_index].ref_count--; in txgbe_crypto_remove_sa()
310 if (priv->rx_ip_tbl[ip_index].ref_count == 0) { in txgbe_crypto_remove_sa()
/dpdk/drivers/net/ixgbe/
H A Dixgbe_ipsec.h77 uint16_t ref_count; member
H A Dixgbe_ipsec.c113 if (priv->rx_ip_tbl[i].ref_count == 0) { in ixgbe_crypto_add_sa()
149 priv->rx_ip_tbl[ip_index].ref_count++; in ixgbe_crypto_add_sa()
329 priv->rx_ip_tbl[ip_index].ref_count--; in ixgbe_crypto_remove_sa()
330 if (priv->rx_ip_tbl[ip_index].ref_count == 0) { in ixgbe_crypto_remove_sa()
/dpdk/drivers/net/sfc/
H A Dsfc_repr_proxy.h76 unsigned int ref_count; member
H A Dsfc_repr_proxy.c1430 rp->dp_rxq[queue_id].ref_count++; in sfc_repr_proxy_add_rxq()
1463 rp->dp_rxq[queue_id].ref_count--; in sfc_repr_proxy_del_rxq()
1464 if (rp->dp_rxq[queue_id].ref_count == 0) in sfc_repr_proxy_del_rxq()
/dpdk/lib/acl/
H A Dacl.h107 uint32_t ref_count; /* ref count for this node */ member
H A Dacl_bld.c292 ptr->ref_count++; in acl_add_ptr()
407 next->ptrs[n].ptr->ref_count++; in acl_dup_node()
445 ref_node->ref_count--; in acl_deref_ptr()
446 if (ref_node->ref_count == 0) in acl_deref_ptr()
962 root->ref_count = 1; in build_trie()
/dpdk/drivers/net/ice/base/
H A Dice_flex_pipe.c3348 hw->blk[blk].es.ref_count[prof_id]++; in ice_prof_inc_ref()
3717 if (hw->blk[blk].es.ref_count[prof_id] > 0) { in ice_prof_dec_ref()
3718 if (!--hw->blk[blk].es.ref_count[prof_id]) { in ice_prof_dec_ref()
4085 ice_free(hw, hw->blk[i].es.ref_count); in ice_free_hw_tbls()
4158 ice_memset(es->ref_count, 0, es->count * sizeof(*es->ref_count), in ice_clear_hw_tbls()
4265 es->ref_count = (u16 *) in ice_init_hw_tbls()
4266 ice_calloc(hw, es->count, sizeof(*es->ref_count)); in ice_init_hw_tbls()
4268 if (!es->ref_count) in ice_init_hw_tbls()
H A Dice_flex_type.h780 u16 *ref_count; member