Home
last modified time | relevance | path

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

/xnu-12377.61.12/libkern/os/
H A Drefcnt.h55 struct os_refcnt;
57 typedef struct os_refcnt os_refcnt_t;
103 static void os_ref_init_count(struct os_refcnt *, struct os_refgrp *, os_ref_count_t count)
127 static void os_ref_retain(struct os_refcnt *);
128 static os_ref_count_t os_ref_release(struct os_refcnt *) OS_WARN_RESULT;
129 static os_ref_count_t os_ref_release_relaxed(struct os_refcnt *) OS_WARN_RESULT;
130 static void os_ref_release_live(struct os_refcnt *);
140 static bool os_ref_retain_try(struct os_refcnt *) OS_WARN_RESULT;
150 static void os_ref_retain_locked(struct os_refcnt *);
151 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
82 os_ref_init_count(struct os_refcnt *rc, struct os_refgrp * __unused grp, os_ref_count_t count) in os_ref_init_count()
91 os_ref_retain(struct os_refcnt *rc) in os_ref_retain()
97 os_ref_release_locked(struct os_refcnt *rc) in os_ref_release_locked()
103 os_ref_retain_locked(struct os_refcnt *rc) in os_ref_retain_locked()
109 os_ref_retain_try(struct os_refcnt *rc) in os_ref_retain_try()
116 os_ref_release_explicit(struct os_refcnt *rc, memory_order release_order, memory_order dealloc_orde… in os_ref_release_explicit()
185 os_ref_release(struct os_refcnt *rc) in os_ref_release()
192 os_ref_release_last(struct os_refcnt *rc) in os_ref_release_last()
200 os_ref_release_relaxed(struct os_refcnt *rc) in os_ref_release_relaxed()
[all …]
/xnu-12377.61.12/tests/
H A Dos_refcnt.c77 T_DECL(os_refcnt, "Basic atomic refcount")
79 struct os_refcnt rc;
178 struct os_refcnt rc;
284 struct os_refcnt rc;
414 struct os_refcnt rc = OS_REF_INITIALIZER;
556 struct os_refcnt *rc = _rc; in func()
568 struct os_refcnt rc;
H A DMakefile801 os_refcnt: OTHER_CFLAGS += -I$(SRCROOT)/../libkern/ -Wno-gcc-compat -Wno-undef -O3 -flto -ldarwinte… target
/xnu-12377.61.12/bsd/net/
H A Ddevtimer.c64 struct os_refcnt dt_retain_count;
H A Dif_bond.c229 struct os_refcnt ifb_retain_count;
/xnu-12377.61.12/bsd/pthread/
H A Dworkqueue_internal.h250 struct os_refcnt wq_refcnt;
/xnu-12377.61.12/bsd/skywalk/nexus/netif/
H A Dnx_netif.h173 struct os_refcnt nll_refcnt;
275 struct os_refcnt nif_refcnt;
/xnu-12377.61.12/bsd/kern/
H A Dkpi_socketfilter.c86 struct os_refcnt sfe_refcount;
96 struct os_refcnt sf_refcount;
/xnu-12377.61.12/osfmk/kern/
H A Dwork_interval.c154 struct os_refcnt wi_ref_count;
H A Dthread_group.c51 struct os_refcnt tg_refcount;