Home
last modified time | relevance | path

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

/xnu-8020.140.41/tests/
H A Dos_refcnt.c56 T_ASSERT_TRUE(os_ref_retain_try(&rc), "try retained");
62 T_ASSERT_FALSE(os_ref_retain_try(&rc), "try failed");
337 T_ASSERT_EQ_INT(0, os_ref_retain_try(&rc), NULL);
/xnu-8020.140.41/bsd/kern/
H A Dsocket_flows.c657 if (os_ref_retain_try(&db->soflow_db_ref_count) == false) { in soflow_db_get_feature_context()
697 if (os_ref_retain_try(&db->soflow_db_ref_count) == false) { in soflow_db_get_feature_context_id()
760 if (os_ref_retain_try(&db->soflow_db_ref_count) == false) { in soflow_db_add_entry()
1146 if (os_ref_retain_try(&so->so_flow_db->soflow_db_ref_count) == false) { in soflow_get_flow()
1159 if (os_ref_retain_try(&hash_entry->soflow_ref_count) == false) { in soflow_get_flow()
1192 if (os_ref_retain_try(&hash_entry->soflow_ref_count) == false) { in soflow_get_flow()
1211 if (os_ref_retain_try(&hash_entry->soflow_ref_count) == false) { in soflow_get_flow()
1371 if (os_ref_retain_try(&db->soflow_db_ref_count) == false) { in soflow_gc_cleanup()
1505 if (os_ref_retain_try(&db->soflow_db_ref_count) == false) { in soflow_db_apply()
H A Dkern_credential.c4665 return os_ref_retain_try(&kauth_cred_rw(cred)->crw_weak_ref); in kauth_cred_tryref()
/xnu-8020.140.41/libkern/os/
H A Drefcnt.h139 static bool os_ref_retain_try(struct os_refcnt *) OS_WARN_RESULT;
H A Drefcnt_internal.h110 os_ref_retain_try(struct os_refcnt *rc) in os_ref_retain_try() function
/xnu-8020.140.41/osfmk/kern/
H A Drestartable.c308 os_ref_retain_try(&rr_found->rr_ref)) { in _restartable_ranges_create()
H A Dthread_group.c546 return os_ref_retain_try(&tg->tg_refcount); in thread_group_retain_try()
/xnu-8020.140.41/bsd/net/
H A Dcontent_filter.c1351 if (cfil_info == NULL || os_ref_retain_try(&cfil_info->cfi_ref_count) == false) { in cfil_ctl_disconnect()
1984 if (cfil_info && os_ref_retain_try(&cfil_info->cfi_ref_count) == false) { in cfil_ctl_send()
2405 if (cfil_info == NULL || os_ref_retain_try(&cfil_info->cfi_ref_count) == false) { in cfil_ctl_rcvd()
/xnu-8020.140.41/osfmk/ipc/
H A Dipc_voucher.c1599 if (!os_ref_retain_try(&iv->iv_refs)) { in iv_dedup()