Lines Matching refs:proc

90 	struct proc	*s_leader;	/* (m + e) Session leader. */
110 LIST_HEAD(, proc) pg_members; /* (m + e) Pointer to pgrp members. */
188 struct proc;
231 struct proc *td_proc; /* (*) Associated process. */
369 struct proc *td_rfppwait_p; /* (k) The vforked child */
596 struct proc { struct
597 LIST_ENTRY(proc) p_list; /* (d) List of all processes. */
617 LIST_ENTRY(proc) p_hash; /* (d) Hash chain. */ argument
618 LIST_ENTRY(proc) p_pglist; /* (g + e) List of processes in pgrp. */
619 struct proc *p_pptr; /* (c + e) Pointer to parent process. */ argument
620 LIST_ENTRY(proc) p_sibling; /* (e) List of sibling processes. */
621 LIST_HEAD(, proc) p_children; /* (e) Pointer to list of children. */
622 struct proc *p_reaper; /* (e) My reaper. */ argument
623 LIST_HEAD(, proc) p_reaplist; /* (e) List of my descendants
625 LIST_ENTRY(proc) p_reapsibling; /* (e) List of siblings - descendants of
699 struct proc *p_peers; /* (r) */ argument
700 struct proc *p_leader; /* (b) */ argument
716 LIST_ENTRY(proc) p_orphan; /* (e) List of orphan processes. */ argument
717 LIST_HEAD(, proc) p_orphans; /* (e) Pointer to list of orphans. */
995 extern LIST_HEAD(pidhashhead, proc) *pidhashtbl;
1009 extern struct proc proc0; /* Process slot for swapper. */
1019 LIST_HEAD(proclist, proc);
1020 TAILQ_HEAD(procqueue, proc);
1023 extern struct proc *initproc, *pageproc; /* Process slots for init, pager. */
1028 struct proc *pfind(pid_t); /* Find process by id. */
1029 struct proc *pfind_any(pid_t); /* Find (zombie) process by id. */
1030 struct proc *pfind_any_locked(pid_t pid); /* Find process by id, locked. */
1039 struct proc **fr_procp;
1061 int pget(pid_t pid, int flags, struct proc **pp);
1070 int cr_cansignal(struct ucred *cred, struct proc *proc, int signum);
1071 int enterpgrp(struct proc *p, pid_t pgid, struct pgrp *pgrp,
1073 int enterthispgrp(struct proc *p, struct pgrp *pgrp);
1074 void faultin(struct proc *p);
1080 int inferior(struct proc *p);
1086 int leavepgrp(struct proc *p);
1090 int p_candebug(struct thread *td, struct proc *p);
1091 int p_cansee(struct thread *td, struct proc *p);
1092 int p_cansched(struct thread *td, struct proc *p);
1093 int p_cansignal(struct thread *td, struct proc *p, int signum);
1094 int p_canwait(struct thread *td, struct proc *p);
1098 int proc_getargv(struct thread *td, struct proc *p, struct sbuf *sb);
1099 int proc_getauxv(struct thread *td, struct proc *p, struct sbuf *sb);
1100 int proc_getenvv(struct thread *td, struct proc *p, struct sbuf *sb);
1102 int proc_iterate(int (*cb)(struct proc *, void *), void *cbarg);
1103 void proc_linkup0(struct proc *p, struct thread *td);
1104 void proc_linkup(struct proc *p, struct thread *td);
1105 struct proc *proc_realparent(struct proc *child);
1106 void proc_reap(struct thread *td, struct proc *p, int *status, int options);
1107 void proc_reparent(struct proc *child, struct proc *newparent, bool set_oppid);
1108 void proc_add_orphan(struct proc *child, struct proc *parent);
1109 void proc_set_traced(struct proc *p, bool stop);
1110 void proc_wkilled(struct proc *p);
1114 void proc_clear_orphan(struct proc *p);
1115 void reaper_abandon_children(struct proc *p, bool exiting);
1121 void setsugid(struct proc *p);
1124 void stopevent(struct proc *, u_int, u_int);
1140 bool cpu_exec_vmspace_reuse(struct proc *p, struct vm_map *map);
1142 void cpu_fork(struct thread *, struct proc *, struct thread *, int);
1159 void thread_cow_get_proc(struct thread *newtd, struct proc *p);
1167 void thread_link(struct thread *td, struct proc *p);
1168 int thread_single(struct proc *p, int how);
1169 void thread_single_end(struct proc *p, int how);
1171 void thread_stopped(struct proc *p);
1172 void childproc_stopped(struct proc *child, int reason);
1173 void childproc_continued(struct proc *child);
1174 void childproc_exited(struct proc *child);
1177 void thread_suspend_switch(struct thread *, struct proc *p);
1180 void thread_unsuspend(struct proc *p);
1181 void thread_wait(struct proc *p);