Home
last modified time | relevance | path

Searched refs:cr_ref (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Dcred.c194 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 …]
H A Dpriv.c637 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()
H A Dzone.c4798 ASSERT(zone->zone_kcred->cr_ref == 1); in zone_create()
/illumos-gate/usr/src/uts/common/sys/
H A Dcred_impl.h76 uint_t cr_ref; /* reference count */ member