proc 118 usr/server/proc/main.c static struct proc proc0; /* process data of this server (pid=0) */ proc 122 usr/server/proc/main.c struct proc initproc; /* process slot for init process (pid=1) */ proc 123 usr/server/proc/main.c struct proc *curproc; /* current (caller) process */ proc 284 usr/server/proc/main.c struct proc *p, *parent; proc 318 usr/server/proc/main.c struct proc *p; proc 364 usr/server/proc/main.c struct proc *p; proc 382 usr/server/proc/main.c struct proc *p; proc 390 usr/server/proc/main.c if ((p = malloc(sizeof(struct proc))) == NULL) proc 392 usr/server/proc/main.c memset(p, 0, sizeof(struct proc)); proc 449 usr/server/proc/main.c struct proc *p; proc 460 usr/server/proc/main.c p = list_entry(n, struct proc, p_link); proc 487 usr/server/proc/main.c struct proc *p; proc 60 usr/server/proc/proc.h struct proc; proc 67 usr/server/proc/proc.h struct proc *s_leader; /* session leader */ proc 85 usr/server/proc/proc.h struct proc { proc 87 usr/server/proc/proc.h struct proc *p_parent; /* pointer to parent process */ proc 116 usr/server/proc/proc.h extern struct proc initproc; /* process slot for init */ proc 118 usr/server/proc/proc.h extern struct proc *curproc; /* current (caller) process */ proc 132 usr/server/proc/proc.h int newproc(struct proc *, pid_t, task_t); proc 134 usr/server/proc/proc.h void cleanup(struct proc *); proc 135 usr/server/proc/proc.h void vfork_end(struct proc *); proc 147 usr/server/proc/proc.h struct proc *p_find(pid_t); proc 149 usr/server/proc/proc.h struct proc *task_to_proc(task_t); proc 150 usr/server/proc/proc.h void p_add(struct proc *); proc 151 usr/server/proc/proc.h void p_remove(struct proc *); proc 53 usr/server/proc/proc_exit.c struct proc *child, *parent; proc 75 usr/server/proc/proc_exit.c child = list_entry(n, struct proc, p_sibling); proc 146 usr/server/proc/proc_exit.c struct proc *p; proc 164 usr/server/proc/proc_exit.c p = list_entry(n, struct proc, p_sibling); proc 45 usr/server/proc/proc_fork.c static int vfork_start(struct proc *); proc 84 usr/server/proc/proc_fork.c newproc(struct proc *p, pid_t pid, task_t task) proc 128 usr/server/proc/proc_fork.c struct proc *p; proc 143 usr/server/proc/proc_fork.c if ((p = malloc(sizeof(struct proc))) == NULL) proc 165 usr/server/proc/proc_fork.c cleanup(struct proc *p) proc 167 usr/server/proc/proc_fork.c struct proc *pp; proc 178 usr/server/proc/proc_fork.c vfork_start(struct proc *p) proc 200 usr/server/proc/proc_fork.c vfork_end(struct proc *p) proc 52 usr/server/proc/proc_hash.c struct proc * proc 56 usr/server/proc/proc_hash.c struct proc *p = NULL; proc 61 usr/server/proc/proc_hash.c p = list_entry(n, struct proc, p_pid_link); proc 92 usr/server/proc/proc_hash.c struct proc * proc 96 usr/server/proc/proc_hash.c struct proc *p = NULL; proc 102 usr/server/proc/proc_hash.c p = list_entry(n, struct proc, p_task_link); proc 115 usr/server/proc/proc_hash.c p_add(struct proc *p) proc 126 usr/server/proc/proc_hash.c p_remove(struct proc *p) proc 77 usr/server/proc/proc_pid.c struct proc *p; proc 98 usr/server/proc/proc_pid.c struct proc *p, *leader; proc 120 usr/server/proc/proc_pid.c enterpgrp(struct proc *p, pid_t pgid) proc 152 usr/server/proc/proc_pid.c leavepgrp(struct proc *p) proc 179 usr/server/proc/proc_pid.c struct proc *p; proc 204 usr/server/proc/proc_pid.c struct proc *p; proc 60 usr/server/proc/proc_sig.c sendsig(struct proc *p, int sig) proc 87 usr/server/proc/proc_sig.c struct proc *p; proc 102 usr/server/proc/proc_sig.c struct proc *p; proc 114 usr/server/proc/proc_sig.c p = list_entry(n, struct proc, p_pgrp_link); proc 144 usr/server/proc/proc_sig.c struct proc *p; proc 172 usr/server/proc/proc_sig.c p = list_entry(n, struct proc, p_link);