Lines Matching defs:proc
64 #include <sys/proc.h>
96 SDT_PROVIDER_DECLARE(proc);
97 SDT_PROBE_DEFINE3(proc, kernel, , signal__send, "struct thread *",
98 "struct proc *", "int");
99 SDT_PROBE_DEFINE2(proc, kernel, , signal__clear, "int",
101 SDT_PROBE_DEFINE3(proc, kernel, , signal__discard,
102 "struct thread *", "struct proc *", "int");
110 static void sig_suspend_threads(struct thread *, struct proc *, int);
114 static struct thread *sigtd(struct proc *p, int sig, int prop);
139 &max_pending_per_proc, 0, "Max pending signals per proc");
233 static void reschedule_signals(struct proc *p, sigset_t block, int flags);
276 sigqueue_init(sigqueue_t *list, struct proc *p)
294 struct proc *p = sq->sq_proc;
332 struct proc *p;
356 struct proc *p = sq->sq_proc;
419 struct proc *p = sq->sq_proc;
442 struct proc *p1, *p2;
489 struct proc *p = sq->sq_proc;
519 sigqueue_delete_set_proc(struct proc *p, const sigset_t *set)
536 sigqueue_delete_proc(struct proc *p, int signo)
546 sigqueue_delete_stopmask_proc(struct proc *p)
580 struct proc *p;
657 struct proc *p = td->td_proc;
919 struct proc *p;
955 execsigs(struct proc *p)
1003 struct proc *p;
1208 struct proc *p;
1294 SDT_PROBE(proc, kernel, , signal__clear, sig, ksi, 0, 0, 0);
1326 struct proc *p = td->td_proc;
1347 struct proc *p = td->td_proc;
1470 struct proc *p = td->td_proc;
1599 struct proc *p = td->td_proc;
1635 struct proc *p;
1713 struct proc *p;
1765 struct proc *p;
1827 struct proc *p;
1885 struct proc *p;
1932 struct proc *p;
1978 sigtd(struct proc *p, int sig, int prop)
2020 kern_psignal(struct proc *p, int sig)
2031 pksignal(struct proc *p, int sig, ksiginfo_t *ksi)
2039 sigev_findtd(struct proc *p ,struct sigevent *sigev, struct thread **ttd)
2074 tdsendsignal(struct proc *p, struct thread *td, int sig, ksiginfo_t *ksi)
2111 SDT_PROBE(proc, kernel, , signal__send, td, p, sig, 0, 0 );
2122 SDT_PROBE(proc, kernel, , signal__discard, td, p, sig, 0, 0 );
2349 /* If we jump here, proc slock should not be owned. */
2362 struct proc *p = td->td_proc;
2440 sig_suspend_threads(struct thread *td, struct proc *p, int sending)
2478 struct proc *p = td->td_proc;
2525 reschedule_signals(struct proc *p, sigset_t block, int flags)
2556 struct proc *p;
2633 struct proc *p;
2812 thread_stopped(struct proc *p)
2841 register struct proc *p = td->td_proc;
2915 struct proc *p;
2920 CTR3(KTR_PROC, "killproc: proc %p (pid %d, %s)", p, p->p_pid,
2941 struct proc *p = td->td_proc;
2961 * Note that coredump() drops proc lock.
2983 sigparent(struct proc *p, int reason, int status)
3001 childproc_jobstate(struct proc *p, int reason, int sig)
3027 childproc_stopped(struct proc *p, int reason)
3034 childproc_continued(struct proc *p)
3040 childproc_exited(struct proc *p)
3245 struct proc *p = td->td_proc;
3369 struct proc *p = td->td_proc;
3405 struct proc *p;
3424 struct proc *p = curproc;
3437 struct proc *p = kn->kn_ptr.p_proc;
3443 * signal knotes are shared with proc knotes, so we apply a mask to