Lines Matching refs:td_ucred
281 pr_path = curthread->td_ucred->cr_prison->pr_path; in ksem_fill_kinfo()
505 ks = ksem_alloc(td->td_ucred, mode, value); in ksem_create()
512 pr_path = td->td_ucred->cr_prison->pr_path; in ksem_create()
537 ks = ksem_alloc(td->td_ucred, mode, value); in ksem_create()
556 error = mac_posixsem_check_open(td->td_ucred, in ksem_create()
560 error = ksem_access(ks, td->td_ucred); in ksem_create()
664 pr_path = td->td_ucred->cr_prison->pr_path; in sys_ksem_unlink()
677 error = ksem_remove(path, fnv, td->td_ucred); in sys_ksem_unlink()
733 error = mac_posixsem_check_post(td->td_ucred, fp->f_cred, ks); in sys_ksem_post()
827 error = mac_posixsem_check_wait(td->td_ucred, fp->f_cred, ks); in kern_sem_wait()
895 error = mac_posixsem_check_getvalue(td->td_ucred, fp->f_cred, ks); in sys_ksem_getvalue()