taglinefilesource code
pid29arch/alpha/kernel/process.cif (current->pid != 0)
pid131arch/alpha/kernel/process.cregs->r0 = p->pid;
pid21arch/alpha/kernel/signal.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options);
pid49arch/i386/kernel/process.cif (current->pid != 0)
pid38arch/i386/kernel/ptrace.cstatic inline struct task_struct * get_task(int pid)
pid43arch/i386/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
pid300arch/i386/kernel/ptrace.casmlinkage int sys_ptrace(long request, long pid, long addr, long data)
pid316arch/i386/kernel/ptrace.cif (pid == 1)    /* you may not mess with init */
pid318arch/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);
pid185arch/i386/kernel/signal.cif (current->pid == 1)
pid125arch/i386/kernel/traps.ccurrent->comm, current->pid, 0xffff & i, current->kernel_stack_page);
pid41arch/mips/kernel/process.cif (current->pid != 0)
pid36arch/mips/kernel/ptrace.cstatic inline struct task_struct * get_task(int pid)
pid41arch/mips/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
pid277arch/mips/kernel/ptrace.casmlinkage int sys_ptrace(long request, long pid, long addr, long data)
pid297arch/mips/kernel/ptrace.cif (pid == 1)    /* you may not mess with init */
pid299arch/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);
pid233arch/mips/kernel/signal.cif (current->pid == 1)
pid131arch/mips/kernel/traps.ccurrent->comm, current->pid, 0xffff & i,
pid33arch/sparc/kernel/process.cif (current->pid != 0)
pid21arch/sparc/kernel/signal.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options);
pid658drivers/block/floppy.cif (!current->pid)
pid1690drivers/block/floppy.cif (current->pid)
pid1231drivers/char/tty_io.cfilp->f_owner = current->pid;
pid622drivers/char/vt.cspawnpid = current->pid;
pid646drivers/char/vt.cvt_cons[console]->vt_pid = current->pid;
pid1495drivers/net/ppp.cppp->inp_sig_pid = current->pid;
pid2397drivers/scsi/53c7,8xx.chost->host_no, cmd->pid);
pid3072drivers/scsi/53c7,8xx.chost->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result);
pid3119drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->pid, (int) cmd->cmd->target,
pid591drivers/scsi/eata.cif (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid);
pid617drivers/scsi/eata.cprintk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid);
pid641drivers/scsi/eata.cBN(j), i, SCpnt->target, SCpnt->pid);
pid675drivers/scsi/eata.cBN(j), SCpnt->target, SCpnt->pid);
pid695drivers/scsi/eata.cBN(j), SCarg->target, SCarg->pid);
pid701drivers/scsi/eata.cBN(j), i, SCarg->target, SCarg->pid);
pid753drivers/scsi/eata.cBN(j), SCarg->target, SCarg->pid);
pid756drivers/scsi/eata.cprintk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid);
pid787drivers/scsi/eata.cBN(j), i, SCpnt->pid);
pid836drivers/scsi/eata.cBN(j), i, SCpnt->pid);
pid934drivers/scsi/eata.cBN(j), i, SCpnt->pid, SCpnt);
pid938drivers/scsi/eata.c" irq %d.\n", BN(j), i, SCpnt->pid, 
pid976drivers/scsi/eata.cSCpnt->target, SCpnt->lun, SCpnt->pid,
pid1034drivers/scsi/eata.cSCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount);
pid182drivers/scsi/eata_dma.cirq, base, cmd->pid, cmd->target, cmd->lun, 
pid328drivers/scsi/eata_dma.ccmd->pid, cmd->target, cmd->lun, y));
pid390drivers/scsi/eata_dma.ccmd->target, cmd->pid);
pid396drivers/scsi/eata_dma.c(long)sh->base, cmd->pid, cmd->target, cmd->lun, y, sh->irq));
pid432drivers/scsi/eata_dma.ccmd->pid, cmd->target, cmd->lun, cmd->abort_reason));
pid480drivers/scsi/eata_dma.ccmd->pid, cmd->target, cmd->lun, cmd->abort_reason));
pid513drivers/scsi/eata_dma.cprintk("eata_reset: slot %d in reset, pid %ld.\n", x, sp->pid);
pid555drivers/scsi/eata_dma.cx, sp->pid);
pid49drivers/scsi/scsi.cstatic void scsi_times_out (Scsi_Cmnd * SCpnt, int pid);
pid641drivers/scsi/scsi.cstatic void scsi_times_out (Scsi_Cmnd * SCpnt, int pid)
pid653drivers/scsi/scsi.cif (!scsi_abort  (SCpnt, DID_TIME_OUT, pid))
pid1011drivers/scsi/scsi.cSCpnt->pid = scsi_pid++;
pid1525drivers/scsi/scsi.cint scsi_abort (Scsi_Cmnd * SCpnt, int why, int pid)
pid1540drivers/scsi/scsi.cif (SCpnt->request.dev == -1 || pid != SCpnt->pid) {
pid1570drivers/scsi/scsi.cSCpnt->pid, SCpnt->host->host_no, (int) SCpnt->target, (int)
pid1573drivers/scsi/scsi.cif (SCpnt->request.dev == -1 || pid != SCpnt->pid)
pid1657drivers/scsi/scsi.cscsi_abort(SCpnt1, DID_RESET, SCpnt->pid);
pid1724drivers/scsi/scsi.cint timed_out, pid;
pid1745drivers/scsi/scsi.cpid = SCpnt->pid;
pid1747drivers/scsi/scsi.cscsi_times_out(SCpnt, pid);
pid508drivers/scsi/scsi.hunsigned long pid;    /* Process ID, starts at 0 */
pid517drivers/scsi/scsi.hextern int scsi_abort (Scsi_Cmnd *, int code, int pid);
pid535drivers/scsi/u14-34f.cif (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid);
pid561drivers/scsi/u14-34f.cprintk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid);
pid576drivers/scsi/u14-34f.cBN(j), i, SCpnt->target, SCpnt->pid);
pid602drivers/scsi/u14-34f.cBN(j), SCpnt->target, SCpnt->pid);
pid628drivers/scsi/u14-34f.cBN(j), SCarg->target, SCarg->pid);
pid634drivers/scsi/u14-34f.cBN(j), i, SCarg->target, SCarg->pid);
pid686drivers/scsi/u14-34f.cBN(j), SCarg->target, SCarg->pid);
pid689drivers/scsi/u14-34f.cprintk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid);
pid720drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid);
pid770drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid);
pid870drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid, SCpnt);
pid874drivers/scsi/u14-34f.c" irq %d.\n", BN(j), i, SCpnt->pid, 
pid912drivers/scsi/u14-34f.cSCpnt->target, SCpnt->lun, SCpnt->pid,
pid971drivers/scsi/u14-34f.cSCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount);
pid142fs/fcntl.cif (current->pgrp == -arg || current->pid == arg)
pid146fs/fcntl.cif ((p->pid == arg) || (p->pid == -arg) || 
pid78fs/locks.cflock.l_pid = fl->fl_owner->pid;
pid157fs/locks.cif (locks_deadlocked(file_lock.fl_owner->pid,fl->fl_owner->pid))
pid190fs/locks.cif (fl->fl_owner->pid != my_pid) continue;
pid195fs/locks.cif (dlock_wait->task->pid == blocked_pid)
pid197fs/locks.cret_val = locks_deadlocked(dlock_wait->task->pid,blocked_pid);
pid326fs/proc/array.cstatic struct task_struct ** get_task(pid_t pid)
pid332fs/proc/array.cif (*p && (*p)->pid == pid)
pid401fs/proc/array.cstatic int get_env(int pid, char * buffer)
pid403fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid410fs/proc/array.cstatic int get_arg(int pid, char * buffer)
pid412fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid448fs/proc/array.cstatic int get_stat(int pid, char * buffer)
pid450fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid486fs/proc/array.cpid,
pid489fs/proc/array.c(*p)->p_pptr->pid,
pid598fs/proc/array.cstatic int get_statm(int pid, char * buffer)
pid600fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid657fs/proc/array.cstatic int read_maps (int pid, struct file * file, char * buf, int count)
pid659fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid811fs/proc/array.cstatic int get_process_array(char * page, int pid, int type)
pid815fs/proc/array.creturn get_env(pid, page);
pid817fs/proc/array.creturn get_arg(pid, page);
pid819fs/proc/array.creturn get_stat(pid, page);
pid821fs/proc/array.creturn get_statm(pid, page);
pid827fs/proc/array.cstatic inline int fill_array(char * page, int pid, int type)
pid829fs/proc/array.cif (pid)
pid830fs/proc/array.creturn get_process_array(page, pid, type);
pid839fs/proc/array.cunsigned int type, pid;
pid846fs/proc/array.cpid = type >> 16;
pid848fs/proc/array.clength = fill_array((char *) page, pid, type);
pid899fs/proc/array.cunsigned int pid = inode->i_ino >> 16;
pid907fs/proc/array.creturn read_maps(pid, file, buf, count);
pid85fs/proc/base.cunsigned int pid, ino;
pid96fs/proc/base.cpid = ino >> 16;
pid107fs/proc/base.cino = (pid << 16) + base_dir[i].low_ino;
pid109fs/proc/base.cif (task[i] && task[i]->pid == pid)
pid111fs/proc/base.cif (!pid || i >= NR_TASKS) {
pid127fs/proc/base.cunsigned int pid, ino;
pid133fs/proc/base.cpid = ino >> 16;
pid135fs/proc/base.cif (task[i] && task[i]->pid == pid)
pid137fs/proc/base.cif (!pid || i >= NR_TASKS)
pid145fs/proc/base.cino |= (pid << 16);
pid56fs/proc/fd.cunsigned int ino, pid, fd, c;
pid63fs/proc/fd.cpid = ino >> 16;
pid68fs/proc/fd.cif (!pid || ino != PROC_PID_FD || !S_ISDIR(dir->i_mode)) {
pid78fs/proc/fd.cif (!(*result = iget(sb,(pid << 16)+PROC_PID_INO))) {
pid102fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
pid104fs/proc/fd.cif (!pid || i >= NR_TASKS)
pid110fs/proc/fd.cino = (pid << 16) + (PROC_PID_FD_DIR << 8) + fd;
pid121fs/proc/fd.cunsigned int fd, pid, ino;
pid127fs/proc/fd.cpid = ino >> 16;
pid149fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
pid166fs/proc/fd.cino = (pid << 16) + (PROC_PID_FD_DIR << 8) + fd;
pid111fs/proc/inode.cunsigned long ino, pid;
pid125fs/proc/inode.cpid = ino >> 16;
pid128fs/proc/inode.cif ((p = task[i]) && (p->pid == pid))
pid166fs/proc/inode.cif (!pid) {
pid68fs/proc/link.cunsigned int pid, ino;
pid80fs/proc/link.cpid = ino >> 16;
pid84fs/proc/link.cif ((p = task[i]) && p->pid == pid)
pid104fs/proc/link.cunsigned int pid, ino;
pid119fs/proc/link.cpid = ino >> 16;
pid122fs/proc/link.cif ((p = task[i]) && p->pid == pid)
pid34fs/proc/mem.cunsigned long addr, pid;
pid40fs/proc/mem.cpid = inode->i_ino;
pid41fs/proc/mem.cpid >>= 16;
pid44fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
pid96fs/proc/mem.cunsigned long addr, pid;
pid103fs/proc/mem.cpid = inode->i_ino;
pid104fs/proc/mem.cpid >>= 16;
pid107fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
pid189fs/proc/mem.cif (task[i] && task[i]->pid == (inode->i_ino >> 16)) {
pid90fs/proc/root.cunsigned int pid, c;
pid110fs/proc/root.cino = (current->pid << 16) + 2;
pid112fs/proc/root.cpid = 0;
pid117fs/proc/root.cpid = 0;
pid120fs/proc/root.cpid *= 10;
pid121fs/proc/root.cpid += c;
pid122fs/proc/root.cif (pid & 0xffff0000) {
pid123fs/proc/root.cpid = 0;
pid128fs/proc/root.cif (task[i] && task[i]->pid == pid)
pid130fs/proc/root.cif (!pid || i >= NR_TASKS) {
pid134fs/proc/root.cino = (pid << 16) + 2;
pid148fs/proc/root.cunsigned int nr,pid;
pid173fs/proc/root.cif (!p || !(pid = p->pid))
pid175fs/proc/root.cif (pid & 0xffff0000)
pid179fs/proc/root.cwhile (pid >= j) {
pid184fs/proc/root.cput_fs_long((pid << 16)+2, &dirent->d_ino);
pid188fs/proc/root.cput_fs_byte('0'+(pid % 10), i+dirent->d_name);
pid189fs/proc/root.cpid /= 10;
pid39fs/umsdos/namei.c&& dir->u.umsdos_i.u.dir_info.pid != current->pid){
pid93fs/umsdos/namei.cdir->u.umsdos_i.u.dir_info.pid = current->pid;
pid112fs/umsdos/namei.cdir1->u.umsdos_i.u.dir_info.pid = current->pid;
pid114fs/umsdos/namei.cdir2->u.umsdos_i.u.dir_info.pid = current->pid;
pid240fs/umsdos/namei.c,info.fake.fname,current->pid,info.f_pos));
pid267fs/umsdos/namei.c,info.fake.fname,-ret,current->pid,info.f_pos);
pid54include/asm-alpha/unistd.hprintk("[%d]fork()\n",current->pid);
pid61include/asm-alpha/unistd.hprintk("[%d]idle()\n",current->pid);
pid71include/asm-alpha/unistd.hprintk("[%d]setup()\n",current->pid);
pid73include/asm-alpha/unistd.hprintk("[%d]setup() returned %d\n",current->pid, retval);
pid80include/asm-alpha/unistd.hprintk("[%d]open(%s,%d,%d)\n",current->pid, name, mode, flags);
pid82include/asm-alpha/unistd.hprintk("[%d]open(%s,%d,%d)=%d\n",current->pid, name, mode, flags, fd);
pid90include/asm-alpha/unistd.hprintk("[%d]dup(%d)=%d\n",current->pid, fd, newfd);
pid96include/asm-alpha/unistd.hprintk("[%d]close(%d)\n",current->pid,fd);
pid103include/asm-alpha/unistd.hprintk("[%d]_exit(%d)\n", current->pid, value);
pid119include/asm-alpha/unistd.hprintk("[%d]read(%d,%s,%d)=%d\n",current->pid, fd, buf, nr, res);
pid123include/asm-alpha/unistd.h#define execve(x,y,z)  ({ printk("[%d]execve(%s,%p,%p)\n",current->pid, x, y, z); -1; })
pid125include/asm-alpha/unistd.h#define setsid()  ({ printk("[%d]setsid()\n",current->pid); -1; })
pid126include/asm-alpha/unistd.h#define sync()    ({ printk("[%d]sync()\n",current->pid); -1; })
pid132include/asm-alpha/unistd.hprintk("[%d]wait(%p)\n", current->pid, wait_stat);
pid134include/asm-alpha/unistd.hprintk("[%d]wait(%p) returned %ld\n", current->pid, wait_stat, retval);
pid114include/asm-i386/unistd.hstatic inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid154include/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);
pid158include/linux/sched.hint pid,pgrp,tty_old_pgrp,session,leader;
pid89include/linux/sem.hint        pid;   /* process id of requesting process */
pid53include/linux/umsdos_fs_i.hlong pid;        /* pid of the process owning the creation */
pid123include/linux/umsdos_fs_i.hlong pid;        /* pid of the process owning the creation */
pid420init/main.cint pid,i;
pid449init/main.cif (!(pid=fork())) {
pid456init/main.cif (pid>0)
pid457init/main.cwhile (pid != wait(&i))
pid460init/main.cif ((pid = fork()) < 0) {
pid464init/main.cif (!pid) {
pid473init/main.cif (pid == wait(&i))
pid475init/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;
pid117ipc/shm.cshp->shm_cpid = current->pid;
pid398ipc/shm.cshmd->vm_task->pid, shmd->vm_start, shmd->vm_end,
pid529ipc/shm.cshp->shm_lpid = current->pid;
pid551ipc/shm.cshp->shm_lpid = current->pid;
pid571ipc/shm.cshp->shm_lpid = current->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);
pid158kernel/exit.ctask[i]->pid);
pid161kernel/exit.ctask[i]->pid);
pid166kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
pid167kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
pid171kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid);
pid177kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
pid178kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
pid182kernel/exit.ctask[i]->pid, task[i]->p_ysptr->pid);
pid188kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
pid192kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
pid214kernel/exit.cif (p->pid == pgrp)
pid267kernel/exit.cint kill_proc(int pid, int sig, int priv)
pid274kernel/exit.cif (p && p->pid == pid)
pid284kernel/exit.casmlinkage int sys_kill(int pid,int sig)
pid288kernel/exit.cif (!pid)
pid290kernel/exit.cif (pid == -1) {
pid293kernel/exit.cif (p->pid > 1 && p != current) {
pid301kernel/exit.cif (pid < 0) 
pid302kernel/exit.creturn(kill_pg(-pid,sig,0));
pid304kernel/exit.creturn(kill_proc(pid,sig,0));
pid322kernel/exit.c(p->p_pptr->pid == 1))
pid481kernel/exit.casmlinkage int sys_wait4(pid_t pid,unsigned long * stat_addr, int options, struct rusage * ru)
pid496kernel/exit.cif (pid>0) {
pid497kernel/exit.cif (p->pid != pid)
pid499kernel/exit.c} else if (!pid) {
pid502kernel/exit.c} else if (pid != -1) {
pid503kernel/exit.cif (p->pgrp != -pid)
pid522kernel/exit.cretval = p->pid;
pid531kernel/exit.cflag = p->pid;
pid572kernel/exit.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options)
pid574kernel/exit.creturn sys_wait4(pid, stat_addr, options, NULL);
pid50kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid ||
pid192kernel/fork.cp->pid = last_pid;
pid220kernel/fork.creturn p->pid;
pid677kernel/sched.creturn current->pid;
pid682kernel/sched.creturn current->p_opptr->pid;
pid740kernel/sched.cprintk("%5lu %5d %6d ", free << 2, p->pid, p->p_pptr->pid);
pid742kernel/sched.cprintk("%5d ", p->p_cptr->pid);
pid746kernel/sched.cprintk("%7d", p->p_ysptr->pid);
pid750kernel/sched.cprintk(" %5d\n", p->p_osptr->pid);
pid44kernel/sys.creturn(p->pid == who);
pid454kernel/sys.casmlinkage int sys_setpgid(pid_t pid, pid_t pgid)
pid458kernel/sys.cif (!pid)
pid459kernel/sys.cpid = current->pid;
pid461kernel/sys.cpgid = pid;
pid465kernel/sys.cif (p->pid == pid)
pid480kernel/sys.cif (pgid != pid) {
pid495kernel/sys.casmlinkage int sys_getpgid(pid_t pid)
pid499kernel/sys.cif (!pid)
pid502kernel/sys.cif (p->pid == pid)
pid518kernel/sys.ccurrent->session = current->pgrp = current->pid;
pid11lib/wait.c_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid400net/inet/af_inet.ccurrent->pid != arg) return(-EPERM);