taglinefilesource code
pid351drivers/char/tty_io.cextern int kill_proc(int pid, int sig, int priv);
pid442drivers/char/vt.cvt_cons[console].vt_pid = current->pid;
pid74fs/locks.cflock.l_pid = fl->fl_owner->pid;
pid151fs/proc/array.cstatic struct task_struct ** get_task(pid_t pid)
pid157fs/proc/array.cif (*p && (*p)->pid == pid)
pid210fs/proc/array.cstatic int get_env(int pid, char * buffer)
pid212fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid219fs/proc/array.cstatic int get_arg(int pid, char * buffer)
pid221fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid255fs/proc/array.cstatic int get_stat(int pid, char * buffer)
pid257fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid294fs/proc/array.cpid,
pid297fs/proc/array.c(*p)->p_pptr->pid,
pid333fs/proc/array.cstatic int get_statm(int pid, char * buffer)
pid335fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid380fs/proc/array.cstatic int get_maps(int pid, char *buf)
pid383fs/proc/array.cstruct task_struct **p = get_task(pid);
pid451fs/proc/array.cunsigned int type, pid;
pid458fs/proc/array.cpid = type >> 16;
pid474fs/proc/array.clength = get_env(pid, page);
pid477fs/proc/array.clength = get_arg(pid, page);
pid480fs/proc/array.clength = get_stat(pid, page);
pid483fs/proc/array.clength = get_statm(pid, page);
pid494fs/proc/array.clength = get_maps(pid, page);
pid94fs/proc/base.cunsigned int pid, ino;
pid105fs/proc/base.cpid = ino >> 16;
pid116fs/proc/base.cino = (pid << 16) + base_dir[i].low_ino;
pid118fs/proc/base.cif (task[i] && task[i]->pid == pid)
pid120fs/proc/base.cif (!pid || i >= NR_TASKS) {
pid136fs/proc/base.cunsigned int pid, ino;
pid142fs/proc/base.cpid = ino >> 16;
pid144fs/proc/base.cif (task[i] && task[i]->pid == pid)
pid146fs/proc/base.cif (!pid || i >= NR_TASKS)
pid154fs/proc/base.cino |= (pid << 16);
pid56fs/proc/fd.cunsigned int ino, pid, fd, c;
pid63fs/proc/fd.cpid = ino >> 16;
pid69fs/proc/fd.cif (!pid || ino > 1 || !S_ISDIR(dir->i_mode)) {
pid79fs/proc/fd.cif (!(*result = iget(sb,(pid << 16)+2))) {
pid103fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
pid105fs/proc/fd.cif (!pid || i >= NR_TASKS)
pid110fs/proc/fd.cino = (pid << 16) + 0x100 + fd;
pid119fs/proc/fd.cino = (pid << 16) + 0x200 + fd;
pid130fs/proc/fd.cunsigned int fd, pid, ino;
pid136fs/proc/fd.cpid = ino >> 16;
pid159fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
pid185fs/proc/fd.cino = (pid << 16) + 0x100 + fd;
pid187fs/proc/fd.cino = (pid << 16) + 0x200 + fd;
pid76fs/proc/inode.cunsigned long ino, pid;
pid90fs/proc/inode.cpid = ino >> 16;
pid93fs/proc/inode.cif ((p = task[i]) && (p->pid == pid))
pid111fs/proc/inode.cif (!pid) {
pid44fs/proc/link.cunsigned int pid, ino;
pid58fs/proc/link.cpid = ino >> 16;
pid62fs/proc/link.cif ((p = task[i]) && p->pid == pid)
pid25fs/proc/mem.cunsigned long addr, pid, cr3;
pid32fs/proc/mem.cpid = inode->i_ino;
pid33fs/proc/mem.cpid >>= 16;
pid36fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
pid73fs/proc/mem.cunsigned long addr, pid, cr3;
pid81fs/proc/mem.cpid = inode->i_ino;
pid82fs/proc/mem.cpid >>= 16;
pid85fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
pid77fs/proc/root.cunsigned int pid, c;
pid97fs/proc/root.cino = (current->pid << 16) + 2;
pid99fs/proc/root.cpid = 0;
pid104fs/proc/root.cpid = 0;
pid107fs/proc/root.cpid *= 10;
pid108fs/proc/root.cpid += c;
pid109fs/proc/root.cif (pid & 0xffff0000) {
pid110fs/proc/root.cpid = 0;
pid115fs/proc/root.cif (task[i] && task[i]->pid == pid)
pid117fs/proc/root.cif (!pid || i >= NR_TASKS) {
pid121fs/proc/root.cino = (pid << 16) + 2;
pid135fs/proc/root.cunsigned int nr,pid;
pid160fs/proc/root.cif (!p || !(pid = p->pid))
pid162fs/proc/root.cif (pid & 0xffff0000)
pid166fs/proc/root.cwhile (pid >= j) {
pid171fs/proc/root.cput_fs_long((pid << 16)+2, &dirent->d_ino);
pid175fs/proc/root.cput_fs_byte('0'+(pid % 10), i+dirent->d_name);
pid176fs/proc/root.cpid /= 10;
pid48include/linux/kernel.hint kill_proc(int pid, int sig, int priv);
pid189include/linux/sched.hint pid,pgrp,session,leader;
pid59init/main.cstatic inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid482init/main.cint pid,i;
pid495init/main.cif (!(pid=fork())) {
pid502init/main.cif (pid>0)
pid503init/main.cwhile (pid != wait(&i))
pid506init/main.cif ((pid = fork()) < 0) {
pid510init/main.cif (!pid) {
pid519init/main.cif (pid == wait(&i))
pid521init/main.cprintf("\n\rchild %d died with code %04x\n\r",pid,i);
pid104ipc/msg.cmsq->msg_lspid = current->pid;
pid189ipc/msg.cmsq->msg_lrpid = current->pid;
pid435ipc/sem.ccurr->sempid = current->pid;
pid491ipc/sem.csem->sempid = current->pid;
pid110ipc/shm.cshp->shm_cpid = current->pid;
pid469ipc/shm.cshp->shm_lpid = current->pid;
pid501ipc/shm.cshp->shm_lpid = current->pid;
pid576ipc/shm.cshp->shm_lpid = current->pid;
pid136kernel/exit.ctask[i]->pid);
pid139kernel/exit.ctask[i]->pid);
pid142kernel/exit.ctask[i]->pid);
pid145kernel/exit.ctask[i]->pid);
pid148kernel/exit.ctask[i]->pid);
pid151kernel/exit.ctask[i]->pid);
pid154kernel/exit.ctask[i]->pid);
pid157kernel/exit.ctask[i]->pid);
pid162kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
pid163kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
pid167kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid);
pid173kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
pid174kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
pid178kernel/exit.ctask[i]->pid, task[i]->p_ysptr->pid);
pid184kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
pid188kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
pid210kernel/exit.cif (p->pid == pgrp)
pid263kernel/exit.cint kill_proc(int pid, int sig, int priv)
pid270kernel/exit.cif (p && p->pid == pid)
pid280kernel/exit.casmlinkage int sys_kill(int pid,int sig)
pid284kernel/exit.cif (!pid)
pid286kernel/exit.cif (pid == -1) {
pid289kernel/exit.cif (p->pid > 1 && p != current) {
pid297kernel/exit.cif (pid < 0) 
pid298kernel/exit.creturn(kill_pg(-pid,sig,0));
pid300kernel/exit.creturn(kill_proc(pid,sig,0));
pid318kernel/exit.c(p->p_pptr->pid == 1))
pid486kernel/exit.casmlinkage int sys_wait4(pid_t pid,unsigned long * stat_addr, int options, struct rusage * ru)
pid501kernel/exit.cif (pid>0) {
pid502kernel/exit.cif (p->pid != pid)
pid504kernel/exit.c} else if (!pid) {
pid507kernel/exit.c} else if (pid != -1) {
pid508kernel/exit.cif (p->pgrp != -pid)
pid527kernel/exit.cretval = p->pid;
pid536kernel/exit.cflag = p->pid;
pid577kernel/exit.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options)
pid579kernel/exit.creturn sys_wait4(pid, stat_addr, options, NULL);
pid59kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid ||
pid143kernel/fork.cp->pid = last_pid;
pid225kernel/fork.creturn p->pid;
pid36kernel/ptrace.cstatic inline struct task_struct * get_task(int pid)
pid41kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
pid237kernel/ptrace.casmlinkage int sys_ptrace(long request, long pid, long addr, long data)
pid253kernel/ptrace.cif (pid == 1)    /* you may not mess with init */
pid255kernel/ptrace.cif (!(child = get_task(pid)))
pid730kernel/sched.creturn current->pid;
pid735kernel/sched.creturn current->p_opptr->pid;
pid791kernel/sched.cprintk("%5lu %5d %6d ", free << 2, p->pid, p->p_pptr->pid);
pid793kernel/sched.cprintk("%5d ", p->p_cptr->pid);
pid797kernel/sched.cprintk("%7d", p->p_ysptr->pid);
pid801kernel/sched.cprintk(" %5d\n", p->p_osptr->pid);
pid212kernel/signal.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options);
pid353kernel/signal.cif (current->pid == 1)
pid39kernel/sys.creturn(p->pid == who);
pid473kernel/sys.casmlinkage int sys_setpgid(pid_t pid, pid_t pgid)
pid477kernel/sys.cif (!pid)
pid478kernel/sys.cpid = current->pid;
pid480kernel/sys.cpgid = pid;
pid484kernel/sys.cif (p->pid == pid)
pid499kernel/sys.cif (pgid != pid) {
pid514kernel/sys.casmlinkage int sys_getpgid(pid_t pid)
pid518kernel/sys.cif (!pid)
pid521kernel/sys.cif (p->pid == pid)
pid537kernel/sys.ccurrent->session = current->pgrp = current->pid;
pid107kernel/traps.ccurrent->comm, current->pid, 0xffff & i, current->kernel_stack_page);
pid11lib/wait.c_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid468net/inet/sock.ccurrent->pid != arg) return(-EPERM);