Searched refs:cr_ref (Results 1 – 4 of 4) sorted by relevance
194 dummycr->cr_ref = 1; in cred_init()211 kcred->cr_ref = 1; in cred_init()256 cr->cr_ref = 1; /* So we can crfree() */ in cralloc_flags()293 cr->cr_ref = 1; in crget()349 ASSERT(cr->cr_ref != 0xdeadbeef && cr->cr_ref != 0); in crhold()350 atomic_inc_32(&cr->cr_ref); in crhold()360 ASSERT(cr->cr_ref != 0xdeadbeef && cr->cr_ref != 0); in crfree()361 if (atomic_dec_32_nv(&cr->cr_ref) == 0) { in crfree()401 newcr->cr_ref = 2; /* caller gets two references */ in crcopy()432 newcr->cr_ref = 2; /* caller gets two references */ in crcopy_to()[all …]
637 ASSERT(cr->cr_ref <= 2); in priv_set_PA()676 ASSERT(cr->cr_ref <= 2); in priv_adjust_PA()709 ASSERT(cr->cr_ref <= 2); in priv_reset_PA()
4798 ASSERT(zone->zone_kcred->cr_ref == 1); in zone_create()
76 uint_t cr_ref; /* reference count */ member