taglinefilesource code
pid347drivers/char/tty_io.cextern int kill_proc(int pid, int sig, int priv);
pid425drivers/char/vt.cvt_cons[console].vt_pid = current->pid;
pid74fs/locks.cflock.l_pid = fl->fl_owner->pid;
pid123fs/proc/array.cstatic struct task_struct ** get_task(pid_t pid)
pid129fs/proc/array.cif (*p && (*p)->pid == pid)
pid182fs/proc/array.cstatic int get_env(int pid, char * buffer)
pid184fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid191fs/proc/array.cstatic int get_arg(int pid, char * buffer)
pid193fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid227fs/proc/array.cstatic int get_stat(int pid, char * buffer)
pid229fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid266fs/proc/array.cpid,
pid269fs/proc/array.c(*p)->p_pptr->pid,
pid305fs/proc/array.cstatic int get_statm(int pid, char * buffer)
pid307fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid352fs/proc/array.cstatic int get_maps(int pid, char *buf)
pid355fs/proc/array.cstruct task_struct **p = get_task(pid);
pid423fs/proc/array.cunsigned int type, pid;
pid430fs/proc/array.cpid = type >> 16;
pid446fs/proc/array.clength = get_env(pid, page);
pid449fs/proc/array.clength = get_arg(pid, page);
pid452fs/proc/array.clength = get_stat(pid, page);
pid455fs/proc/array.clength = get_statm(pid, page);
pid466fs/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;
pid89fs/proc/inode.cpid = ino >> 16;
pid92fs/proc/inode.cif ((p = task[i]) && (p->pid == pid))
pid110fs/proc/inode.cif (!pid) {
pid44fs/proc/link.cunsigned int pid, ino;
pid54fs/proc/link.cpid = ino >> 16;
pid58fs/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) {
pid76fs/proc/root.cunsigned int pid, c;
pid96fs/proc/root.cino = (current->pid << 16) + 2;
pid98fs/proc/root.cpid = 0;
pid103fs/proc/root.cpid = 0;
pid106fs/proc/root.cpid *= 10;
pid107fs/proc/root.cpid += c;
pid108fs/proc/root.cif (pid & 0xffff0000) {
pid109fs/proc/root.cpid = 0;
pid114fs/proc/root.cif (task[i] && task[i]->pid == pid)
pid116fs/proc/root.cif (!pid || i >= NR_TASKS) {
pid120fs/proc/root.cino = (pid << 16) + 2;
pid134fs/proc/root.cunsigned int nr,pid;
pid159fs/proc/root.cif (!p || !(pid = p->pid))
pid161fs/proc/root.cif (pid & 0xffff0000)
pid165fs/proc/root.cwhile (pid >= j) {
pid170fs/proc/root.cput_fs_long((pid << 16)+2, &dirent->d_ino);
pid174fs/proc/root.cput_fs_byte('0'+(pid % 10), i+dirent->d_name);
pid175fs/proc/root.cpid /= 10;
pid46include/linux/kernel.hint kill_proc(int pid, int sig, int priv);
pid188include/linux/sched.hint pid,pgrp,session,leader;
pid59init/main.cstatic inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid471init/main.cint pid,i;
pid484init/main.cif (!(pid=fork())) {
pid491init/main.cif (pid>0)
pid492init/main.cwhile (pid != wait(&i))
pid495init/main.cif ((pid = fork()) < 0) {
pid499init/main.cif (!pid) {
pid508init/main.cif (pid == wait(&i))
pid510init/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;
pid463ipc/shm.cshp->shm_lpid = current->pid;
pid493ipc/shm.cshp->shm_lpid = current->pid;
pid568ipc/shm.cshp->shm_lpid = current->pid;
pid134kernel/exit.ctask[i]->pid);
pid137kernel/exit.ctask[i]->pid);
pid140kernel/exit.ctask[i]->pid);
pid143kernel/exit.ctask[i]->pid);
pid146kernel/exit.ctask[i]->pid);
pid149kernel/exit.ctask[i]->pid);
pid152kernel/exit.ctask[i]->pid);
pid155kernel/exit.ctask[i]->pid);
pid160kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
pid161kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
pid165kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid);
pid171kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
pid172kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
pid176kernel/exit.ctask[i]->pid, task[i]->p_ysptr->pid);
pid182kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
pid186kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
pid208kernel/exit.cif (p->pid == pgrp)
pid261kernel/exit.cint kill_proc(int pid, int sig, int priv)
pid268kernel/exit.cif (p && p->pid == pid)
pid278kernel/exit.casmlinkage int sys_kill(int pid,int sig)
pid282kernel/exit.cif (!pid)
pid284kernel/exit.cif (pid == -1) {
pid287kernel/exit.cif (p->pid > 1 && p != current) {
pid295kernel/exit.cif (pid < 0) 
pid296kernel/exit.creturn(kill_pg(-pid,sig,0));
pid298kernel/exit.creturn(kill_proc(pid,sig,0));
pid316kernel/exit.c(p->p_pptr->pid == 1))
pid484kernel/exit.casmlinkage int sys_wait4(pid_t pid,unsigned long * stat_addr, int options, struct rusage * ru)
pid499kernel/exit.cif (pid>0) {
pid500kernel/exit.cif (p->pid != pid)
pid502kernel/exit.c} else if (!pid) {
pid505kernel/exit.c} else if (pid != -1) {
pid506kernel/exit.cif (p->pgrp != -pid)
pid525kernel/exit.cretval = p->pid;
pid534kernel/exit.cflag = p->pid;
pid575kernel/exit.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options)
pid577kernel/exit.creturn sys_wait4(pid, stat_addr, options, NULL);
pid59kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid ||
pid142kernel/fork.cp->pid = last_pid;
pid223kernel/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)))
pid705kernel/sched.creturn current->pid;
pid710kernel/sched.creturn current->p_opptr->pid;
pid762kernel/sched.cp->tss.esp - p->kernel_stack_page, p->pid, p->p_pptr->pid);
pid764kernel/sched.cprintk("%5d ", p->p_cptr->pid);
pid768kernel/sched.cprintk("%7d", p->p_ysptr->pid);
pid772kernel/sched.cprintk(" %5d\n", p->p_osptr->pid);
pid207kernel/signal.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options);
pid342kernel/signal.cif (current->pid == 1)
pid39kernel/sys.creturn(p->pid == who);
pid465kernel/sys.casmlinkage int sys_setpgid(pid_t pid, pid_t pgid)
pid469kernel/sys.cif (!pid)
pid470kernel/sys.cpid = current->pid;
pid472kernel/sys.cpgid = current->pid;
pid476kernel/sys.cif (task[i] && (task[i]->pid == pid) &&
pid483kernel/sys.c((pgid != pid) && 
pid492kernel/sys.casmlinkage int sys_getpgid(pid_t pid)
pid496kernel/sys.cif (!pid)
pid499kernel/sys.cif (p->pid == pid)
pid515kernel/sys.ccurrent->session = current->pgrp = current->pid;
pid97kernel/traps.cprintk("Pid: %d, process nr: %d (%s)\n", current->pid, 0xffff & i, current->comm);
pid11lib/wait.c_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid468net/inet/sock.ccurrent->pid != arg) return(-EPERM);
pid2868net/inet/tcp.cextern int kill_proc(int pid, int sig, int priv);