Searched refs:os_ref_retain_try (Results 1 – 9 of 9) sorted by relevance
56 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);
657 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()
4665 return os_ref_retain_try(&kauth_cred_rw(cred)->crw_weak_ref); in kauth_cred_tryref()
139 static bool os_ref_retain_try(struct os_refcnt *) OS_WARN_RESULT;
110 os_ref_retain_try(struct os_refcnt *rc) in os_ref_retain_try() function
308 os_ref_retain_try(&rr_found->rr_ref)) { in _restartable_ranges_create()
546 return os_ref_retain_try(&tg->tg_refcount); in thread_group_retain_try()
1351 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()
1599 if (!os_ref_retain_try(&iv->iv_refs)) { in iv_dedup()