Searched refs:cr_ref (Results 1 – 3 of 3) sorted by relevance
52 u_int cr_ref; /* reference count */ member
1820 refcount_init(&cr->cr_ref, 1); in crget()1840 refcount_acquire(&cr->cr_ref); in crhold()1851 KASSERT(cr->cr_ref > 0, ("bad ucred refcount: %d", cr->cr_ref)); in crfree()1852 KASSERT(cr->cr_ref != 0xdeadc0de, ("dangling reference to ucred")); in crfree()1853 if (refcount_release(&cr->cr_ref)) { in crfree()1889 KASSERT(dest->cr_ref == 1, ("crcopy of shared ucred")); in crcopy()
1827 refcount_init(&ucred.cr_ref, 1);2588 refcount_init(&ucred.cr_ref, 1);