taglinefilesource code
pid440drivers/char/tty_io.cextern int kill_proc(int pid, int sig, int priv);
pid453drivers/char/vt.cvt_cons[console].vt_pid = current->pid;
pid1469drivers/net/ppp.cppp->inp_sig_pid = current->pid;
pid1880drivers/scsi/scsi.cSCpnt->request.waiting->pid : 0),
pid1901drivers/scsi/scsi.creq->waiting->pid : 0));
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);
pid475fs/proc/array.cunsigned int type, pid;
pid482fs/proc/array.cpid = type >> 16;
pid498fs/proc/array.clength = get_env(pid, page);
pid501fs/proc/array.clength = get_arg(pid, page);
pid504fs/proc/array.clength = get_stat(pid, page);
pid507fs/proc/array.clength = get_statm(pid, page);
pid518fs/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) {
pid79fs/proc/root.cunsigned int pid, c;
pid99fs/proc/root.cino = (current->pid << 16) + 2;
pid101fs/proc/root.cpid = 0;
pid106fs/proc/root.cpid = 0;
pid109fs/proc/root.cpid *= 10;
pid110fs/proc/root.cpid += c;
pid111fs/proc/root.cif (pid & 0xffff0000) {
pid112fs/proc/root.cpid = 0;
pid117fs/proc/root.cif (task[i] && task[i]->pid == pid)
pid119fs/proc/root.cif (!pid || i >= NR_TASKS) {
pid123fs/proc/root.cino = (pid << 16) + 2;
pid137fs/proc/root.cunsigned int nr,pid;
pid162fs/proc/root.cif (!p || !(pid = p->pid))
pid164fs/proc/root.cif (pid & 0xffff0000)
pid168fs/proc/root.cwhile (pid >= j) {
pid173fs/proc/root.cput_fs_long((pid << 16)+2, &dirent->d_ino);
pid177fs/proc/root.cput_fs_byte('0'+(pid % 10), i+dirent->d_name);
pid178fs/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)
pid493init/main.cint pid,i;
pid506init/main.cif (!(pid=fork())) {
pid513init/main.cif (pid>0)
pid514init/main.cwhile (pid != wait(&i))
pid517init/main.cif ((pid = fork()) < 0) {
pid521init/main.cif (!pid) {
pid530init/main.cif (pid == wait(&i))
pid532init/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;
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))
pid508kernel/exit.casmlinkage int sys_wait4(pid_t pid,unsigned long * stat_addr, int options, struct rusage * ru)
pid523kernel/exit.cif (pid>0) {
pid524kernel/exit.cif (p->pid != pid)
pid526kernel/exit.c} else if (!pid) {
pid529kernel/exit.c} else if (pid != -1) {
pid530kernel/exit.cif (p->pgrp != -pid)
pid549kernel/exit.cretval = p->pid;
pid558kernel/exit.cflag = p->pid;
pid599kernel/exit.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options)
pid601kernel/exit.creturn sys_wait4(pid, stat_addr, options, NULL);
pid59kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid ||
pid191kernel/fork.cp->pid = last_pid;
pid256kernel/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)))
pid698kernel/sched.creturn current->pid;
pid703kernel/sched.creturn current->p_opptr->pid;
pid759kernel/sched.cprintk("%5lu %5d %6d ", free << 2, p->pid, p->p_pptr->pid);
pid761kernel/sched.cprintk("%5d ", p->p_cptr->pid);
pid765kernel/sched.cprintk("%7d", p->p_ysptr->pid);
pid769kernel/sched.cprintk(" %5d\n", p->p_osptr->pid);
pid191kernel/signal.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options);
pid332kernel/signal.cif (current->pid == 1)
pid61kernel/sys.creturn(p->pid == who);
pid428kernel/sys.casmlinkage int sys_setpgid(pid_t pid, pid_t pgid)
pid432kernel/sys.cif (!pid)
pid433kernel/sys.cpid = current->pid;
pid435kernel/sys.cpgid = pid;
pid439kernel/sys.cif (p->pid == pid)
pid454kernel/sys.cif (pgid != pid) {
pid469kernel/sys.casmlinkage int sys_getpgid(pid_t pid)
pid473kernel/sys.cif (!pid)
pid476kernel/sys.cif (p->pid == pid)
pid492kernel/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)
pid356net/inet/af_inet.ccurrent->pid != arg) return(-EPERM);