Home
last modified time | relevance | path

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

123

/f-stack/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.c169 session->ref_count++; in tf_session_create()
285 session->ref_count++; in tf_session_client_create()
344 if (tfs->ref_count == 1) in tf_session_client_destroy()
364 tfs->ref_count--; in tf_session_client_destroy()
484 if (tfs->ref_count > 1) { in tf_session_close_session()
510 tfs->ref_count); in tf_session_close_session()
551 tfs->ref_count--; in tf_session_close_session()
556 tfs->ref_count); in tf_session_close_session()
H A Dtf_session.h92 uint8_t ref_count; member
178 uint8_t *ref_count; member
/f-stack/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()
/f-stack/freebsd/kern/
H A Dsubr_sfbuf.c129 sf->ref_count++; in sf_buf_alloc()
130 if (sf->ref_count == 1) { in sf_buf_alloc()
160 sf->ref_count = 1; in sf_buf_alloc()
184 sf->ref_count--; in sf_buf_free()
185 if (sf->ref_count == 0) { in sf_buf_free()
206 KASSERT(sf->ref_count > 0, ("%s: sf %p not allocated", __func__, sf)); in sf_buf_ref()
207 sf->ref_count++; in sf_buf_ref()
/f-stack/freebsd/vm/
H A Dvm_object.c184 KASSERT(object->ref_count == 0, in vm_object_zdtor()
648 KASSERT(object->ref_count > 0, in vm_object_deallocate()
657 if (object->ref_count > 1 || in vm_object_deallocate()
660 object->ref_count == 1) in vm_object_deallocate()
947 KASSERT(object->ref_count == 0, in vm_object_terminate()
949 object->ref_count)); in vm_object_terminate()
1510 if (orig_object->ref_count <= 1) in vm_object_split()
1920 KASSERT(object->ref_count > 0 && in vm_object_collapse()
2111 object->ref_count != 0) in vm_object_page_remove()
2125 object->ref_count != 0 && in vm_object_page_remove()
[all …]
H A Dvm_page.c505 m->ref_count = 0; in vm_page_init_page()
1283 m->ref_count = 1; in vm_page_initfake()
2165 m->ref_count = 1; in vm_page_alloc_domain_after()
2173 m->ref_count = 0; in vm_page_alloc_domain_after()
2364 m->ref_count = 1; in vm_page_alloc_contig_domain()
2377 m->ref_count = 0; in vm_page_alloc_contig_domain()
2492 m->ref_count = 1; in vm_page_alloc_freelist_domain()
3817 if (m->ref_count != 0) in vm_page_free_prep()
3936 old = m->ref_count; in vm_page_wire_mapped()
3970 old = m->ref_count; in vm_page_unwire_managed()
[all …]
H A Dvm_pageout.c810 refs = object->ref_count != 0 ? pmap_ts_referenced(m) : 0; in vm_pageout_launder()
830 } else if (object->ref_count != 0) { in vm_pageout_launder()
876 if (object->ref_count != 0) { in vm_pageout_launder()
1280 refs = object->ref_count != 0 ? pmap_ts_referenced(m) : 0; in vm_pageout_scan_active()
1530 refs = object->ref_count != 0 ? pmap_ts_referenced(m) : 0; in vm_pageout_scan_inactive()
1550 } else if (object->ref_count != 0) { in vm_pageout_scan_inactive()
1588 if (object->ref_count != 0) { in vm_pageout_scan_inactive()
1888 obj->ref_count != 1) in vm_pageout_oom_pagecount()
/f-stack/freebsd/x86/iommu/
H A Dintel_idpgtbl.c291 if (obj->ref_count > 1) { in put_idmap_pgtbl()
305 if (rmobj->ref_count == 1) { in put_idmap_pgtbl()
396 m->ref_count++; in domain_pgtbl_map_pte()
404 m->ref_count--; in domain_pgtbl_map_pte()
412 sf_buf_page(sfp)->ref_count += 1; in domain_pgtbl_map_pte()
413 m->ref_count--; in domain_pgtbl_map_pte()
493 sf_buf_page(sf)->ref_count += 1; in domain_map_buf_locked()
599 m->ref_count--; in domain_unmap_clear_pte()
600 if (m->ref_count != 0) in domain_unmap_clear_pte()
716 m->ref_count = 1; in domain_alloc_pgtbl()
[all …]
/f-stack/dpdk/drivers/bus/fslmc/portal/
H A Ddpaa2_hw_dpio.c261 rte_atomic16_clear(&dpio_dev->ref_count); in dpaa2_put_qbman_swp()
273 if (dpio_dev && rte_atomic16_test_and_set(&dpio_dev->ref_count)) in dpaa2_get_qbman_swp()
294 rte_atomic16_clear(&dpio_dev->ref_count); in dpaa2_get_qbman_swp()
388 rte_atomic16_init(&dpio_dev->ref_count); in dpaa2_create_dpio_device()
/f-stack/freebsd/arm64/arm64/
H A Dbusdma_machdep.c154 common->ref_count = 1; /* Count ourself */ in common_bus_dma_tag_create()
184 atomic_add_int(&parent->ref_count, 1); in common_bus_dma_tag_create()
/f-stack/freebsd/netinet/
H A Dsctp_timer.c701 atomic_add_int(&alt->ref_count, 1); in sctp_mark_all_for_resend()
763 atomic_add_int(&alt->ref_count, 1); in sctp_mark_all_for_resend()
965 atomic_add_int(&stcb->asoc.alternate->ref_count, 1); in sctp_t3rxt_timer()
1101 atomic_add_int(&alt->ref_count, 1); in sctp_cookie_timer()
1144 atomic_add_int(&alt->ref_count, 1); in sctp_strreset_timer()
1157 atomic_add_int(&alt->ref_count, 1); in sctp_strreset_timer()
1228 atomic_add_int(&alt->ref_count, 1); in sctp_asconf_timer()
1242 atomic_add_int(&alt->ref_count, 1); in sctp_asconf_timer()
1249 atomic_add_int(&alt->ref_count, 1); in sctp_asconf_timer()
H A Dsctp_indata.h53 atomic_add_int(&((net)->ref_count), 1); \
/f-stack/freebsd/x86/x86/
H A Dbusdma_machdep.c161 common->ref_count = 1; /* Count ourself */ in common_bus_dma_tag_create()
191 atomic_add_int(&parent->ref_count, 1); in common_bus_dma_tag_create()
/f-stack/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()
/f-stack/freebsd/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_core.c186 BUG_ON(service->ref_count == 0); in find_service_by_handle()
187 service->ref_count++; in find_service_by_handle()
208 service->ref_count++; in find_service_by_port()
232 service->ref_count++; in find_service_for_instance()
257 service->ref_count++; in find_closed_service_for_instance()
283 service->ref_count++; in next_service_by_instance()
300 service->ref_count++; in lock_service()
311 service->ref_count--; in unlock_service()
312 if (!service->ref_count) { in unlock_service()
2570 service->ref_count = 1; in vchiq_add_service_internal()
[all …]
/f-stack/freebsd/netpfil/ipfw/
H A Ddn_aqm.h111 int ref_count; /*Number of queues instances in the system */ member
H A Ddn_sched.h143 int ref_count; /* XXX number of instances in the system */ member
H A Ddn_aqm_codel.c314 codel_desc.ref_count++; in aqm_codel_init()
331 codel_desc.ref_count--; in aqm_codel_cleanup()
H A Ddn_sched_fq_codel.c477 fq_codel_desc.ref_count++; in fq_codel_new_sched()
492 fq_codel_desc.ref_count--; in fq_codel_free_sched()
613 _SI( .ref_count = ) 0
/f-stack/tools/compat/include/sys/
H A Dsf_buf.h97 int ref_count; /* usage of this mapping */ member
/f-stack/freebsd/sys/
H A Dsf_buf.h97 int ref_count; /* usage of this mapping */ member
/f-stack/freebsd/amd64/amd64/
H A Dpmap.c3955 --m->ref_count; in pmap_unwire_ptp()
4622 m->ref_count++; in pmap_allocpte()
6661 mp->ref_count++; in pmap_enter_largepage()
6682 mp->ref_count++; in pmap_enter_largepage()
7727 if (dstmpte->ref_count >= srcmpte->ref_count) in pmap_copy()
10289 ref_count++; in pmap_large_map()
10298 ref_count++; in pmap_large_map()
10367 m->ref_count--; in pmap_large_unmap()
10381 m->ref_count--; in pmap_large_unmap()
10386 m->ref_count--; in pmap_large_unmap()
[all …]
/f-stack/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_mapper.h35 uint32_t ref_count; member

123