Searched refs:grp_children (Results 1 – 3 of 3) sorted by relevance
| /xnu-8020.140.41/tests/ |
| H A D | os_refcnt.c | 207 T_ASSERT_EQ_UINT(g1.grp_children, 1, "group attached"); 208 T_ASSERT_EQ_UINT(global_ref_group.grp_children, 1, "global group attached"); 224 T_ASSERT_EQ_UINT(g1.grp_children, 0, "group detatched");
|
| /xnu-8020.140.41/libkern/os/ |
| H A D | refcnt_internal.h | 21 os_ref_atomic_t grp_children; /* number of refcount objects in group */ member 127 .grp_children = ATOMIC_VAR_INIT(0u), \
|
| H A D | refcnt.c | 220 if (atomic_fetch_add_explicit(&grp->grp_children, 1, memory_order_relaxed) == 0) { in ref_attach_to_group() 267 atomic_fetch_sub_explicit(&grp->grp_children, 1, memory_order_relaxed); in ref_drop_group()
|