Searched refs:os_ref_retain_try_raw (Results 1 – 7 of 7) sorted by relevance
| /xnu-12377.41.6/libkern/os/ |
| H A D | refcnt_internal.h | 288 os_ref_retain_try_raw(os_ref_atomic_t *rc, struct os_refgrp *grp) in os_ref_retain_try_raw() function 341 #define os_ref_retain_try_raw(rc, grp) (os_ref_retain_try_raw)((rc), NULL) macro
|
| H A D | refcnt.h | 308 static bool os_ref_retain_try_raw(os_ref_atomic_t *, struct os_refgrp *) OS_WARN_RESULT;
|
| /xnu-12377.41.6/tests/ |
| H A D | os_refcnt.c | 167 T_ASSERT_TRUE(os_ref_retain_try_raw(&rc, NULL), "try retained"); 173 T_ASSERT_FALSE(os_ref_retain_try_raw(&rc, NULL), "try failed");
|
| /xnu-12377.41.6/osfmk/ipc/ |
| H A D | ipc_voucher.c | 99 return os_ref_retain_try_raw(&iv->iv_refs, &iv_refgrp); in iv_try_reference()
|
| /xnu-12377.41.6/bsd/kern/ |
| H A D | kern_credential.c | 3327 return os_ref_retain_try_raw(&rw->crw_weak_ref, &ucred_ref_grp); in ucred_rw_tryref()
|
| H A D | kern_event.c | 2865 return os_ref_retain_try_raw(&kqwl->kqwl_retains, NULL); in kqworkloop_try_retain()
|
| /xnu-12377.41.6/osfmk/kern/ |
| H A D | coalition.c | 325 #define coal_ref_try_retain(coal) os_ref_retain_try_raw(&(coal)->ref_count, &coal_ref_grp)
|