taglinefilesource code
pid442drivers/char/tty_io.cextern int kill_proc(int pid, int sig, int priv);
pid453drivers/char/vt.cvt_cons[console].vt_pid = current->pid;
pid1484drivers/net/ppp.cppp->inp_sig_pid = current->pid;
pid74fs/locks.cflock.l_pid = fl->fl_owner->pid;
pid169fs/proc/array.cstatic struct task_struct ** get_task(pid_t pid)
pid175fs/proc/array.cif (*p && (*p)->pid == pid)
pid233fs/proc/array.cstatic int get_env(int pid, char * buffer)
pid235fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid242fs/proc/array.cstatic int get_arg(int pid, char * buffer)
pid244fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid278fs/proc/array.cstatic int get_stat(int pid, char * buffer)
pid280fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid316fs/proc/array.cpid,
pid319fs/proc/array.c(*p)->p_pptr->pid,
pid355fs/proc/array.cstatic int get_statm(int pid, char * buffer)
pid357fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid402fs/proc/array.cstatic int get_maps(int pid, char *buf)
pid405fs/proc/array.cstruct task_struct **p = get_task(pid);
pid476fs/proc/array.cunsigned int type, pid;
pid483fs/proc/array.cpid = type >> 16;
pid499fs/proc/array.clength = get_env(pid, page);
pid502fs/proc/array.clength = get_arg(pid, page);
pid505fs/proc/array.clength = get_stat(pid, page);
pid508fs/proc/array.clength = get_statm(pid, page);
pid519fs/proc/array.clength = get_maps(pid, page);
pid95fs/proc/base.cunsigned int pid, ino;
pid106fs/proc/base.cpid = ino >> 16;
pid117fs/proc/base.cino = (pid << 16) + base_dir[i].low_ino;
pid119fs/proc/base.cif (task[i] && task[i]->pid == pid)
pid121fs/proc/base.cif (!pid || i >= NR_TASKS) {
pid137fs/proc/base.cunsigned int pid, ino;
pid143fs/proc/base.cpid = ino >> 16;
pid145fs/proc/base.cif (task[i] && task[i]->pid == pid)
pid147fs/proc/base.cif (!pid || i >= NR_TASKS)
pid155fs/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) {
pid80fs/proc/root.cunsigned int pid, c;
pid100fs/proc/root.cino = (current->pid << 16) + 2;
pid102fs/proc/root.cpid = 0;
pid107fs/proc/root.cpid = 0;
pid110fs/proc/root.cpid *= 10;
pid111fs/proc/root.cpid += c;
pid112fs/proc/root.cif (pid & 0xffff0000) {
pid113fs/proc/root.cpid = 0;
pid118fs/proc/root.cif (task[i] && task[i]->pid == pid)
pid120fs/proc/root.cif (!pid || i >= NR_TASKS) {
pid124fs/proc/root.cino = (pid << 16) + 2;
pid138fs/proc/root.cunsigned int nr,pid;
pid163fs/proc/root.cif (!p || !(pid = p->pid))
pid165fs/proc/root.cif (pid & 0xffff0000)
pid169fs/proc/root.cwhile (pid >= j) {
pid174fs/proc/root.cput_fs_long((pid << 16)+2, &dirent->d_ino);
pid178fs/proc/root.cput_fs_byte('0'+(pid % 10), i+dirent->d_name);
pid179fs/proc/root.cpid /= 10;
pid50include/linux/kernel.hextern int kill_proc(int pid, int sig, int priv);
pid267include/linux/sched.hint pid,pgrp,session,leader;
pid59init/main.cstatic inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid499init/main.cint pid,i;
pid512init/main.cif (!(pid=fork())) {
pid519init/main.cif (pid>0)
pid520init/main.cwhile (pid != wait(&i))
pid523init/main.cif ((pid = fork()) < 0) {
pid527init/main.cif (!pid) {
pid536init/main.cif (pid == wait(&i))
pid538init/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;
pid111ipc/shm.cshp->shm_cpid = current->pid;
pid517ipc/shm.cshp->shm_lpid = current->pid;
pid549ipc/shm.cshp->shm_lpid = current->pid;
pid626ipc/shm.cshp->shm_lpid = current->pid;
pid141kernel/exit.ctask[i]->pid);
pid144kernel/exit.ctask[i]->pid);
pid147kernel/exit.ctask[i]->pid);
pid150kernel/exit.ctask[i]->pid);
pid153kernel/exit.ctask[i]->pid);
pid156kernel/exit.ctask[i]->pid);
pid159kernel/exit.ctask[i]->pid);
pid162kernel/exit.ctask[i]->pid);
pid167kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
pid168kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
pid172kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid);
pid178kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
pid179kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
pid183kernel/exit.ctask[i]->pid, task[i]->p_ysptr->pid);
pid189kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
pid193kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
pid215kernel/exit.cif (p->pid == pgrp)
pid268kernel/exit.cint kill_proc(int pid, int sig, int priv)
pid275kernel/exit.cif (p && p->pid == pid)
pid285kernel/exit.casmlinkage int sys_kill(int pid,int sig)
pid289kernel/exit.cif (!pid)
pid291kernel/exit.cif (pid == -1) {
pid294kernel/exit.cif (p->pid > 1 && p != current) {
pid302kernel/exit.cif (pid < 0) 
pid303kernel/exit.creturn(kill_pg(-pid,sig,0));
pid305kernel/exit.creturn(kill_proc(pid,sig,0));
pid323kernel/exit.c(p->p_pptr->pid == 1))
pid514kernel/exit.casmlinkage int sys_wait4(pid_t pid,unsigned long * stat_addr, int options, struct rusage * ru)
pid529kernel/exit.cif (pid>0) {
pid530kernel/exit.cif (p->pid != pid)
pid532kernel/exit.c} else if (!pid) {
pid535kernel/exit.c} else if (pid != -1) {
pid536kernel/exit.cif (p->pgrp != -pid)
pid555kernel/exit.cretval = p->pid;
pid564kernel/exit.cflag = p->pid;
pid605kernel/exit.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options)
pid607kernel/exit.creturn sys_wait4(pid, stat_addr, options, NULL);
pid59kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid ||
pid194kernel/fork.cp->pid = last_pid;
pid258kernel/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))
pid271kernel/ptrace.casmlinkage int sys_ptrace(long request, long pid, long addr, long data)
pid287kernel/ptrace.cif (pid == 1)    /* you may not mess with init */
pid289kernel/ptrace.cif (!(child = get_task(pid)))
pid715kernel/sched.creturn current->pid;
pid720kernel/sched.creturn current->p_opptr->pid;
pid776kernel/sched.cprintk("%5lu %5d %6d ", free << 2, p->pid, p->p_pptr->pid);
pid778kernel/sched.cprintk("%5d ", p->p_cptr->pid);
pid782kernel/sched.cprintk("%7d", p->p_ysptr->pid);
pid786kernel/sched.cprintk(" %5d\n", p->p_osptr->pid);
pid189kernel/signal.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options);
pid333kernel/signal.cif (current->pid == 1)
pid42kernel/sys.cif (current->pid != 0)
pid64kernel/sys.creturn(p->pid == who);
pid431kernel/sys.casmlinkage int sys_setpgid(pid_t pid, pid_t pgid)
pid435kernel/sys.cif (!pid)
pid436kernel/sys.cpid = current->pid;
pid438kernel/sys.cpgid = pid;
pid442kernel/sys.cif (p->pid == pid)
pid457kernel/sys.cif (pgid != pid) {
pid472kernel/sys.casmlinkage int sys_getpgid(pid_t pid)
pid476kernel/sys.cif (!pid)
pid479kernel/sys.cif (p->pid == pid)
pid495kernel/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)
pid360net/inet/af_inet.ccurrent->pid != arg) return(-EPERM);