Searched refs:grp_children (Results 1 – 3 of 3) sorted by relevance
| /xnu-12377.1.9/tests/ |
| H A D | os_refcnt.c | 287 T_ASSERT_EQ_UINT(g1.grp_children, 1, "group attached"); 288 T_ASSERT_EQ_UINT(global_ref_group.grp_children, 1, "global group attached"); 304 T_ASSERT_EQ_UINT(g1.grp_children, 0, "group detatched");
|
| /xnu-12377.1.9/libkern/os/ |
| H A D | refcnt_internal.h | 20 os_ref_atomic_t grp_children; /* number of refcount objects in group */ member 126 .grp_children = (0u), \
|
| H A D | refcnt.c | 227 if (atomic_fetch_add_explicit(&grp->grp_children, 1, memory_order_relaxed) == 0) { in ref_attach_to_group() 274 atomic_fetch_sub_explicit(&grp->grp_children, 1, memory_order_relaxed); in ref_drop_group()
|