tag | line | file | source code |
pid | 123 | include/linux/sched.h | long pid,pgrp,session,leader; |
pid | 43 | init/main.c | static inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) |
pid | 203 | init/main.c | int pid,i; |
pid | 217 | init/main.c | if (!(pid=fork())) { |
pid | 224 | init/main.c | if (pid>0) |
pid | 225 | init/main.c | while (pid != wait(&i)) |
pid | 228 | init/main.c | if ((pid=fork())<0) { |
pid | 232 | init/main.c | if (!pid) { |
pid | 241 | init/main.c | if (pid == wait(&i)) |
pid | 243 | init/main.c | printf("\n\rchild %d died with code %04x\n\r",pid,i); |
pid | 112 | kernel/exit.c | task[i]->pid); |
pid | 115 | kernel/exit.c | task[i]->pid); |
pid | 118 | kernel/exit.c | task[i]->pid); |
pid | 121 | kernel/exit.c | task[i]->pid); |
pid | 134 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
pid | 135 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
pid | 139 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid); |
pid | 145 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
pid | 146 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
pid | 150 | kernel/exit.c | task[i]->pid, task[i]->p_ysptr->pid); |
pid | 156 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
pid | 160 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
pid | 182 | kernel/exit.c | if ((*p)->pid == pgrp) |
pid | 206 | kernel/exit.c | int kill_proc(int pid, int sig, int priv) |
pid | 213 | kernel/exit.c | if (*p && (*p)->pid == pid) |
pid | 222 | kernel/exit.c | int sys_kill(int pid,int sig) |
pid | 227 | kernel/exit.c | if (!pid) |
pid | 229 | kernel/exit.c | if (pid == -1) { |
pid | 231 | kernel/exit.c | if (*p && (*p)->pid > 1 && *p != current) { |
pid | 238 | kernel/exit.c | if (pid < 0) |
pid | 239 | kernel/exit.c | return(kill_pg(-pid,sig,0)); |
pid | 241 | kernel/exit.c | return(kill_proc(pid,sig,0)); |
pid | 260 | kernel/exit.c | ((*p)->p_pptr->pid == 1)) |
pid | 415 | kernel/exit.c | int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options) |
pid | 427 | kernel/exit.c | if (pid>0) { |
pid | 428 | kernel/exit.c | if (p->pid != pid) |
pid | 430 | kernel/exit.c | } else if (!pid) { |
pid | 433 | kernel/exit.c | } else if (pid != -1) { |
pid | 434 | kernel/exit.c | if (p->pgrp != -pid) |
pid | 447 | kernel/exit.c | return p->pid; |
pid | 453 | kernel/exit.c | flag = p->pid; |
pid | 83 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid) |
pid | 129 | kernel/fork.c | p->pid = last_pid; |
pid | 130 | kernel/fork.c | if (p->pid > 1) |
pid | 191 | kernel/fork.c | return p->pid; |
pid | 34 | kernel/ptrace.c | static inline struct task_struct * get_task(int pid) |
pid | 39 | kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
pid | 220 | kernel/ptrace.c | int sys_ptrace(long request, long pid, long addr, long data) |
pid | 232 | kernel/ptrace.c | if (!(child = get_task(pid))) |
pid | 39 | kernel/sched.c | printk("%d: pid=%d, state=%d, father=%d, child=%d, ",(p == current)?-nr:nr,p->pid, |
pid | 40 | kernel/sched.c | p->state, p->p_pptr->pid, p->p_cptr ? p->p_cptr->pid : -1); |
pid | 48 | kernel/sched.c | p->p_ysptr ? p->p_ysptr->pid : -1, |
pid | 49 | kernel/sched.c | p->p_osptr ? p->p_osptr->pid : -1); |
pid | 470 | kernel/sched.c | return current->pid; |
pid | 475 | kernel/sched.c | return current->p_pptr->pid; |
pid | 123 | kernel/signal.c | extern int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options); |
pid | 140 | kernel/signal.c | current->pid, signr, regs->eax, regs->orig_eax, |
pid | 162 | kernel/signal.c | if (current->pid == 1) |
pid | 41 | kernel/sys.c | return(p->pid == who); |
pid | 354 | kernel/sys.c | int sys_setpgid(int pid, int pgid) |
pid | 358 | kernel/sys.c | if (!pid) |
pid | 359 | kernel/sys.c | pid = current->pid; |
pid | 361 | kernel/sys.c | pgid = current->pid; |
pid | 365 | kernel/sys.c | if (task[i] && (task[i]->pid == pid) && |
pid | 371 | kernel/sys.c | ((pgid != pid) && |
pid | 390 | kernel/sys.c | current->session = current->pgrp = current->pid; |
pid | 73 | kernel/traps.c | printk("Pid: %d, process nr: %d\n\r",current->pid,0xffff & i); |
pid | 11 | lib/wait.c | _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) |