Searched refs:os_refcnt (Results 1 – 11 of 11) sorted by relevance
54 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 …]
4 struct os_refcnt { struct83 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 …]
34 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;
421 os_refcnt: OTHER_CFLAGS += -I$(SRCROOT)/../libkern/ -Wno-gcc-compat -Wno-undef -O3 -flto target
225 struct os_refcnt wq_refcnt;
64 struct os_refcnt dt_retain_count;
180 struct os_refcnt ifb_retain_count;
192 struct os_refcnt nll_refcnt;288 struct os_refcnt nif_refcnt;
156 struct os_refcnt wi_ref_count;
50 struct os_refcnt tg_refcount;
94 struct os_refcnt sf_refcount;