Home
last modified time | relevance | path

Searched refs:os_refcnt (Results 1 – 11 of 11) sorted by relevance

/xnu-8792.41.9/libkern/os/
H A Drefcnt.h54 struct os_refcnt;
56 typedef struct os_refcnt os_refcnt_t;
102 static void os_ref_init_count(struct os_refcnt *, struct os_refgrp *, os_ref_count_t count)
126 static void os_ref_retain(struct os_refcnt *);
127 static os_ref_count_t os_ref_release(struct os_refcnt *) OS_WARN_RESULT;
128 static os_ref_count_t os_ref_release_relaxed(struct os_refcnt *) OS_WARN_RESULT;
129 static void os_ref_release_live(struct os_refcnt *);
139 static bool os_ref_retain_try(struct os_refcnt *) OS_WARN_RESULT;
149 static void os_ref_retain_locked(struct os_refcnt *);
150 static os_ref_count_t os_ref_release_locked(struct os_refcnt *) OS_WARN_RESULT;
[all …]
H A Drefcnt_internal.h4 struct os_refcnt { struct
83 os_ref_init_count(struct os_refcnt *rc, struct os_refgrp * __unused grp, os_ref_count_t count) in os_ref_init_count()
92 os_ref_retain(struct os_refcnt *rc) in os_ref_retain()
98 os_ref_release_locked(struct os_refcnt *rc) in os_ref_release_locked()
104 os_ref_retain_locked(struct os_refcnt *rc) in os_ref_retain_locked()
110 os_ref_retain_try(struct os_refcnt *rc) in os_ref_retain_try()
117 os_ref_release_explicit(struct os_refcnt *rc, memory_order release_order, memory_order dealloc_orde… in os_ref_release_explicit()
168 os_ref_release(struct os_refcnt *rc) in os_ref_release()
175 os_ref_release_relaxed(struct os_refcnt *rc) in os_ref_release_relaxed()
182 os_ref_release_live(struct os_refcnt *rc) in os_ref_release_live()
[all …]
/xnu-8792.41.9/tests/
H A Dos_refcnt.c34 T_DECL(os_refcnt, "Basic atomic refcount")
36 struct os_refcnt rc;
98 struct os_refcnt rc;
204 struct os_refcnt rc;
334 struct os_refcnt rc = OS_REF_INITIALIZER;
348 struct os_refcnt *rc = _rc; in func()
360 struct os_refcnt rc;
H A DMakefile421 os_refcnt: OTHER_CFLAGS += -I$(SRCROOT)/../libkern/ -Wno-gcc-compat -Wno-undef -O3 -flto target
/xnu-8792.41.9/bsd/pthread/
H A Dworkqueue_internal.h225 struct os_refcnt wq_refcnt;
/xnu-8792.41.9/bsd/net/
H A Ddevtimer.c64 struct os_refcnt dt_retain_count;
H A Dif_bond.c180 struct os_refcnt ifb_retain_count;
/xnu-8792.41.9/bsd/skywalk/nexus/netif/
H A Dnx_netif.h192 struct os_refcnt nll_refcnt;
288 struct os_refcnt nif_refcnt;
/xnu-8792.41.9/osfmk/kern/
H A Dwork_interval.c156 struct os_refcnt wi_ref_count;
H A Dthread_group.c50 struct os_refcnt tg_refcount;
/xnu-8792.41.9/bsd/kern/
H A Dkpi_socketfilter.c94 struct os_refcnt sf_refcount;