| /dpdk/drivers/net/bnxt/tf_core/ |
| H A D | tf_shadow_identifier.c | 25 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 D | tf_session.c | 179 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 D | tf_session.h | 108 uint8_t ref_count; member 251 uint8_t *ref_count; member
|
| H A D | tf_core.c | 163 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 D | mvep_common.c | 16 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 D | ulp_gen_tbl.h | 12 #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 D | ulp_gen_tbl.c | 67 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 D | dpaa2_hw_dpio.c | 259 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 D | dpaa2_hw_pvt.h | 101 rte_atomic16_t ref_count; member
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ipsec.h | 61 uint16_t ref_count; member
|
| H A D | txgbe_ipsec.c | 93 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 D | ixgbe_ipsec.h | 77 uint16_t ref_count; member
|
| H A D | ixgbe_ipsec.c | 113 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 D | sfc_repr_proxy.h | 76 unsigned int ref_count; member
|
| H A D | sfc_repr_proxy.c | 1430 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 D | acl.h | 107 uint32_t ref_count; /* ref count for this node */ member
|
| H A D | acl_bld.c | 292 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 D | ice_flex_pipe.c | 3348 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 D | ice_flex_type.h | 780 u16 *ref_count; member
|