Lines Matching refs:PTOU
488 if (PTOU(cp)->u_systrap && in cfork()
489 prismember(&PTOU(cp)->u_exitmask, curthread->t_sysnum)) { in cfork()
504 if (!(p->p_proc_flag & P_PR_ASYNC) && PTOU(p)->u_systrap && in cfork()
505 prismember(&PTOU(p)->u_exitmask, curthread->t_sysnum)) { in cfork()
699 VN_RELE(PTOU(curproc)->u_cdir); in fork_fail()
700 if (PTOU(curproc)->u_rdir) in fork_fail()
701 VN_RELE(PTOU(curproc)->u_rdir); in fork_fail()
706 if (PTOU(curproc)->u_cwd) in fork_fail()
707 refstr_rele(PTOU(curproc)->u_cwd); in fork_fail()
837 up = PTOU(p); in newproc()
1191 if (PTOU(pp)->u_cdir) { in getproc()
1192 VN_HOLD(PTOU(pp)->u_cdir); in getproc()
1200 if (PTOU(pp)->u_rdir) in getproc()
1201 VN_HOLD(PTOU(pp)->u_rdir); in getproc()
1202 if (PTOU(pp)->u_cwd) in getproc()
1203 refstr_hold(PTOU(pp)->u_cwd); in getproc()
1208 uarea = PTOU(cp); in getproc()
1209 bcopy(PTOU(pp), uarea, sizeof (*uarea)); in getproc()