Home
last modified time | relevance | path

Searched refs:grp_children (Results 1 – 3 of 3) sorted by relevance

/xnu-8020.140.41/tests/
H A Dos_refcnt.c207 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 Drefcnt_internal.h21 os_ref_atomic_t grp_children; /* number of refcount objects in group */ member
127 .grp_children = ATOMIC_VAR_INIT(0u), \
H A Drefcnt.c220 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()