Home
last modified time | relevance | path

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

/xnu-12377.41.6/libkern/os/
H A Drefcnt_internal.h288 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 Drefcnt.h308 static bool os_ref_retain_try_raw(os_ref_atomic_t *, struct os_refgrp *) OS_WARN_RESULT;
/xnu-12377.41.6/tests/
H A Dos_refcnt.c167 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 Dipc_voucher.c99 return os_ref_retain_try_raw(&iv->iv_refs, &iv_refgrp); in iv_try_reference()
/xnu-12377.41.6/bsd/kern/
H A Dkern_credential.c3327 return os_ref_retain_try_raw(&rw->crw_weak_ref, &ucred_ref_grp); in ucred_rw_tryref()
H A Dkern_event.c2865 return os_ref_retain_try_raw(&kqwl->kqwl_retains, NULL); in kqworkloop_try_retain()
/xnu-12377.41.6/osfmk/kern/
H A Dcoalition.c325 #define coal_ref_try_retain(coal) os_ref_retain_try_raw(&(coal)->ref_count, &coal_ref_grp)