taglinefilesource code
pid35arch/i386/kernel/process.cif (current->pid != 0)
pid36arch/i386/kernel/ptrace.cstatic inline struct task_struct * get_task(int pid)
pid41arch/i386/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
pid271arch/i386/kernel/ptrace.casmlinkage int sys_ptrace(long request, long pid, long addr, long data)
pid287arch/i386/kernel/ptrace.cif (pid == 1)    /* you may not mess with init */
pid289arch/i386/kernel/ptrace.cif (!(child = get_task(pid)))
pid21arch/i386/kernel/signal.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options);
pid184arch/i386/kernel/signal.cif (current->pid == 1)
pid112arch/i386/kernel/traps.ccurrent->comm, current->pid, 0xffff & i, current->kernel_stack_page);
pid35arch/sparc/kernel/process.cif (current->pid != 0)
pid652drivers/block/floppy.cif (!current->pid)
pid1650drivers/block/floppy.cif (current->pid)
pid1234drivers/char/tty_io.cfilp->f_owner = current->pid;
pid610drivers/char/vt.cspawnpid = current->pid;
pid634drivers/char/vt.cvt_cons[console]->vt_pid = current->pid;
pid1484drivers/net/ppp.cppp->inp_sig_pid = current->pid;
pid2396drivers/scsi/53c7,8xx.chost->host_no, cmd->pid);
pid3071drivers/scsi/53c7,8xx.chost->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result);
pid3118drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->pid, (int) cmd->cmd->target,
pid492drivers/scsi/eata.cif (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid);
pid518drivers/scsi/eata.cprintk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid);
pid542drivers/scsi/eata.cBN(j), i, SCpnt->target, SCpnt->pid);
pid574drivers/scsi/eata.cBN(j), SCpnt->target, SCpnt->pid);
pid594drivers/scsi/eata.cBN(j), SCarg->target, SCarg->pid);
pid600drivers/scsi/eata.cBN(j), i, SCarg->target, SCarg->pid);
pid652drivers/scsi/eata.cBN(j), SCarg->target, SCarg->pid);
pid655drivers/scsi/eata.cprintk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid);
pid684drivers/scsi/eata.cBN(j), i, SCpnt->pid);
pid729drivers/scsi/eata.cBN(j), i, SCpnt->pid);
pid823drivers/scsi/eata.cBN(j), i, SCpnt->pid, SCpnt);
pid827drivers/scsi/eata.c" irq %d.\n", BN(j), i, SCpnt->pid, 
pid904drivers/scsi/eata.cSCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount);
pid44drivers/scsi/scsi.cstatic void scsi_times_out (Scsi_Cmnd * SCpnt, int pid);
pid553drivers/scsi/scsi.cstatic void scsi_times_out (Scsi_Cmnd * SCpnt, int pid)
pid565drivers/scsi/scsi.cif (!scsi_abort  (SCpnt, DID_TIME_OUT, pid))
pid938drivers/scsi/scsi.cSCpnt->pid = scsi_pid++; 
pid1495drivers/scsi/scsi.cint scsi_abort (Scsi_Cmnd * SCpnt, int why, int pid)
pid1510drivers/scsi/scsi.cif (SCpnt->request.dev == -1 || pid != SCpnt->pid) {
pid1540drivers/scsi/scsi.cSCpnt->pid, SCpnt->host->host_no, (int) SCpnt->target, (int) 
pid1543drivers/scsi/scsi.cif (SCpnt->request.dev == -1 || pid != SCpnt->pid)
pid1627drivers/scsi/scsi.cscsi_abort(SCpnt1, DID_RESET, SCpnt->pid);
pid1705drivers/scsi/scsi.cint timed_out, pid;
pid1726drivers/scsi/scsi.cpid = SCpnt->pid;
pid1728drivers/scsi/scsi.cscsi_times_out(SCpnt, pid);
pid506drivers/scsi/scsi.hunsigned long pid;    /* Process ID, starts at 0 */
pid515drivers/scsi/scsi.hextern int scsi_abort (Scsi_Cmnd *, int code, int pid);
pid450drivers/scsi/u14-34f.cif (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid);
pid476drivers/scsi/u14-34f.cprintk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid);
pid491drivers/scsi/u14-34f.cBN(j), i, SCpnt->target, SCpnt->pid);
pid517drivers/scsi/u14-34f.cBN(j), SCpnt->target, SCpnt->pid);
pid543drivers/scsi/u14-34f.cBN(j), SCarg->target, SCarg->pid);
pid549drivers/scsi/u14-34f.cBN(j), i, SCarg->target, SCarg->pid);
pid601drivers/scsi/u14-34f.cBN(j), SCarg->target, SCarg->pid);
pid604drivers/scsi/u14-34f.cprintk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid);
pid633drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid);
pid679drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid);
pid775drivers/scsi/u14-34f.cBN(j), i, SCpnt->pid, SCpnt);
pid779drivers/scsi/u14-34f.c" irq %d.\n", BN(j), i, SCpnt->pid, 
pid857drivers/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);
pid307fs/proc/array.cstatic struct task_struct ** get_task(pid_t pid)
pid313fs/proc/array.cif (*p && (*p)->pid == pid)
pid371fs/proc/array.cstatic int get_env(int pid, char * buffer)
pid373fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid380fs/proc/array.cstatic int get_arg(int pid, char * buffer)
pid382fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid416fs/proc/array.cstatic int get_stat(int pid, char * buffer)
pid418fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid454fs/proc/array.cpid,
pid457fs/proc/array.c(*p)->p_pptr->pid,
pid493fs/proc/array.cstatic int get_statm(int pid, char * buffer)
pid495fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid540fs/proc/array.cstatic int get_maps(int pid, char *buf)
pid543fs/proc/array.cstruct task_struct **p = get_task(pid);
pid647fs/proc/array.cstatic int get_process_array(char * page, int pid, int type)
pid651fs/proc/array.creturn get_env(pid, page);
pid653fs/proc/array.creturn get_arg(pid, page);
pid655fs/proc/array.creturn get_stat(pid, page);
pid657fs/proc/array.creturn get_statm(pid, page);
pid659fs/proc/array.creturn get_maps(pid, page);
pid665fs/proc/array.cstatic inline int fill_array(char * page, int pid, int type)
pid667fs/proc/array.cif (pid)
pid668fs/proc/array.creturn get_process_array(page, pid, type);
pid677fs/proc/array.cunsigned int type, pid;
pid684fs/proc/array.cpid = type >> 16;
pid686fs/proc/array.clength = fill_array((char *) page, pid, type);
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;
pid79fs/proc/inode.cunsigned long ino, pid;
pid93fs/proc/inode.cpid = ino >> 16;
pid96fs/proc/inode.cif ((p = task[i]) && (p->pid == pid))
pid117fs/proc/inode.cif (!pid) {
pid67fs/proc/link.cunsigned int pid, ino;
pid79fs/proc/link.cpid = ino >> 16;
pid83fs/proc/link.cif ((p = task[i]) && p->pid == pid)
pid103fs/proc/link.cunsigned int pid, ino;
pid118fs/proc/link.cpid = ino >> 16;
pid121fs/proc/link.cif ((p = task[i]) && p->pid == pid)
pid27fs/proc/mem.cunsigned long addr, pid, cr3;
pid34fs/proc/mem.cpid = inode->i_ino;
pid35fs/proc/mem.cpid >>= 16;
pid38fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
pid75fs/proc/mem.cunsigned long addr, pid, cr3;
pid83fs/proc/mem.cpid = inode->i_ino;
pid84fs/proc/mem.cpid >>= 16;
pid87fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
pid155fs/proc/mem.cif (task[i] && task[i]->pid == (inode->i_ino >> 16)) {
pid85fs/proc/root.cunsigned int pid, c;
pid105fs/proc/root.cino = (current->pid << 16) + 2;
pid107fs/proc/root.cpid = 0;
pid112fs/proc/root.cpid = 0;
pid115fs/proc/root.cpid *= 10;
pid116fs/proc/root.cpid += c;
pid117fs/proc/root.cif (pid & 0xffff0000) {
pid118fs/proc/root.cpid = 0;
pid123fs/proc/root.cif (task[i] && task[i]->pid == pid)
pid125fs/proc/root.cif (!pid || i >= NR_TASKS) {
pid129fs/proc/root.cino = (pid << 16) + 2;
pid143fs/proc/root.cunsigned int nr,pid;
pid168fs/proc/root.cif (!p || !(pid = p->pid))
pid170fs/proc/root.cif (pid & 0xffff0000)
pid174fs/proc/root.cwhile (pid >= j) {
pid179fs/proc/root.cput_fs_long((pid << 16)+2, &dirent->d_ino);
pid183fs/proc/root.cput_fs_byte('0'+(pid % 10), i+dirent->d_name);
pid184fs/proc/root.cpid /= 10;
pid35fs/umsdos/namei.c&& dir->u.umsdos_i.u.dir_info.pid != current->pid){
pid89fs/umsdos/namei.cdir->u.umsdos_i.u.dir_info.pid = current->pid;
pid108fs/umsdos/namei.cdir1->u.umsdos_i.u.dir_info.pid = current->pid;
pid110fs/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);
pid50include/linux/kernel.hextern int kill_proc(int pid, int sig, int priv);
pid159include/linux/sched.hint pid,pgrp,tty_old_pgrp,session,leader;
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 */
pid60init/main.cstatic inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid513init/main.cint pid,i;
pid542init/main.cif (!(pid=fork())) {
pid549init/main.cif (pid>0)
pid550init/main.cwhile (pid != wait(&i))
pid553init/main.cif ((pid = fork()) < 0) {
pid557init/main.cif (!pid) {
pid566init/main.cif (pid == wait(&i))
pid568init/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;
pid449ipc/sem.ccurr->sempid = current->pid;
pid505ipc/sem.csem->sempid = current->pid;
pid114ipc/shm.cshp->shm_cpid = current->pid;
pid523ipc/shm.cshp->shm_lpid = current->pid;
pid546ipc/shm.cshp->shm_lpid = current->pid;
pid573ipc/shm.cshmd->vm_task->pid, shmd->vm_start, shmd->vm_end,
pid581ipc/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))
pid500kernel/exit.casmlinkage int sys_wait4(pid_t pid,unsigned long * stat_addr, int options, struct rusage * ru)
pid515kernel/exit.cif (pid>0) {
pid516kernel/exit.cif (p->pid != pid)
pid518kernel/exit.c} else if (!pid) {
pid521kernel/exit.c} else if (pid != -1) {
pid522kernel/exit.cif (p->pgrp != -pid)
pid541kernel/exit.cretval = p->pid;
pid550kernel/exit.cflag = p->pid;
pid591kernel/exit.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options)
pid593kernel/exit.creturn sys_wait4(pid, stat_addr, options, NULL);
pid55kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid ||
pid190kernel/fork.cp->pid = last_pid;
pid221kernel/fork.creturn p->pid;
pid696kernel/sched.creturn current->pid;
pid701kernel/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);
pid43kernel/sys.creturn(p->pid == who);
pid458kernel/sys.casmlinkage int sys_setpgid(pid_t pid, pid_t pgid)
pid462kernel/sys.cif (!pid)
pid463kernel/sys.cpid = current->pid;
pid465kernel/sys.cpgid = pid;
pid469kernel/sys.cif (p->pid == pid)
pid484kernel/sys.cif (pgid != pid) {
pid499kernel/sys.casmlinkage int sys_getpgid(pid_t pid)
pid503kernel/sys.cif (!pid)
pid506kernel/sys.cif (p->pid == pid)
pid522kernel/sys.ccurrent->session = current->pgrp = current->pid;
pid11lib/wait.c_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid382net/inet/af_inet.ccurrent->pid != arg) return(-EPERM);