taglinefilesource code
pid1456drivers/block/floppy.cif (current->pid)
pid453drivers/char/vt.cvt_cons[console].vt_pid = current->pid;
pid1484drivers/net/ppp.cppp->inp_sig_pid = current->pid;
pid2376drivers/scsi/53c7,8xx.chost->host_no, cmd->pid);
pid3051drivers/scsi/53c7,8xx.chost->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result);
pid3098drivers/scsi/53c7,8xx.chost->host_no, cmd->cmd->pid, (int) cmd->cmd->target,
pid523drivers/scsi/scsi.cSCpnt->pid, SCpnt->host->host_no, (int) SCpnt->target, (int) 
pid874drivers/scsi/scsi.cSCpnt->pid = scsi_pid++; 
pid494drivers/scsi/scsi.hunsigned long pid;    /* Process ID, starts at 0 */
pid79fs/locks.cflock.l_pid = fl->fl_owner->pid;
pid158fs/locks.cif (locks_deadlocked(file_lock.fl_owner->pid,fl->fl_owner->pid)) return -EDEADLOCK;
pid190fs/locks.cif (fl->fl_owner->pid != my_pid) continue;
pid195fs/locks.cif (dlock_wait->task->pid == blocked_pid) return -EDEADLOCK;
pid196fs/locks.cret_val = locks_deadlocked(dlock_wait->task->pid,blocked_pid);
pid179fs/proc/array.cstatic struct task_struct ** get_task(pid_t pid)
pid185fs/proc/array.cif (*p && (*p)->pid == pid)
pid243fs/proc/array.cstatic int get_env(int pid, char * buffer)
pid245fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid252fs/proc/array.cstatic int get_arg(int pid, char * buffer)
pid254fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid288fs/proc/array.cstatic int get_stat(int pid, char * buffer)
pid290fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid326fs/proc/array.cpid,
pid329fs/proc/array.c(*p)->p_pptr->pid,
pid365fs/proc/array.cstatic int get_statm(int pid, char * buffer)
pid367fs/proc/array.cstruct task_struct ** p = get_task(pid);
pid412fs/proc/array.cstatic int get_maps(int pid, char *buf)
pid415fs/proc/array.cstruct task_struct **p = get_task(pid);
pid512fs/proc/array.cstatic int get_process_array(char * page, int pid, int type)
pid516fs/proc/array.creturn get_env(pid, page);
pid518fs/proc/array.creturn get_arg(pid, page);
pid520fs/proc/array.creturn get_stat(pid, page);
pid522fs/proc/array.creturn get_statm(pid, page);
pid524fs/proc/array.creturn get_maps(pid, page);
pid530fs/proc/array.cstatic inline int fill_array(char * page, int pid, int type)
pid532fs/proc/array.cif (pid)
pid533fs/proc/array.creturn get_process_array(page, pid, type);
pid542fs/proc/array.cunsigned int type, pid;
pid549fs/proc/array.cpid = type >> 16;
pid551fs/proc/array.clength = fill_array((char *) page, pid, type);
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 || !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)
pid111fs/proc/fd.cino = (pid << 16) + 0x100 + fd;
pid122fs/proc/fd.cunsigned int fd, pid, ino;
pid128fs/proc/fd.cpid = ino >> 16;
pid151fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
pid168fs/proc/fd.cino = (pid << 16) + 0x100 + fd;
pid76fs/proc/inode.cunsigned long ino, pid;
pid90fs/proc/inode.cpid = ino >> 16;
pid93fs/proc/inode.cif ((p = task[i]) && (p->pid == pid))
pid114fs/proc/inode.cif (!pid) {
pid44fs/proc/link.cunsigned int pid, ino;
pid58fs/proc/link.cpid = ino >> 16;
pid62fs/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)) {
pid82fs/proc/root.cunsigned int pid, c;
pid102fs/proc/root.cino = (current->pid << 16) + 2;
pid104fs/proc/root.cpid = 0;
pid109fs/proc/root.cpid = 0;
pid112fs/proc/root.cpid *= 10;
pid113fs/proc/root.cpid += c;
pid114fs/proc/root.cif (pid & 0xffff0000) {
pid115fs/proc/root.cpid = 0;
pid120fs/proc/root.cif (task[i] && task[i]->pid == pid)
pid122fs/proc/root.cif (!pid || i >= NR_TASKS) {
pid126fs/proc/root.cino = (pid << 16) + 2;
pid140fs/proc/root.cunsigned int nr,pid;
pid165fs/proc/root.cif (!p || !(pid = p->pid))
pid167fs/proc/root.cif (pid & 0xffff0000)
pid171fs/proc/root.cwhile (pid >= j) {
pid176fs/proc/root.cput_fs_long((pid << 16)+2, &dirent->d_ino);
pid180fs/proc/root.cput_fs_byte('0'+(pid % 10), i+dirent->d_name);
pid181fs/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);
pid266include/linux/sched.hint pid,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 */
pid59init/main.cstatic inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid534init/main.cint pid,i;
pid563init/main.cif (!(pid=fork())) {
pid570init/main.cif (pid>0)
pid571init/main.cwhile (pid != wait(&i))
pid574init/main.cif ((pid = fork()) < 0) {
pid578init/main.cif (!pid) {
pid587init/main.cif (pid == wait(&i))
pid589init/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;
pid111ipc/shm.cshp->shm_cpid = current->pid;
pid514ipc/shm.cshp->shm_lpid = current->pid;
pid546ipc/shm.cshp->shm_lpid = current->pid;
pid623ipc/shm.cshp->shm_lpid = current->pid;
pid141kernel/exit.ctask[i]->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);
pid167kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
pid168kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
pid172kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid);
pid178kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
pid179kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
pid183kernel/exit.ctask[i]->pid, task[i]->p_ysptr->pid);
pid189kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
pid193kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
pid215kernel/exit.cif (p->pid == pgrp)
pid268kernel/exit.cint kill_proc(int pid, int sig, int priv)
pid275kernel/exit.cif (p && p->pid == pid)
pid285kernel/exit.casmlinkage int sys_kill(int pid,int sig)
pid289kernel/exit.cif (!pid)
pid291kernel/exit.cif (pid == -1) {
pid294kernel/exit.cif (p->pid > 1 && p != current) {
pid302kernel/exit.cif (pid < 0) 
pid303kernel/exit.creturn(kill_pg(-pid,sig,0));
pid305kernel/exit.creturn(kill_proc(pid,sig,0));
pid323kernel/exit.c(p->p_pptr->pid == 1))
pid512kernel/exit.casmlinkage int sys_wait4(pid_t pid,unsigned long * stat_addr, int options, struct rusage * ru)
pid527kernel/exit.cif (pid>0) {
pid528kernel/exit.cif (p->pid != pid)
pid530kernel/exit.c} else if (!pid) {
pid533kernel/exit.c} else if (pid != -1) {
pid534kernel/exit.cif (p->pgrp != -pid)
pid553kernel/exit.cretval = p->pid;
pid562kernel/exit.cflag = p->pid;
pid603kernel/exit.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options)
pid605kernel/exit.creturn sys_wait4(pid, stat_addr, options, NULL);
pid59kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid ||
pid192kernel/fork.cp->pid = last_pid;
pid256kernel/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))
pid271kernel/ptrace.casmlinkage int sys_ptrace(long request, long pid, long addr, long data)
pid287kernel/ptrace.cif (pid == 1)    /* you may not mess with init */
pid289kernel/ptrace.cif (!(child = get_task(pid)))
pid720kernel/sched.creturn current->pid;
pid725kernel/sched.creturn current->p_opptr->pid;
pid781kernel/sched.cprintk("%5lu %5d %6d ", free << 2, p->pid, p->p_pptr->pid);
pid783kernel/sched.cprintk("%5d ", p->p_cptr->pid);
pid787kernel/sched.cprintk("%7d", p->p_ysptr->pid);
pid791kernel/sched.cprintk(" %5d\n", p->p_osptr->pid);
pid189kernel/signal.casmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options);
pid333kernel/signal.cif (current->pid == 1)
pid42kernel/sys.cif (current->pid != 0)
pid64kernel/sys.creturn(p->pid == who);
pid464kernel/sys.casmlinkage int sys_setpgid(pid_t pid, pid_t pgid)
pid468kernel/sys.cif (!pid)
pid469kernel/sys.cpid = current->pid;
pid471kernel/sys.cpgid = pid;
pid475kernel/sys.cif (p->pid == pid)
pid490kernel/sys.cif (pgid != pid) {
pid505kernel/sys.casmlinkage int sys_getpgid(pid_t pid)
pid509kernel/sys.cif (!pid)
pid512kernel/sys.cif (p->pid == pid)
pid528kernel/sys.ccurrent->session = current->pgrp = current->pid;
pid107kernel/traps.ccurrent->comm, current->pid, 0xffff & i, current->kernel_stack_page);
pid11lib/wait.c_syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options)
pid369net/inet/af_inet.ccurrent->pid != arg) return(-EPERM);