Home
last modified time | relevance | path

Searched refs:inp_refcount (Results 1 – 3 of 3) sorted by relevance

/f-stack/freebsd/netinet/
H A Din_pcb.c630 refcount_init(&inp->inp_refcount, 1); /* Reference from inpcbinfo */ in in_pcballoc()
1595 KASSERT(inp->inp_refcount > 0, ("%s: refcount 0", __func__)); in in_pcbref()
1597 refcount_acquire(&inp->inp_refcount); in in_pcbref()
1617 KASSERT(inp->inp_refcount > 0, ("%s: refcount 0", __func__)); in in_pcbrele_rlocked()
1621 if (refcount_release(&inp->inp_refcount) == 0) { in in_pcbrele_rlocked()
1665 KASSERT(inp->inp_refcount > 0, ("%s: refcount 0", __func__)); in in_pcbrele_wlocked()
1669 if (refcount_release(&inp->inp_refcount) == 0) { in in_pcbrele_wlocked()
1848 MPASS(inp->inp_refcount > 1); in in_pcbdrop()
H A Din_pcb.h261 u_int inp_refcount; /* (i) refcount */ member
/f-stack/tools/compat/include/netinet/
H A Din_pcb.h261 u_int inp_refcount; /* (i) refcount */ member