Searched refs:cr_ref (Results 1 – 4 of 4) sorted by relevance
193 dummycr->cr_ref = 1; in cred_init()210 kcred->cr_ref = 1; in cred_init()253 cr->cr_ref = 1; /* So we can crfree() */ in cralloc_flags()290 cr->cr_ref = 1; in crget()346 ASSERT(cr->cr_ref != 0xdeadbeef && cr->cr_ref != 0); in crhold()347 atomic_inc_32(&cr->cr_ref); in crhold()357 ASSERT(cr->cr_ref != 0xdeadbeef && cr->cr_ref != 0); in crfree()358 if (atomic_dec_32_nv(&cr->cr_ref) == 0) { in crfree()398 newcr->cr_ref = 2; /* caller gets two references */ in crcopy()429 newcr->cr_ref = 2; /* caller gets two references */ in crcopy_to()[all …]
638 ASSERT(cr->cr_ref <= 2); in priv_set_PA()677 ASSERT(cr->cr_ref <= 2); in priv_adjust_PA()710 ASSERT(cr->cr_ref <= 2); in priv_reset_PA()
4586 ASSERT(zone->zone_kcred->cr_ref == 1); in zone_create()
76 uint_t cr_ref; /* reference count */ member