Searched refs:r_refs (Results 1 – 3 of 3) sorted by relevance
13 int32 r_refs; member17 #define REFCNT_INITIALIZER() { .r_refs = 1 }23 atomic_set(&r->r_refs, 1); in refcnt_init()31 refs = atomic_add(&r->r_refs, 1); in refcnt_take()41 refs = atomic_add(&r->r_refs, -1) - 1; in refcnt_rele()59 while (r->r_refs > 0) in refcnt_finalize()
9177 KASSERT(sc->task_refs.r_refs == 0); in iwx_init()9299 KASSERT(sc->task_refs.r_refs >= 1); in iwx_stop()
10425 KASSERT(sc->task_refs.r_refs == 0); in iwm_init()10545 KASSERT(sc->task_refs.r_refs >= 1); in iwm_stop()