HomeSort by: relevance | last modified time | path
    Searched refs:t_refcnt (Results 1 - 3 of 3) sorted by relevancy

  /src/sys/net/npf/
npf_tableset.c 111 unsigned t_refcnt; member in struct:npf_table
164 if (atomic_dec_uint_nv(&t->t_refcnt) > 0)
186 atomic_inc_uint(&t->t_refcnt);
204 newt->t_refcnt = oldt->t_refcnt;
205 oldt->t_refcnt = 0;
275 atomic_inc_uint(&ot->t_refcnt);
282 t->t_refcnt--;
428 KASSERT(t->t_refcnt == 0);
  /src/sys/sys/
tty.h 152 volatile unsigned t_refcnt; /* reference count for constty */ member in struct:tty
  /src/sys/kern/
tty.c 506 while (tp->t_refcnt)
537 refcnt = atomic_inc_uint_nv(&tp->t_refcnt);
549 old = atomic_load_relaxed(&tp->t_refcnt);
552 if (atomic_dec_uint_nv(&tp->t_refcnt) == 0)
559 } while (atomic_cas_uint(&tp->t_refcnt, old, new) != old);

Completed in 52 milliseconds