Searched refs:os_ref_retain_try_mask (Results 1 – 4 of 4) sorted by relevance
| /xnu-12377.41.6/tests/ |
| H A D | os_refcnt.c | 243 T_ASSERT_TRUE(os_ref_retain_try_mask(&rc, bits, 0, NULL), "try retained"); in do_bitwise_test() 245 T_ASSERT_FALSE(os_ref_retain_try_mask(&rc, bits, reserved, NULL), "try reject"); in do_bitwise_test() 252 T_ASSERT_FALSE(os_ref_retain_try_mask(&rc, bits, 0, NULL), "try fail"); in do_bitwise_test()
|
| /xnu-12377.41.6/libkern/os/ |
| H A D | refcnt_internal.h | 402 os_ref_retain_try_mask(os_ref_atomic_t *rc, uint32_t b, in os_ref_retain_try_mask() function 476 #define os_ref_retain_try_mask(rc, b, m, grp) (os_ref_retain_try_mask)((rc), (b), (m), NULL) macro
|
| H A D | refcnt.h | 358 os_ref_retain_try_mask(os_ref_atomic_t *, uint32_t b, uint32_t reject_mask,
|
| /xnu-12377.41.6/bsd/kern/ |
| H A D | kern_proc.c | 811 bits = os_ref_retain_try_mask(&p->p_refcount, P_REF_BITS, in proc_ref_try_fast() 2529 return os_ref_retain_try_mask(&pgrp->pg_refcount, PGRP_REF_BITS, in pg_ref_try()
|