Lines Matching refs:td_proc
340 PROC_LOCK(td->td_proc);
341 lim = racct_get_limit(td->td_proc, RACCT_NOFILE);
342 PROC_UNLOCK(td->td_proc);
486 p = td->td_proc;
882 p = td->td_proc;
1183 if (proc->p_session != curthread->td_proc->p_session) {
1207 if (pgrp->pg_session != curthread->td_proc->p_session) {
1297 if (td->td_proc->p_fdtol != NULL) {
1329 if (__predict_false(td->td_proc->p_fdtol != NULL)) {
1358 fdp = td->td_proc->p_fd;
1389 fdp = td->td_proc->p_fd;
1544 AUDIT_ARG_FILE(td->td_proc, fp);
1900 struct proc *p = td->td_proc;
1958 struct proc *p = td->td_proc;
2033 "please see tuning(7).\n", td->td_ucred->cr_ruid, td->td_proc->p_comm);
2090 struct filedesc *fdp = td->td_proc->p_fd;
2303 struct proc *p = td->td_proc;
2322 p = td->td_proc;
2337 td->td_proc->p_fd = fdp;
2467 p = td->td_proc;
2588 p = td->td_proc;
2619 p = td->td_proc;
2675 fdp = td->td_proc->p_fd;
2705 struct filedesc *fdp = td->td_proc->p_fd;
2727 fdp = td->td_proc->p_fd;
2758 fdp = td->td_proc->p_fd;
2814 if ((td->td_proc->p_leader->p_flag & P_ADVLOCK) != 0) {
2819 (void) VOP_ADVLOCK(vp, (caddr_t)td->td_proc->p_leader,
2822 fdtol = td->td_proc->p_fdtol;
2828 fdp = td->td_proc->p_fd;
2831 fdtol != td->td_proc->p_fdtol;
2930 struct filedesc *fdp = td->td_proc->p_fd;
3294 fdp = td->td_proc->p_fd;
3357 fdp = td->td_proc->p_fd;
3402 struct filedesc *fdp = td->td_proc->p_fd;
3783 pdp = td->td_proc->p_pd;
3838 fdp = td->td_proc->p_fd;
3839 pdp = td->td_proc->p_pd;
3880 pdp = td->td_proc->p_pd;
3901 fdp = td->td_proc->p_fd;
3902 pdp = td->td_proc->p_pd;