Lines Matching refs:cr_prison
602 pr = cred->cr_prison; in sem_find_prison()
614 !(rpr == semakptr->cred->cr_prison || in sem_prison_cansee()
615 prison_ischild(rpr, semakptr->cred->cr_prison))) in sem_prison_cansee()
740 if (cred->cr_prison != semakptr->cred->cr_prison) in kern_semctl()
795 if (cred->cr_prison != semakptr->cred->cr_prison) in kern_semctl()
984 sema[semid].cred->cr_prison == cred->cr_prison && in sys_semget()
1534 pr = req->td->td_ucred->cr_prison; in sysctl_sema()
1544 if (tsemak.cred->cr_prison != pr) in sysctl_sema()
1587 pr = td->td_ucred->cr_prison; in kern_get_sema()
1598 if (psemak->cred->cr_prison != pr) in kern_get_sema()
1774 sema[i].cred != NULL && sema[i].cred->cr_prison == pr) { in sem_prison_cleanup()