taglinefilesource code
pid29arch/alpha/kernel/process.cif (current->pid != 0)
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)
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))
pid277arch/i386/kernel/ptrace.casmlinkage int sys_ptrace(long request, long pid, long addr, long data)
pid293arch/i386/kernel/ptrace.cif (pid == 1)    /* you may not mess with init */
pid295arch/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);
pid656drivers/block/floppy.cif (!current->pid)
pid1688drivers/block/floppy.cif (current->pid)
pid1234drivers/char/tty_io.cfilp->f_owner = current->pid;
pid616drivers/char/vt.cspawnpid = current->pid;
pid640drivers/char/vt.cvt_cons[console]->vt_pid = current->pid;
pid1496drivers/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,
pid570drivers/scsi/eata.cif (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid);
pid596drivers/scsi/eata.cprintk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid);
pid620drivers/scsi/eata.cBN(j), i, SCpnt->target, SCpnt->pid);
pid652drivers/scsi/eata.cBN(j), SCpnt->target, SCpnt->pid);
pid672drivers/scsi/eata.cBN(j), SCarg->target, SCarg->pid);
pid678drivers/scsi/eata.cBN(j), i, SCarg->target, SCarg->pid);
pid730drivers/scsi/eata.cBN(j), SCarg->target, SCarg->pid);
pid733drivers/scsi/eata.cprintk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid);
pid764drivers/scsi/eata.cBN(j), i, SCpnt->pid);
pid809drivers/scsi/eata.cBN(j), i, SCpnt->pid);
pid907drivers/scsi/eata.cBN(j), i, SCpnt->pid, SCpnt);
pid911drivers/scsi/eata.c" irq %d.\n", BN(j), i, SCpnt->pid, 
pid949drivers/scsi/eata.cSCpnt->target, SCpnt->lun, SCpnt->pid,
pid1007drivers/scsi/eata.cSCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount);
pid173drivers/scsi/eata_dma.cirq, base, cmd->pid, cmd->target, cmd->lun, 
pid316drivers/scsi/eata_dma.ccmd->pid, cmd->target, cmd->lun, y));
pid378drivers/scsi/eata_dma.ccmd->target, cmd->pid);
pid384drivers/scsi/eata_dma.c(long)sh->base, cmd->pid, cmd->target, cmd->lun, y, sh->irq));
pid420drivers/scsi/eata_dma.ccmd->pid, cmd->target, cmd->lun, cmd->abort_reason));
pid468drivers/scsi/eata_dma.ccmd->pid, cmd->target, cmd->lun, cmd->abort_reason));
pid501drivers/scsi/eata_dma.cprintk("eata_reset: slot %d in reset, pid %ld.\n", x, sp->pid);
pid543drivers/scsi/eata_dma.cx, sp->pid);
pid47drivers/scsi/scsi.cstatic void scsi_times_out (Scsi_Cmnd * SCpnt, int pid);
pid647drivers/scsi/scsi.cstatic void scsi_times_out (Scsi_Cmnd * SCpnt, int pid)
pid659drivers/scsi/scsi.cif (!scsi_abort  (SCpnt, DID_TIME_OUT, pid))
pid1017drivers/scsi/scsi.cSCpnt->pid = scsi_pid++;
pid1531drivers/scsi/scsi.cint scsi_abort (Scsi_Cmnd * SCpnt, int why, int pid)
pid1546drivers/scsi/scsi.cif (SCpnt->request.dev == -1 || pid != SCpnt->pid) {
pid1576drivers/scsi/scsi.cSCpnt->pid, SCpnt->host->host_no, (int) SCpnt->target, (int)
pid1579drivers/scsi/scsi.cif (SCpnt->request.dev == -1 || pid != SCpnt->pid)
pid1663drivers/scsi/scsi.cscsi_abort(SCpnt1, DID_RESET, SCpnt->pid);
pid1730drivers/scsi/scsi.cint timed_out, pid;
pid1751drivers/scsi/scsi.cpid = SCpnt->pid;
pid1753drivers/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);
pid527drivers/scsi/u14-34f.cif (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid);
pid553drivers/scsi/u14-34f.cprintk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid);
pid568drivers/scsi/u14-34f.cBN(j), i, SCpnt->target, SCpnt->pid);
pid594drivers/scsi/u14-34f.cBN(j), SCpnt->target, SCpnt->pid);
pid620drivers/scsi/u14-34f.cBN(j), SCarg->target, SCarg->pid);
pid626drivers/scsi/u14-34f.cBN(j), i, SCarg->target, SCarg->pid);
pid678drivers/scsi/u14-34f.cBN(j), SCarg->target, SCarg->pid);
pid681drivers/scsi/u14-34f.cprintk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid);
pid712drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid);
pid758drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid);
pid858drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid, SCpnt);
pid862drivers/scsi/u14-34f.c" irq %d.\n", BN(j), i, SCpnt->pid, 
pid900drivers/scsi/u14-34f.cSCpnt->target, SCpnt->lun, SCpnt->pid,
pid959drivers/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) || 
pid68fs/locks.cflock.l_pid = fl->fl_owner->pid;
pid147fs/locks.cif (locks_deadlocked(file_lock.fl_owner->pid,fl->fl_owner->pid)) return -EDEADLOCK;
pid179fs/locks.cif (fl->fl_owner->pid != my_pid) continue;
pid184fs/locks.cif (dlock_wait->task->pid == blocked_pid) return -EDEADLOCK;
pid185fs/locks.cret_val = locks_deadlocked(dlock_wait->task->pid,blocked_pid);
pid325fs/proc/array.cstatic struct task_struct ** get_task(pid_t pid)
pid331fs/proc/array.cif (*p && (*p)->pid == pid)
pid391fs/proc/array.cstatic int get_env(int pid, char * buffer)
pid393fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid400fs/proc/array.cstatic int get_arg(int pid, char * buffer)
pid402fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid438fs/proc/array.cstatic int get_stat(int pid, char * buffer)
pid440fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid476fs/proc/array.cpid,
pid479fs/proc/array.c(*p)->p_pptr->pid,
pid515fs/proc/array.cstatic int get_statm(int pid, char * buffer)
pid517fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid593fs/proc/array.cstatic int read_maps (int pid, struct file * file, char * buf, int count)
pid595fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid747fs/proc/array.cstatic int get_process_array(char * page, int pid, int type)
pid751fs/proc/array.creturn get_env(pid, page);
pid753fs/proc/array.creturn get_arg(pid, page);
pid755fs/proc/array.creturn get_stat(pid, page);
pid757fs/proc/array.creturn get_statm(pid, page);
pid763fs/proc/array.cstatic inline int fill_array(char * page, int pid, int type)
pid765fs/proc/array.cif (pid)
pid766fs/proc/array.creturn get_process_array(page, pid, type);
pid775fs/proc/array.cunsigned int type, pid;
pid782fs/proc/array.cpid = type >> 16;
pid784fs/proc/array.clength = fill_array((char *) page, pid, type);
pid835fs/proc/array.cunsigned int pid = inode->i_ino >> 16;
pid843fs/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)
pid32fs/proc/mem.cunsigned long addr, pid;
pid38fs/proc/mem.cpid = inode->i_ino;
pid39fs/proc/mem.cpid >>= 16;
pid42fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
pid85fs/proc/mem.cunsigned long addr, pid;
pid92fs/proc/mem.cpid = inode->i_ino;
pid93fs/proc/mem.cpid >>= 16;
pid96fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
pid169fs/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);
pid50include/linux/kernel.hextern int kill_proc(int pid, int sig, int priv);
pid160include/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 */
pid61init/main.cstatic inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid446init/main.cint pid,i;
pid475init/main.cif (!(pid=fork())) {
pid482init/main.cif (pid>0)
pid483init/main.cwhile (pid != wait(&i))
pid486init/main.cif ((pid = fork()) < 0) {
pid490init/main.cif (!pid) {
pid499init/main.cif (pid == wait(&i))
pid501init/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;
pid397ipc/shm.cshmd->vm_task->pid, shmd->vm_start, shmd->vm_end,
pid565ipc/shm.cshp->shm_lpid = current->pid;
pid587ipc/shm.cshp->shm_lpid = current->pid;
pid607ipc/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))
pid480kernel/exit.casmlinkage int sys_wait4(pid_t pid,unsigned long * stat_addr, int options, struct rusage * ru)
pid495kernel/exit.cif (pid>0) {
pid496kernel/exit.cif (p->pid != pid)
pid498kernel/exit.c} else if (!pid) {
pid501kernel/exit.c} else if (pid != -1) {
pid502kernel/exit.cif (p->pgrp != -pid)
pid521kernel/exit.cretval = p->pid;
pid530kernel/exit.cflag = p->pid;
pid571kernel/exit.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options)
pid573kernel/exit.creturn sys_wait4(pid, stat_addr, options, NULL);
pid50kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid ||
pid194kernel/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)
pid393net/inet/af_inet.ccurrent->pid != arg) return(-EPERM);