Searched refs:cr_ref (Results 1 – 4 of 4) sorted by relevance
1860 cr->cr_ref++; in crcowget()1873 cr->cr_ref += td->td_ucredref; in crunuse()1883 cr->cr_ref--; in crunuse()1901 cr->cr_ref += ref; in crunusebatch()1902 cr->cr_ref -= users; in crunusebatch()1908 __func__, cr->cr_ref, cr)); in crunusebatch()1909 if (cr->cr_ref > 0) { in crunusebatch()1996 cr->cr_ref = 1; in crget()2025 cr->cr_ref++; in crhold()2048 cr->cr_ref--; in crfree()[all …]
861 refcount_init(&cr->cr_ref, 1); in crget()872 refcount_acquire(&cr->cr_ref); in crhold()882 KASSERT(cr->cr_ref > 0, ("bad ucred refcount: %d", cr->cr_ref)); in crfree()883 KASSERT(cr->cr_ref != 0xdeadc0de, ("dangling reference to ucred")); in crfree()884 if (refcount_release(&cr->cr_ref)) { in crfree()
50 u_int cr_ref; /* reference count */ member
64 u_int cr_ref; /* (c) reference count */ member