Lines Matching refs:os_refcnt
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;
156 static os_ref_count_t os_ref_get_count(struct os_refcnt *rc);
172 static void os_ref_retain_floor(struct os_refcnt *, os_ref_count_t f)