Home
last modified time | relevance | path

Searched refs:nkcr (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/uts/common/os/
H A Dsid.c287 kcrsidcopy_to(const credsid_t *okcr, credsid_t *nkcr) in kcrsidcopy_to() argument
291 ASSERT(nkcr->kr_ref == 1); in kcrsidcopy_to()
295 *nkcr = *okcr; in kcrsidcopy_to()
297 ksid_hold(&nkcr->kr_sidx[i]); in kcrsidcopy_to()
298 if (nkcr->kr_sidlist != NULL) in kcrsidcopy_to()
299 ksidlist_hold(nkcr->kr_sidlist); in kcrsidcopy_to()
300 nkcr->kr_ref = 1; in kcrsidcopy_to()
328 credsid_t *nkcr; in kcrsid_setsid() local
342 nkcr = kcrsid_dup(okcr); in kcrsid_setsid()
343 ksid_rele(&nkcr->kr_sidx[i]); in kcrsid_setsid()
[all …]
H A Dcred.c412 credsid_t *nkcr = newcr->cr_ksid; in crcopy_to() local
423 if (nkcr) { in crcopy_to()
424 newcr->cr_ksid = nkcr; in crcopy_to()
476 credsid_t *nkcr = newcr->cr_ksid; in crdup_to() local
487 if (nkcr) { in crdup_to()
488 newcr->cr_ksid = nkcr; in crdup_to()
/titanic_41/usr/src/uts/common/sys/
H A Dsid.h116 void kcrsidcopy_to(const credsid_t *okcr, credsid_t *nkcr);