taglinefilesource code
pid153arch/alpha/kernel/osf_sys.c(&regs)->r20 = current->p_opptr->pid;
pid154arch/alpha/kernel/osf_sys.creturn current->pid;
pid43arch/alpha/kernel/process.cif (current->pid != 0)
pid110arch/alpha/kernel/ptrace.cstatic inline struct task_struct * get_task(int pid)
pid115arch/alpha/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
pid486arch/alpha/kernel/ptrace.casmlinkage long sys_ptrace(long request, long pid, long addr, long data,
pid495arch/alpha/kernel/ptrace.crequest, pid, addr, data));
pid504arch/alpha/kernel/ptrace.cif (pid == 1)    /* you may not mess with init */
pid506arch/alpha/kernel/ptrace.cif (!(child = get_task(pid)))
pid22arch/alpha/kernel/signal.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options);
pid260arch/alpha/kernel/signal.cif (current->pid == 1)
pid28arch/alpha/kernel/traps.cprintk("%s(%d): %s %ld\n", current->comm, current->pid, str, err);
pid257arch/alpha/kernel/traps.ccurrent->comm, current->pid,
pid94arch/i386/kernel/process.cif (current->pid != 0)
pid131arch/i386/kernel/process.cif(current->pid != 0)
pid37arch/i386/kernel/ptrace.cstatic inline struct task_struct * get_task(int pid)
pid42arch/i386/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
pid298arch/i386/kernel/ptrace.casmlinkage int sys_ptrace(long request, long pid, long addr, long data)
pid314arch/i386/kernel/ptrace.cif (pid == 1)    /* you may not mess with init */
pid316arch/i386/kernel/ptrace.cif (!(child = get_task(pid)))
pid22arch/i386/kernel/signal.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options);
pid186arch/i386/kernel/signal.cif (current->pid == 1)
pid817arch/i386/kernel/smp.cif (current->pid) 
pid831arch/i386/kernel/smp.cif(current->pid)
pid834arch/i386/kernel/smp.cif (prof_buffer && current->pid) {
pid880arch/i386/kernel/smp.cif ( 0 > --current->counter || current->pid == 0) 
pid127arch/i386/kernel/traps.ccurrent->comm, current->pid, 0xffff & i, current->kernel_stack_page);
pid132arch/mips/kernel/process.cregs->reg2 = p->pid;
pid37arch/mips/kernel/ptrace.cstatic inline struct task_struct * get_task(int pid)
pid42arch/mips/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
pid276arch/mips/kernel/ptrace.casmlinkage int sys_ptrace(long request, long pid, long addr, long data)
pid296arch/mips/kernel/ptrace.cif (pid == 1)    /* you may not mess with init */
pid298arch/mips/kernel/ptrace.cif (!(child = get_task(pid)))
pid23arch/mips/kernel/signal.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options);
pid279arch/mips/kernel/signal.cif (current->pid == 1)
pid55arch/mips/kernel/syscall.cif (current->pid != 0)
pid107arch/mips/kernel/traps.ccurrent->comm, current->pid, current->kernel_stack_page);
pid191arch/mips/kernel/traps.cif(task[i] && task[i]->pid >= 2)
pid193arch/mips/kernel/traps.cprintk("Process %d\n", task[i]->pid);
pid257arch/mips/kernel/traps.cif(task[i] && task[i]->pid >= 2)
pid259arch/mips/kernel/traps.cprintk("Process %d\n", task[i]->pid);
pid63arch/ppc/kernel/process.cif (current->pid != 0)
pid21arch/ppc/kernel/signal.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options);
pid34arch/ppc/kernel/signal.cprintk("Task: %x[%d] - SIGSUSPEND at %x, Mask: %x\n", current, current->pid, regs->nip, set);  
pid143arch/ppc/kernel/signal.cif (current->pid == 1)
pid99arch/ppc/kernel/traps.cprintk("TASK = %x[%d] '%s'\n", current, current->pid, current->comm);
pid118arch/ppc/kernel/traps.cprintk("Task: %08X(%d), PC: %08X/%08X, Syscall: %3d, Result: %d\n", current, current->pid, regs->nip, regs->link, regs->gpr[0], regs->gpr[3]);
pid195arch/ppc/mm/fault.cregs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code);
pid213arch/ppc/mm/fault.cprintk("stack: gpr[1]=%x ip = %x; current=%x[%d]; mm=%x; mmap=%x; address = %x error_code = %x\n",regs->gpr[1],regs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code);
pid222arch/ppc/mm/fault.cprintk("stack2: gpr[1]=%x ip = %x; current=%x[%d]; mm=%x; mmap=%x; address = %x error_code = %x\n",regs->gpr[1],regs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code);
pid39arch/sparc/kernel/process.cif (current->pid != 0)
pid166arch/sparc/kernel/process.cchildregs->u_regs[UREG_I0] = current->pid;
pid24arch/sparc/kernel/signal.casmlinkage int sys_waitpid(pid_t pid, unsigned long *stat_addr, int options);
pid190arch/sparc/kernel/signal.ccurrent->comm, current->pid);
pid295arch/sparc/kernel/signal.cif(current->pid == 1)
pid772arch/sparc/kernel/sys_sunos.casmlinkage int sunos_setpgrp(pid_t pid, pid_t pgid)
pid775arch/sparc/kernel/sys_sunos.cif((!pid || pid == current->pid) &&
pid780arch/sparc/kernel/sys_sunos.creturn sys_setpgid(pid, pgid);
pid786arch/sparc/kernel/sys_sunos.casmlinkage int sunos_wait4(pid_t pid, unsigned int *stat_addr, int options, struct rusage *ru)
pid788arch/sparc/kernel/sys_sunos.creturn sys_wait4((pid ? pid : -1), stat_addr, options, ru);
pid27arch/sparc/kernel/traps.ccurrent->comm, current->pid,
pid236arch/sparc/mm/fault.ccurrent->pid, push);
pid297arch/sparc/mm/fault.ccurrent->comm, current->pid, regs->pc, regs->u_regs[UREG_FP]);
pid487arch/sparc/mm/sun4c.cif(tsk->pid == 0 || ctx != -1)
pid822drivers/cdrom/mcdx.cif (current->pid == 0) {        /* no sleep allowed */
pid1245drivers/cdrom/mcdx.cstuffp->lock = current->pid;
pid2349drivers/char/cyclades.cprintk("cyc: %d(%d): decrementing count to %d\n", __LINE__, current->pid, info->count - 1);
pid2421drivers/char/cyclades.cprintk("cyc: %d(%d): setting count to 0\n", __LINE__, current->pid);
pid2509drivers/char/cyclades.cprintk("cyc: %d(%d): decrementing count to %d\n", __LINE__, current->pid, info->count);
pid2569drivers/char/cyclades.cprintk("cyc: %d(%d): incrementing count to %d\n", __LINE__, current->pid, info->count);
pid2613drivers/char/cyclades.cprintk("cyc: %d(%d): incrementing count to %d\n", __LINE__, current->pid, info->count);
pid1303drivers/char/tty_io.cfilp->f_owner = current->pid;
pid674drivers/char/vt.cspawnpid = current->pid;
pid698drivers/char/vt.cvt_cons[console]->vt_pid = current->pid;
pid2138drivers/scsi/53c7,8xx.chost->host_no, c->pid);
pid2161drivers/scsi/53c7,8xx.chost->host_no, c->pid);
pid2987drivers/scsi/53c7,8xx.cevent->pid = c->pid;
pid2991drivers/scsi/53c7,8xx.cevent->pid = -1;
pid4452drivers/scsi/53c7,8xx.chost->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result);
pid4514drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->pid, (int) cmd->cmd->target,
pid5433drivers/scsi/53c7,8xx.ccmd->pid);
pid5458drivers/scsi/53c7,8xx.ccmd->pid);
pid5466drivers/scsi/53c7,8xx.cif (cache_pid == cmd->pid) 
pid5467drivers/scsi/53c7,8xx.cpanic ("scsi%d : bloody fetus %d\n", host->host_no, cmd->pid);
pid5469drivers/scsi/53c7,8xx.ccache_pid = cmd->pid;
pid5498drivers/scsi/53c7,8xx.chost->host_no, me->pid);
pid5523drivers/scsi/53c7,8xx.chost->host_no, cmd->pid);
pid5632drivers/scsi/53c7,8xx.cprintk ("scsi%d: lost command %ld\n", host->host_no, cmd->pid);
pid5873drivers/scsi/53c7,8xx.chost->host_no, cmd->pid);
pid5880drivers/scsi/53c7,8xx.chost->host_no, cmd->pid, cmd->target, cmd->lun);
pid6310drivers/scsi/53c7,8xx.cif (event.pid != -1) {
pid6311drivers/scsi/53c7,8xx.cprintk ("         event for pid %ld ", event.pid);
pid1056drivers/scsi/53c7,8xx.hunsigned long pid;    /* The SCSI PID which caused this 
pid2195drivers/scsi/BusLogic.cunsigned long CommandPID = Command->pid;
pid2244drivers/scsi/BusLogic.cCCB->Command == Command && Command->pid == CommandPID)
pid621drivers/scsi/eata.cif (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid);
pid647drivers/scsi/eata.cprintk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid);
pid671drivers/scsi/eata.cBN(j), i, SCpnt->target, SCpnt->pid);
pid705drivers/scsi/eata.cBN(j), SCpnt->target, SCpnt->pid);
pid725drivers/scsi/eata.cBN(j), SCarg->target, SCarg->pid);
pid732drivers/scsi/eata.cBN(j), i, SCarg->target, SCarg->pid);
pid784drivers/scsi/eata.cBN(j), SCarg->target, SCarg->pid);
pid787drivers/scsi/eata.cprintk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid);
pid818drivers/scsi/eata.cBN(j), i, SCpnt->pid);
pid867drivers/scsi/eata.cBN(j), i, SCpnt->pid);
pid965drivers/scsi/eata.cBN(j), i, SCpnt->pid, SCpnt);
pid969drivers/scsi/eata.c" irq %d.\n", BN(j), i, SCpnt->pid, 
pid1002drivers/scsi/eata.cSCpnt->target, SCpnt->lun, SCpnt->pid,
pid1060drivers/scsi/eata.cSCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount);
pid214drivers/scsi/eata_dma.c"%#.2x \n", irq, base, cmd->pid, cmd->target,
pid295drivers/scsi/eata_dma.ccmd->pid, eata_stat, hba_stat, scsi_stat, 
pid404drivers/scsi/eata_dma.ccmd->pid, cmd->target, cmd->lun, y));
pid514drivers/scsi/eata_dma.c"returning DID_BUS_BUSY\n",cmd->target, cmd->pid));
pid521drivers/scsi/eata_dma.c"slot %d irq %d\n", (s32)sh->base, cmd->pid, 
pid538drivers/scsi/eata_dma.c" reason %x\n", cmd->pid, cmd->target, cmd->lun, 
pid589drivers/scsi/eata_dma.c" reason %x\n", cmd->pid, cmd->target, cmd->lun, 
pid626drivers/scsi/eata_dma.cprintk("eata_reset: slot %d in reset, pid %ld.\n", x, sp->pid);
pid670drivers/scsi/eata_dma.cx, sp->pid);
pid321drivers/scsi/eata_pio.ccmd->pid, cmd->target, cmd->lun, y));
pid382drivers/scsi/eata_pio.c"DID_BUS_BUSY, done.\n", cmd->target, cmd->pid);
pid394drivers/scsi/eata_pio.c"slot %d irq %d\n", (long)sh->base, cmd->pid, 
pid411drivers/scsi/eata_pio.c" reason %x\n", cmd->pid, cmd->target, cmd->lun, 
pid460drivers/scsi/eata_pio.c"reason %x\n", cmd->pid, cmd->target, cmd->lun, 
pid484drivers/scsi/eata_pio.cprintk("eata_pio_reset: slot %d in reset, pid %ld.\n", x, sp->pid);
pid79drivers/scsi/scsi.cstatic void scsi_times_out (Scsi_Cmnd * SCpnt, int pid);
pid790drivers/scsi/scsi.cstatic void scsi_times_out (Scsi_Cmnd * SCpnt, int pid)
pid802drivers/scsi/scsi.cif (!scsi_abort (SCpnt, DID_TIME_OUT, pid))
pid806drivers/scsi/scsi.cSCpnt->host->host_no, SCpnt->pid);
pid1257drivers/scsi/scsi.cSCpnt->pid = scsi_pid++;
pid1756drivers/scsi/scsi.cint scsi_abort (Scsi_Cmnd * SCpnt, int why, int pid)
pid1771drivers/scsi/scsi.cif (SCpnt->request.rq_status == RQ_INACTIVE || pid != SCpnt->pid) {
pid1804drivers/scsi/scsi.cSCpnt->pid, SCpnt->host->host_no, (int) SCpnt->channel, 
pid1807drivers/scsi/scsi.cif (SCpnt->request.rq_status == RQ_INACTIVE || pid != SCpnt->pid)
pid1955drivers/scsi/scsi.cscsi_abort(SCpnt1, DID_RESET, SCpnt->pid);
pid2061drivers/scsi/scsi.cint timed_out, pid;
pid2082drivers/scsi/scsi.cpid = SCpnt->pid;
pid2084drivers/scsi/scsi.cscsi_times_out(SCpnt, pid);
pid422drivers/scsi/scsi.hunsigned long pid;       /* Process ID, starts at 0 */
pid431drivers/scsi/scsi.hextern int scsi_abort (Scsi_Cmnd *, int code, int pid);
pid575drivers/scsi/u14-34f.cif (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid);
pid601drivers/scsi/u14-34f.cprintk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid);
pid616drivers/scsi/u14-34f.cBN(j), i, SCpnt->target, SCpnt->pid);
pid642drivers/scsi/u14-34f.cBN(j), SCpnt->target, SCpnt->pid);
pid668drivers/scsi/u14-34f.cBN(j), SCarg->target, SCarg->pid);
pid675drivers/scsi/u14-34f.cBN(j), i, SCarg->target, SCarg->pid);
pid727drivers/scsi/u14-34f.cBN(j), SCarg->target, SCarg->pid);
pid730drivers/scsi/u14-34f.cprintk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid);
pid761drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid);
pid811drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid);
pid911drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid, SCpnt);
pid915drivers/scsi/u14-34f.c" irq %d.\n", BN(j), i, SCpnt->pid, 
pid948drivers/scsi/u14-34f.cSCpnt->target, SCpnt->lun, SCpnt->pid,
pid1007drivers/scsi/u14-34f.cSCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount);
pid1058fs/binfmt_elf.cpsinfo.pr_pid = prstatus.pr_pid = current->pid;
pid1059fs/binfmt_elf.cpsinfo.pr_ppid = prstatus.pr_ppid = current->p_pptr->pid;
pid132fs/fcntl.cif (current->pgrp == -arg || current->pid == arg)
pid136fs/fcntl.cif ((p->pid == arg) || (p->pid == -arg) || 
pid141fs/locks.cflock.l_pid = fl->fl_owner->pid;
pid513fs/ncpfs/sock.ch->task      = (current->pid) & 0xff;
pid549fs/ncpfs/sock.ch->task      = (current->pid) & 0xff;
pid574fs/ncpfs/sock.ch->task      = (current->pid) & 0xff;
pid302fs/proc/array.cstatic struct task_struct ** get_task(pid_t pid)
pid308fs/proc/array.cif (*p && (*p)->pid == pid)
pid377fs/proc/array.cstatic int get_env(int pid, char * buffer)
pid379fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid386fs/proc/array.cstatic int get_arg(int pid, char * buffer)
pid388fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid457fs/proc/array.cstatic int get_stat(int pid, char * buffer)
pid459fs/proc/array.cstruct task_struct ** p = get_task(pid), *tsk;
pid515fs/proc/array.cpid,
pid518fs/proc/array.ctsk->p_pptr->pid,
pid625fs/proc/array.cstatic int get_statm(int pid, char * buffer)
pid627fs/proc/array.cstruct task_struct ** p = get_task(pid), *tsk;
pid684fs/proc/array.cstatic int read_maps (int pid, struct file * file, char * buf, int count)
pid686fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid848fs/proc/array.cstatic int get_process_array(char * page, int pid, int type)
pid852fs/proc/array.creturn get_env(pid, page);
pid854fs/proc/array.creturn get_arg(pid, page);
pid856fs/proc/array.creturn get_stat(pid, page);
pid858fs/proc/array.creturn get_statm(pid, page);
pid864fs/proc/array.cstatic inline int fill_array(char * page, int pid, int type, char **start, off_t offset, int length)
pid866fs/proc/array.cif (pid)
pid867fs/proc/array.creturn get_process_array(page, pid, type);
pid879fs/proc/array.cunsigned int type, pid;
pid888fs/proc/array.cpid = type >> 16;
pid891fs/proc/array.clength = fill_array((char *) page, pid, type,
pid953fs/proc/array.cunsigned int pid = inode->i_ino >> 16;
pid961fs/proc/array.creturn read_maps(pid, file, buf, count);
pid55fs/proc/base.cint pid = inode->i_ino >> 16;
pid59fs/proc/base.cif (p->pid == pid) {
pid58fs/proc/fd.cunsigned int ino, pid, fd, c;
pid65fs/proc/fd.cpid = ino >> 16;
pid70fs/proc/fd.cif (!pid || ino != PROC_PID_FD || !S_ISDIR(dir->i_mode)) {
pid80fs/proc/fd.cif (!(*result = proc_get_inode(sb, (pid << 16)+PROC_PID_INO, &proc_pid))) {
pid104fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
pid106fs/proc/fd.cif (!pid || i >= NR_TASKS)
pid112fs/proc/fd.cino = (pid << 16) + (PROC_PID_FD_DIR << 8) + fd;
pid127fs/proc/fd.cunsigned int fd, pid, ino;
pid133fs/proc/fd.cpid = ino >> 16;
pid148fs/proc/fd.cif ((p = task[task_nr]) && p->pid == pid)
pid168fs/proc/fd.cino = (pid << 16) + (PROC_PID_FD_DIR << 8) + fd;
pid173fs/proc/fd.cif (p != task[task_nr] || p->pid != pid)
pid135fs/proc/inode.cunsigned long ino, pid;
pid149fs/proc/inode.cpid = ino >> 16;
pid152fs/proc/inode.cif ((p = task[i]) && (p->pid == pid))
pid165fs/proc/inode.cif (!pid) {
pid68fs/proc/link.cunsigned int pid, ino;
pid83fs/proc/link.cpid = ino >> 16;
pid86fs/proc/link.cif ((p = task[i]) && p->pid == pid)
pid60fs/proc/mem.cunsigned long addr, pid;
pid66fs/proc/mem.cpid = inode->i_ino;
pid67fs/proc/mem.cpid >>= 16;
pid70fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
pid125fs/proc/mem.cunsigned long addr, pid;
pid132fs/proc/mem.cpid = inode->i_ino;
pid133fs/proc/mem.cpid >>= 16;
pid136fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
pid218fs/proc/mem.cif (task[i] && task[i]->pid == (inode->i_ino >> 16)) {
pid176fs/proc/root.c*res_inode = proc_get_inode(inode->i_sb, (current->pid << 16) + PROC_PID_INO, &proc_pid);
pid189fs/proc/root.clen = 1 + sprintf(tmp, "%d", current->pid);
pid401fs/proc/root.cunsigned int pid, c;
pid411fs/proc/root.cpid = 0;
pid416fs/proc/root.cpid = 0;
pid419fs/proc/root.cpid *= 10;
pid420fs/proc/root.cpid += c;
pid421fs/proc/root.cif (pid & 0xffff0000) {
pid422fs/proc/root.cpid = 0;
pid427fs/proc/root.cif (task[i] && task[i]->pid == pid)
pid429fs/proc/root.cif (!pid || i >= NR_TASKS) {
pid433fs/proc/root.cino = (pid << 16) + PROC_PID_INO;
pid507fs/proc/root.cunsigned int nr,pid;
pid521fs/proc/root.cif (!p || !(pid = p->pid))
pid525fs/proc/root.ci = pid;
pid532fs/proc/root.cif (filldir(dirent, buf+j, NUMBUF-j, filp->f_pos, (pid << 16) + PROC_PID_INO) < 0)
pid236fs/smbfs/inode.cserver->pid = current->pid;
pid237fs/smbfs/inode.cserver->mid = current->pid + 20;
pid499fs/smbfs/proc.cWSET(buf, smb_pid, server->pid);
pid1754fs/smbfs/proc.cWSET(server->packet, smb_vwv4, server->pid);
pid1778fs/smbfs/proc.cWSET(server->packet, smb_vwv4, server->pid);
pid36fs/umsdos/namei.c&& dir->u.umsdos_i.u.dir_info.pid != current->pid){
pid90fs/umsdos/namei.cdir->u.umsdos_i.u.dir_info.pid = current->pid;
pid109fs/umsdos/namei.cdir1->u.umsdos_i.u.dir_info.pid = current->pid;
pid111fs/umsdos/namei.cdir2->u.umsdos_i.u.dir_info.pid = current->pid;
pid236fs/umsdos/namei.c,info.fake.fname,current->pid,info.f_pos));
pid263fs/umsdos/namei.c,info.fake.fname,-ret,current->pid,info.f_pos);
pid278include/asm-alpha/unistd.hstatic inline pid_t waitpid(int pid, int * wait_stat, int flags)
pid280include/asm-alpha/unistd.hreturn sys_waitpid(pid,wait_stat,flags);
pid282include/asm-i386/unistd.hstatic inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid1308include/asm-mips/unistd.hstatic inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid278include/asm-ppc/unistd.hstatic inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid411include/asm-sparc/unistd.hstatic inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid50include/linux/kernel.hextern int kill_proc(int pid, int sig, int priv);
pid191include/linux/sched.hint pid,pgrp,tty_old_pgrp,session,leader;
pid89include/linux/sem.hint        pid;   /* process id of requesting process */
pid30include/linux/smb_fs_sb.hword               pid;
pid53include/linux/umsdos_fs_i.hlong pid;        /* pid of the process owning the creation */
pid692init/main.cint pid,i;
pid733init/main.cpid = kernel_thread(do_rc, "/etc/rc", SIGCHLD);
pid734init/main.cif (pid>0)
pid735init/main.cwhile (pid != wait(&i))
pid740init/main.cpid = kernel_thread(do_shell,
pid743init/main.cif (pid < 0) {
pid748init/main.cif (pid == wait(&i))
pid750init/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;
pid217ipc/sem.cstruct sem_undo * un, int pid)
pid242ipc/sem.ccurr->sempid = pid;
pid271ipc/sem.cerror = do_semop(sma, q->sops, q->nsops, q->undo, q->pid);
pid617ipc/sem.cerror = do_semop(sma, sops, nsops, un, current->pid);
pid631ipc/sem.cqueue.pid = current->pid;
pid703ipc/sem.csem->sempid = current->pid;
pid116ipc/shm.cshp->shm_cpid = current->pid;
pid538ipc/shm.cshp->shm_lpid = current->pid;
pid560ipc/shm.cshp->shm_lpid = current->pid;
pid578ipc/shm.cshp->shm_lpid = current->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);
pid165kernel/exit.ctask[i]->pid);
pid170kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
pid171kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
pid175kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid);
pid181kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
pid182kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
pid186kernel/exit.ctask[i]->pid, task[i]->p_ysptr->pid);
pid192kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
pid196kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
pid218kernel/exit.cif (p->pid == pgrp)
pid271kernel/exit.cint kill_proc(int pid, int sig, int priv)
pid278kernel/exit.cif (p && p->pid == pid)
pid288kernel/exit.casmlinkage int sys_kill(int pid,int sig)
pid292kernel/exit.cif (!pid)
pid294kernel/exit.cif (pid == -1) {
pid297kernel/exit.cif (p->pid > 1 && p != current) {
pid305kernel/exit.cif (pid < 0) 
pid306kernel/exit.creturn(kill_pg(-pid,sig,0));
pid308kernel/exit.creturn(kill_proc(pid,sig,0));
pid326kernel/exit.c(p->p_pptr->pid == 1))
pid551kernel/exit.casmlinkage int sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struct rusage * ru)
pid571kernel/exit.cif (pid>0) {
pid572kernel/exit.cif (p->pid != pid)
pid574kernel/exit.c} else if (!pid) {
pid577kernel/exit.c} else if (pid != -1) {
pid578kernel/exit.cif (p->pgrp != -pid)
pid597kernel/exit.cretval = p->pid;
pid606kernel/exit.cretval = p->pid;
pid644kernel/exit.casmlinkage int sys_waitpid(pid_t pid,unsigned int * stat_addr, int options)
pid646kernel/exit.creturn sys_wait4(pid, stat_addr, options, NULL);
pid65kernel/fork.creturn current->pid;
pid70kernel/fork.cif (p->pid == last_pid ||
pid230kernel/fork.cp->pid = get_pid(clone_flags);
pid271kernel/fork.creturn p->pid;
pid321kernel/sched.cif(!current->pid && !next->pid)
pid792kernel/sched.cif (current->pid) {
pid805kernel/sched.cif(current->pid)
pid807kernel/sched.cif (prof_buffer && current->pid) {
pid834kernel/sched.cif (current->pid && 0 > --current->counter) {
pid879kernel/sched.creturn current->pid;
pid884kernel/sched.creturn current->p_opptr->pid;
pid941kernel/sched.cstatic struct task_struct *find_process_by_pid(pid_t pid) {
pid944kernel/sched.cif (pid == 0)
pid949kernel/sched.cif (q && q->pid == pid) {
pid958kernel/sched.cstatic int setscheduler(pid_t pid, int policy, 
pid965kernel/sched.cif (!param || pid < 0)
pid973kernel/sched.cp = find_process_by_pid(pid);
pid1005kernel/sched.casmlinkage int sys_sched_setscheduler(pid_t pid, int policy, 
pid1008kernel/sched.creturn setscheduler(pid, policy, param);
pid1011kernel/sched.casmlinkage int sys_sched_setparam(pid_t pid, struct sched_param *param)
pid1013kernel/sched.creturn setscheduler(pid, -1, param);
pid1016kernel/sched.casmlinkage int sys_sched_getscheduler(pid_t pid)
pid1020kernel/sched.cif (pid < 0)
pid1023kernel/sched.cp = find_process_by_pid(pid);
pid1030kernel/sched.casmlinkage int sys_sched_getparam(pid_t pid, struct sched_param *param)
pid1036kernel/sched.cif (!param || pid < 0)
pid1043kernel/sched.cp = find_process_by_pid(pid);
pid1085kernel/sched.casmlinkage int sys_sched_rr_get_interval(pid_t pid, struct timespec *interval)
pid1127kernel/sched.cprintk("%5lu %5d %6d ", free*sizeof(long), p->pid, p->p_pptr->pid);
pid1129kernel/sched.cprintk("%5d ", p->p_cptr->pid);
pid1133kernel/sched.cprintk("%7d", p->p_ysptr->pid);
pid1137kernel/sched.cprintk(" %5d\n", p->p_osptr->pid);
pid43kernel/sys.creturn(p->pid == who);
pid492kernel/sys.casmlinkage int sys_setpgid(pid_t pid, pid_t pgid)
pid496kernel/sys.cif (!pid)
pid497kernel/sys.cpid = current->pid;
pid499kernel/sys.cpgid = pid;
pid503kernel/sys.cif (p->pid == pid)
pid518kernel/sys.cif (pgid != pid) {
pid533kernel/sys.casmlinkage int sys_getpgid(pid_t pid)
pid537kernel/sys.cif (!pid)
pid540kernel/sys.cif (p->pid == pid)
pid551kernel/sys.casmlinkage int sys_getsid(pid_t pid)
pid555kernel/sys.cif (!pid)
pid558kernel/sys.cif (p->pid == pid)
pid569kernel/sys.ccurrent->session = current->pgrp = current->pid;
pid449mm/swap.cpid_t pid = tsk->pid;
pid452mm/swap.ckill_proc(pid, SIGBUS, 1);
pid133net/ax25/ax25_in.cunsigned char pid = *skb->data;
pid135net/ax25/ax25_in.cswitch (pid) {
pid159net/ax25/ax25_in.cif (ax25->sk != NULL && ax25_dev_get_value(ax25->device, AX25_VALUES_TEXT) && ax25->sk->protocol == pid) {
pid448net/ipv4/af_inet.ccurrent->pid != arg) return(-EPERM);
pid1212net/ipv4/af_inet.cint pid;
pid1221net/ipv4/af_inet.cpid = get_user((int *) arg);
pid1223net/ipv4/af_inet.cif (current->pid != pid && current->pgrp != -pid && !suser())
pid1225net/ipv4/af_inet.csk->proc = pid;