Home
last modified time | relevance | path

Searched refs:os_ref_retain_try (Results 1 – 9 of 9) sorted by relevance

/xnu-12377.41.6/bsd/net/aop/
H A Dkpi_aop.c404 !os_ref_retain_try(&g_aop_net_provider.kaop_refcnt)) { in net_aop_setup_flow()
439 !os_ref_retain_try(&g_aop_net_provider.kaop_refcnt)) { in net_aop_get_flow_stats()
480 !os_ref_retain_try(&g_aop_net_provider.kaop_refcnt)) { in net_aop_get_stats()
516 !os_ref_retain_try(&g_aop_net_provider.kaop_refcnt)) { in net_aop_get_proc_activity_bitmaps()
/xnu-12377.41.6/bsd/kern/
H A Dsocket_flows.c670 if (os_ref_retain_try(&db->soflow_db_ref_count) == false) { in soflow_db_get_feature_context()
710 if (os_ref_retain_try(&db->soflow_db_ref_count) == false) { in soflow_db_get_feature_context_id()
774 if (os_ref_retain_try(&db->soflow_db_ref_count) == false) { in soflow_db_add_entry()
1174 if (os_ref_retain_try(&so->so_flow_db->soflow_db_ref_count) == false) { in soflow_get_flow()
1187 if (os_ref_retain_try(&hash_entry->soflow_ref_count) == false) { in soflow_get_flow()
1229 if (os_ref_retain_try(&hash_entry->soflow_ref_count) == false) { in soflow_get_flow()
1250 if (os_ref_retain_try(&hash_entry->soflow_ref_count) == false) { in soflow_get_flow()
1418 if (os_ref_retain_try(&db->soflow_db_ref_count) == false) { in soflow_gc_cleanup()
1552 if (os_ref_retain_try(&db->soflow_db_ref_count) == false) { in soflow_db_apply()
/xnu-12377.41.6/tests/
H A Dos_refcnt.c99 T_ASSERT_TRUE(os_ref_retain_try(&rc), "try retained");
105 T_ASSERT_FALSE(os_ref_retain_try(&rc), "try failed");
417 T_ASSERT_EQ_INT(0, os_ref_retain_try(&rc), NULL);
/xnu-12377.41.6/libkern/os/
H A Drefcnt.h140 static bool os_ref_retain_try(struct os_refcnt *) OS_WARN_RESULT;
H A Drefcnt_internal.h109 os_ref_retain_try(struct os_refcnt *rc) in os_ref_retain_try() function
/xnu-12377.41.6/osfmk/kern/
H A Drestartable.c308 os_ref_retain_try(&rr_found->rr_ref)) { in _restartable_ranges_create()
H A Dthread_group.c558 return os_ref_retain_try(&tg->tg_refcount); in thread_group_retain_try()
/xnu-12377.41.6/bsd/net/
H A Dcontent_filter.c1386 if (cfil_info == NULL || os_ref_retain_try(&cfil_info->cfi_ref_count) == false) { in cfil_ctl_disconnect()
2020 if (cfil_info && os_ref_retain_try(&cfil_info->cfi_ref_count) == false) { in cfil_ctl_send()
2452 if (cfil_info == NULL || os_ref_retain_try(&cfil_info->cfi_ref_count) == false) { in cfil_ctl_rcvd()
H A Ddlil.c4242 if (os_ref_retain_try(&ifp->if_refio) == false) { in ifnet_get_ioref()
4315 if (os_ref_retain_try(&ifp->if_refio) == false) { in ifnet_datamov_begin()