Home
last modified time | relevance | path

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

/xnu-11417.101.15/bsd/kern/
H A Dsocket_flows.c660 if (os_ref_retain_try(&db->soflow_db_ref_count) == false) { in soflow_db_get_feature_context()
700 if (os_ref_retain_try(&db->soflow_db_ref_count) == false) { in soflow_db_get_feature_context_id()
764 if (os_ref_retain_try(&db->soflow_db_ref_count) == false) { in soflow_db_add_entry()
1153 if (os_ref_retain_try(&so->so_flow_db->soflow_db_ref_count) == false) { in soflow_get_flow()
1166 if (os_ref_retain_try(&hash_entry->soflow_ref_count) == false) { in soflow_get_flow()
1208 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()
1397 if (os_ref_retain_try(&db->soflow_db_ref_count) == false) { in soflow_gc_cleanup()
1531 if (os_ref_retain_try(&db->soflow_db_ref_count) == false) { in soflow_db_apply()
/xnu-11417.101.15/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-11417.101.15/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-11417.101.15/osfmk/kern/
H A Drestartable.c308 os_ref_retain_try(&rr_found->rr_ref)) { in _restartable_ranges_create()
H A Dthread_group.c550 return os_ref_retain_try(&tg->tg_refcount); in thread_group_retain_try()
/xnu-11417.101.15/bsd/net/
H A Dcontent_filter.c1390 if (cfil_info == NULL || os_ref_retain_try(&cfil_info->cfi_ref_count) == false) { in cfil_ctl_disconnect()
2024 if (cfil_info && os_ref_retain_try(&cfil_info->cfi_ref_count) == false) { in cfil_ctl_send()
2456 if (cfil_info == NULL || os_ref_retain_try(&cfil_info->cfi_ref_count) == false) { in cfil_ctl_rcvd()