Lines Matching refs:td_proc
610 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED);
611 mtx_assert(&td->td_proc->p_sigacts->ps_mtx, MA_OWNED);
625 PROC_LOCK_ASSERT(td->td_proc, MA_OWNED);
648 if (SV_PROC_FLAG(td->td_proc, SV_AOUT) && td->td_sigstk.ss_size == 0)
700 struct proc *p = td->td_proc;
1027 MPASS(td->td_proc == p);
1054 p = td->td_proc;
1183 if (error == EINTR && td->td_proc->p_osrel < P_OSREL_SIGWAIT)
1256 FOREACH_THREAD_IN_PROC(td->td_proc, thr) {
1276 p = td->td_proc;
1409 struct proc *p = td->td_proc;
1428 struct proc *p = td->td_proc;
1543 struct proc *p = td->td_proc;
1679 struct proc *p = td->td_proc;
1723 (notself && p == arg->td->td_proc) || p->p_state == PRS_NEW)
1770 pgrp = td->td_proc->p_pgrp;
1817 if (IN_CAPABILITY_MODE(td) && pid != td->td_proc->p_pid)
1828 ksi.ksi_pid = td->td_proc->p_pid;
1896 ksi.ksi_pid = td->td_proc->p_pid;
1944 ksi.ksi_pid = td->td_proc->p_pid;
2028 p = td->td_proc;
2162 (void) tdsendsignal(td->td_proc, td, sig, &ksi);
2169 (void) tdsendsignal(td->td_proc, td, sig, ksi);
2183 MPASS(td == NULL || p == td->td_proc);
2461 struct proc *p = td->td_proc;
2548 p = td->td_proc;
2631 struct proc *p = td->td_proc;
2796 p = td->td_proc;
2918 p = td->td_proc;
3153 p = td->td_proc;
3218 p = td->td_proc;
3236 p = td->td_proc;
3288 p = td->td_proc;
3343 struct proc *p = td->td_proc;
3623 if ((td->td_proc->p_flag & P_SUGID) != 0) {
3760 if ((td->td_proc->p_flag & P_SUGID) != 0)
3794 struct proc *p = td->td_proc;
3944 p = td->td_proc;
4148 p = td->td_proc;
4166 p = td->td_proc;
4315 p = td->td_proc;