Lines Matching defs:tp
162 struct proc *tp;
419 if ((tp = pfind(udata.au_aupinfo.ap_pid)) == NULL)
421 if ((error = p_cansee(td, tp)) != 0) {
422 PROC_UNLOCK(tp);
425 cred = tp->p_ucred;
427 PROC_UNLOCK(tp);
440 PROC_UNLOCK(tp);
449 if ((tp = pfind(udata.au_aupinfo.ap_pid)) == NULL) {
453 if ((error = p_cansee(td, tp)) != 0) {
454 PROC_UNLOCK(tp);
458 oldcred = tp->p_ucred;
465 PROC_UNLOCK(tp);
490 if ((tp = pfind(udata.au_aupinfo_addr.ap_pid)) == NULL)
492 cred = tp->p_ucred;
500 PROC_UNLOCK(tp);