tag | line | file | source code |
pid | 152 | arch/alpha/kernel/osf_sys.c | (®s)->r20 = current->p_opptr->pid; |
pid | 153 | arch/alpha/kernel/osf_sys.c | return current->pid; |
pid | 42 | arch/alpha/kernel/process.c | if (current->pid != 0) |
pid | 83 | arch/alpha/kernel/ptrace.c | static inline struct task_struct * get_task(int pid) |
pid | 88 | arch/alpha/kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
pid | 546 | arch/alpha/kernel/ptrace.c | asmlinkage long sys_ptrace(long request, long pid, long addr, long data, int a4, int a5, |
pid | 555 | arch/alpha/kernel/ptrace.c | DBG(DBG_MEM, ("request=%ld pid=%ld addr=0x%lx data=0x%lx\n",request,pid,addr,data)); |
pid | 567 | arch/alpha/kernel/ptrace.c | if (pid == 1) { /* you may not mess with init */ |
pid | 571 | arch/alpha/kernel/ptrace.c | if (!(child = get_task(pid))) { |
pid | 22 | arch/alpha/kernel/signal.c | asmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options); |
pid | 251 | arch/alpha/kernel/signal.c | if (current->pid == 1) |
pid | 24 | arch/alpha/kernel/traps.c | printk("%s(%d): %s %ld\n", current->comm, current->pid, str, err); |
pid | 50 | arch/i386/kernel/process.c | if (current->pid != 0) |
pid | 37 | arch/i386/kernel/ptrace.c | static inline struct task_struct * get_task(int pid) |
pid | 42 | arch/i386/kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
pid | 299 | arch/i386/kernel/ptrace.c | asmlinkage int sys_ptrace(long request, long pid, long addr, long data) |
pid | 315 | arch/i386/kernel/ptrace.c | if (pid == 1) /* you may not mess with init */ |
pid | 317 | arch/i386/kernel/ptrace.c | if (!(child = get_task(pid))) |
pid | 22 | arch/i386/kernel/signal.c | asmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options); |
pid | 186 | arch/i386/kernel/signal.c | if (current->pid == 1) |
pid | 125 | arch/i386/kernel/traps.c | current->comm, current->pid, 0xffff & i, current->kernel_stack_page); |
pid | 41 | arch/mips/kernel/process.c | if (current->pid != 0) |
pid | 36 | arch/mips/kernel/ptrace.c | static inline struct task_struct * get_task(int pid) |
pid | 41 | arch/mips/kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
pid | 277 | arch/mips/kernel/ptrace.c | asmlinkage int sys_ptrace(long request, long pid, long addr, long data) |
pid | 297 | arch/mips/kernel/ptrace.c | if (pid == 1) /* you may not mess with init */ |
pid | 299 | arch/mips/kernel/ptrace.c | if (!(child = get_task(pid))) |
pid | 23 | arch/mips/kernel/signal.c | asmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options); |
pid | 233 | arch/mips/kernel/signal.c | if (current->pid == 1) |
pid | 131 | arch/mips/kernel/traps.c | current->comm, current->pid, 0xffff & i, |
pid | 34 | arch/sparc/kernel/process.c | if (current->pid != 0) |
pid | 126 | arch/sparc/kernel/process.c | regs->u_regs[8] = p->pid; |
pid | 21 | arch/sparc/kernel/signal.c | asmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options); |
pid | 787 | drivers/block/floppy.c | if (!current->pid) |
pid | 1876 | drivers/block/floppy.c | if (current->pid) |
pid | 1109 | drivers/block/mcdx.c | stuffp->lock = current->pid; |
pid | 1251 | drivers/char/tty_io.c | filp->f_owner = current->pid; |
pid | 672 | drivers/char/vt.c | spawnpid = current->pid; |
pid | 696 | drivers/char/vt.c | vt_cons[console]->vt_pid = current->pid; |
pid | 1509 | drivers/net/ppp.c | ppp->inp_sig_pid = current->pid; |
pid | 3169 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result); |
pid | 3216 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->pid, (int) cmd->cmd->target, |
pid | 613 | drivers/scsi/eata.c | if (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid); |
pid | 639 | drivers/scsi/eata.c | printk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid); |
pid | 663 | drivers/scsi/eata.c | BN(j), i, SCpnt->target, SCpnt->pid); |
pid | 697 | drivers/scsi/eata.c | BN(j), SCpnt->target, SCpnt->pid); |
pid | 717 | drivers/scsi/eata.c | BN(j), SCarg->target, SCarg->pid); |
pid | 723 | drivers/scsi/eata.c | BN(j), i, SCarg->target, SCarg->pid); |
pid | 775 | drivers/scsi/eata.c | BN(j), SCarg->target, SCarg->pid); |
pid | 778 | drivers/scsi/eata.c | printk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid); |
pid | 809 | drivers/scsi/eata.c | BN(j), i, SCpnt->pid); |
pid | 858 | drivers/scsi/eata.c | BN(j), i, SCpnt->pid); |
pid | 956 | drivers/scsi/eata.c | BN(j), i, SCpnt->pid, SCpnt); |
pid | 960 | drivers/scsi/eata.c | " irq %d.\n", BN(j), i, SCpnt->pid, |
pid | 993 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
pid | 1051 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
pid | 206 | drivers/scsi/eata_dma.c | irq, base, cmd->pid, cmd->target, cmd->lun, |
pid | 287 | drivers/scsi/eata_dma.c | cmd->pid, eata_stat, hba_stat, scsi_stat, |
pid | 393 | drivers/scsi/eata_dma.c | cmd->pid, cmd->target, cmd->lun, y)); |
pid | 498 | drivers/scsi/eata_dma.c | " done.\n", cmd->target, cmd->pid); |
pid | 504 | drivers/scsi/eata_dma.c | "slot %d irq %d\n", (s32)sh->base, cmd->pid, |
pid | 521 | drivers/scsi/eata_dma.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
pid | 571 | drivers/scsi/eata_dma.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
pid | 608 | drivers/scsi/eata_dma.c | printk("eata_reset: slot %d in reset, pid %ld.\n", x, sp->pid); |
pid | 652 | drivers/scsi/eata_dma.c | x, sp->pid); |
pid | 330 | drivers/scsi/eata_pio.c | cmd->pid, cmd->target, cmd->lun, y)); |
pid | 393 | drivers/scsi/eata_pio.c | cmd->target, cmd->pid); |
pid | 404 | drivers/scsi/eata_pio.c | "slot %d irq %d\n", (long)sh->base, cmd->pid, |
pid | 421 | drivers/scsi/eata_pio.c | cmd->pid, cmd->target, cmd->lun, cmd->abort_reason)); |
pid | 468 | drivers/scsi/eata_pio.c | "reason %x\n", cmd->pid, cmd->target, cmd->lun, |
pid | 492 | drivers/scsi/eata_pio.c | printk("eata_pio_reset: slot %d in reset, pid %ld.\n", x, sp->pid); |
pid | 66 | drivers/scsi/scsi.c | static void scsi_times_out (Scsi_Cmnd * SCpnt, int pid); |
pid | 383 | drivers/scsi/scsi.c | scsi_result = ((current->pid == 0 || !shpnt->unchecked_isa_dma) |
pid | 456 | drivers/scsi/scsi.c | if (current->pid == 0) |
pid | 509 | drivers/scsi/scsi.c | if (current->pid == 0) |
pid | 680 | drivers/scsi/scsi.c | if (current->pid == 0) |
pid | 784 | drivers/scsi/scsi.c | static void scsi_times_out (Scsi_Cmnd * SCpnt, int pid) |
pid | 796 | drivers/scsi/scsi.c | if (!scsi_abort (SCpnt, DID_TIME_OUT, pid)) |
pid | 1243 | drivers/scsi/scsi.c | SCpnt->pid = scsi_pid++; |
pid | 1756 | drivers/scsi/scsi.c | int scsi_abort (Scsi_Cmnd * SCpnt, int why, int pid) |
pid | 1771 | drivers/scsi/scsi.c | if (SCpnt->request.dev == -1 || pid != SCpnt->pid) { |
pid | 1805 | drivers/scsi/scsi.c | SCpnt->pid, SCpnt->host->host_no, (int) SCpnt->channel, |
pid | 1808 | drivers/scsi/scsi.c | if (SCpnt->request.dev == -1 || pid != SCpnt->pid) |
pid | 1897 | drivers/scsi/scsi.c | scsi_abort(SCpnt1, DID_RESET, SCpnt->pid); |
pid | 1965 | drivers/scsi/scsi.c | int timed_out, pid; |
pid | 1986 | drivers/scsi/scsi.c | pid = SCpnt->pid; |
pid | 1988 | drivers/scsi/scsi.c | scsi_times_out(SCpnt, pid); |
pid | 530 | drivers/scsi/scsi.h | unsigned long pid; /* Process ID, starts at 0 */ |
pid | 539 | drivers/scsi/scsi.h | extern int scsi_abort (Scsi_Cmnd *, int code, int pid); |
pid | 916 | drivers/scsi/sd.c | if (current->pid == 0){ |
pid | 1002 | drivers/scsi/sd.c | if (current->pid == 0) |
pid | 973 | drivers/scsi/sr.c | if (current->pid == 0) |
pid | 567 | drivers/scsi/u14-34f.c | if (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid); |
pid | 593 | drivers/scsi/u14-34f.c | printk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid); |
pid | 608 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->target, SCpnt->pid); |
pid | 634 | drivers/scsi/u14-34f.c | BN(j), SCpnt->target, SCpnt->pid); |
pid | 660 | drivers/scsi/u14-34f.c | BN(j), SCarg->target, SCarg->pid); |
pid | 666 | drivers/scsi/u14-34f.c | BN(j), i, SCarg->target, SCarg->pid); |
pid | 718 | drivers/scsi/u14-34f.c | BN(j), SCarg->target, SCarg->pid); |
pid | 721 | drivers/scsi/u14-34f.c | printk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid); |
pid | 752 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->pid); |
pid | 802 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->pid); |
pid | 902 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->pid, SCpnt); |
pid | 906 | drivers/scsi/u14-34f.c | " irq %d.\n", BN(j), i, SCpnt->pid, |
pid | 939 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
pid | 998 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
pid | 1012 | fs/binfmt_elf.c | psinfo.pr_pid = prstatus.pr_pid = current->pid; |
pid | 1013 | fs/binfmt_elf.c | psinfo.pr_ppid = prstatus.pr_ppid = current->p_pptr->pid; |
pid | 142 | fs/fcntl.c | if (current->pgrp == -arg || current->pid == arg) |
pid | 146 | fs/fcntl.c | if ((p->pid == arg) || (p->pid == -arg) || |
pid | 141 | fs/locks.c | flock.l_pid = fl->fl_owner->pid; |
pid | 275 | fs/proc/array.c | static struct task_struct ** get_task(pid_t pid) |
pid | 281 | fs/proc/array.c | if (*p && (*p)->pid == pid) |
pid | 350 | fs/proc/array.c | static int get_env(int pid, char * buffer) |
pid | 352 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 359 | fs/proc/array.c | static int get_arg(int pid, char * buffer) |
pid | 361 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 397 | fs/proc/array.c | static int get_stat(int pid, char * buffer) |
pid | 399 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 435 | fs/proc/array.c | pid, |
pid | 438 | fs/proc/array.c | (*p)->p_pptr->pid, |
pid | 547 | fs/proc/array.c | static int get_statm(int pid, char * buffer) |
pid | 549 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 606 | fs/proc/array.c | static int read_maps (int pid, struct file * file, char * buf, int count) |
pid | 608 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 760 | fs/proc/array.c | static int get_process_array(char * page, int pid, int type) |
pid | 764 | fs/proc/array.c | return get_env(pid, page); |
pid | 766 | fs/proc/array.c | return get_arg(pid, page); |
pid | 768 | fs/proc/array.c | return get_stat(pid, page); |
pid | 770 | fs/proc/array.c | return get_statm(pid, page); |
pid | 776 | fs/proc/array.c | static inline int fill_array(char * page, int pid, int type) |
pid | 778 | fs/proc/array.c | if (pid) |
pid | 779 | fs/proc/array.c | return get_process_array(page, pid, type); |
pid | 788 | fs/proc/array.c | unsigned int type, pid; |
pid | 795 | fs/proc/array.c | pid = type >> 16; |
pid | 797 | fs/proc/array.c | length = fill_array((char *) page, pid, type); |
pid | 848 | fs/proc/array.c | unsigned int pid = inode->i_ino >> 16; |
pid | 856 | fs/proc/array.c | return read_maps(pid, file, buf, count); |
pid | 85 | fs/proc/base.c | unsigned int pid, ino; |
pid | 96 | fs/proc/base.c | pid = ino >> 16; |
pid | 107 | fs/proc/base.c | ino = (pid << 16) + base_dir[i].low_ino; |
pid | 109 | fs/proc/base.c | if (task[i] && task[i]->pid == pid) |
pid | 111 | fs/proc/base.c | if (!pid || i >= NR_TASKS) { |
pid | 127 | fs/proc/base.c | unsigned int pid, ino; |
pid | 133 | fs/proc/base.c | pid = ino >> 16; |
pid | 135 | fs/proc/base.c | if (task[i] && task[i]->pid == pid) |
pid | 137 | fs/proc/base.c | if (!pid || i >= NR_TASKS) |
pid | 143 | fs/proc/base.c | ino |= (pid << 16); |
pid | 56 | fs/proc/fd.c | unsigned int ino, pid, fd, c; |
pid | 63 | fs/proc/fd.c | pid = ino >> 16; |
pid | 68 | fs/proc/fd.c | if (!pid || ino != PROC_PID_FD || !S_ISDIR(dir->i_mode)) { |
pid | 78 | fs/proc/fd.c | if (!(*result = iget(sb,(pid << 16)+PROC_PID_INO))) { |
pid | 102 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
pid | 104 | fs/proc/fd.c | if (!pid || i >= NR_TASKS) |
pid | 110 | fs/proc/fd.c | ino = (pid << 16) + (PROC_PID_FD_DIR << 8) + fd; |
pid | 125 | fs/proc/fd.c | unsigned int fd, pid, ino; |
pid | 131 | fs/proc/fd.c | pid = ino >> 16; |
pid | 146 | fs/proc/fd.c | if ((p = task[task_nr]) && p->pid == pid) |
pid | 164 | fs/proc/fd.c | ino = (pid << 16) + (PROC_PID_FD_DIR << 8) + fd; |
pid | 169 | fs/proc/fd.c | if (p != task[task_nr] || p->pid != pid) |
pid | 113 | fs/proc/inode.c | unsigned long ino, pid; |
pid | 127 | fs/proc/inode.c | pid = ino >> 16; |
pid | 130 | fs/proc/inode.c | if ((p = task[i]) && (p->pid == pid)) |
pid | 197 | fs/proc/inode.c | if (!pid) { |
pid | 68 | fs/proc/link.c | unsigned int pid, ino; |
pid | 80 | fs/proc/link.c | pid = ino >> 16; |
pid | 84 | fs/proc/link.c | if ((p = task[i]) && p->pid == pid) |
pid | 104 | fs/proc/link.c | unsigned int pid, ino; |
pid | 119 | fs/proc/link.c | pid = ino >> 16; |
pid | 122 | fs/proc/link.c | if ((p = task[i]) && p->pid == pid) |
pid | 33 | fs/proc/mem.c | unsigned long addr, pid; |
pid | 39 | fs/proc/mem.c | pid = inode->i_ino; |
pid | 40 | fs/proc/mem.c | pid >>= 16; |
pid | 43 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
pid | 95 | fs/proc/mem.c | unsigned long addr, pid; |
pid | 102 | fs/proc/mem.c | pid = inode->i_ino; |
pid | 103 | fs/proc/mem.c | pid >>= 16; |
pid | 106 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
pid | 188 | fs/proc/mem.c | if (task[i] && task[i]->pid == (inode->i_ino >> 16)) { |
pid | 91 | fs/proc/root.c | unsigned int pid, c; |
pid | 111 | fs/proc/root.c | ino = (current->pid << 16) + 2; |
pid | 113 | fs/proc/root.c | pid = 0; |
pid | 118 | fs/proc/root.c | pid = 0; |
pid | 121 | fs/proc/root.c | pid *= 10; |
pid | 122 | fs/proc/root.c | pid += c; |
pid | 123 | fs/proc/root.c | if (pid & 0xffff0000) { |
pid | 124 | fs/proc/root.c | pid = 0; |
pid | 129 | fs/proc/root.c | if (task[i] && task[i]->pid == pid) |
pid | 131 | fs/proc/root.c | if (!pid || i >= NR_TASKS) { |
pid | 135 | fs/proc/root.c | ino = (pid << 16) + 2; |
pid | 151 | fs/proc/root.c | unsigned int nr,pid; |
pid | 170 | fs/proc/root.c | if (!p || !(pid = p->pid)) |
pid | 174 | fs/proc/root.c | i = pid; |
pid | 181 | fs/proc/root.c | if (filldir(dirent, buf+j, NUMBUF-j, nr+NR_ROOT_DIRENTRY, (pid << 16)+2) < 0) |
pid | 244 | fs/smbfs/inode.c | server->pid = current->pid; |
pid | 245 | fs/smbfs/inode.c | server->mid = current->pid + 20; |
pid | 510 | fs/smbfs/proc.c | WSET(buf, smb_pid, server->pid); |
pid | 1660 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv4, server->pid); |
pid | 39 | fs/umsdos/namei.c | && dir->u.umsdos_i.u.dir_info.pid != current->pid){ |
pid | 93 | fs/umsdos/namei.c | dir->u.umsdos_i.u.dir_info.pid = current->pid; |
pid | 112 | fs/umsdos/namei.c | dir1->u.umsdos_i.u.dir_info.pid = current->pid; |
pid | 114 | fs/umsdos/namei.c | dir2->u.umsdos_i.u.dir_info.pid = current->pid; |
pid | 240 | fs/umsdos/namei.c | ,info.fake.fname,current->pid,info.f_pos)); |
pid | 267 | fs/umsdos/namei.c | ,info.fake.fname,-ret,current->pid,info.f_pos); |
pid | 260 | include/asm-alpha/unistd.h | static inline pid_t waitpid(int pid, int * wait_stat, int flags) |
pid | 262 | include/asm-alpha/unistd.h | return sys_waitpid(pid,wait_stat,flags); |
pid | 263 | include/asm-i386/unistd.h | static inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) |
pid | 166 | include/asm-sparc/unistd.h | static inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) |
pid | 171 | include/asm-sparc/unistd.h | printk("[%d]idle()\n",current->pid); |
pid | 181 | include/asm-sparc/unistd.h | printk("[%d]setup()\n",current->pid); |
pid | 183 | include/asm-sparc/unistd.h | printk("[%d]setup() returned %d\n",current->pid, retval); |
pid | 190 | include/asm-sparc/unistd.h | printk("[%d]wait(%p)\n", current->pid, wait_stat); |
pid | 192 | include/asm-sparc/unistd.h | printk("[%d]wait(%p) returned %ld\n", current->pid, wait_stat, retval); |
pid | 50 | include/linux/kernel.h | extern int kill_proc(int pid, int sig, int priv); |
pid | 164 | include/linux/sched.h | int pid,pgrp,tty_old_pgrp,session,leader; |
pid | 89 | include/linux/sem.h | int pid; /* process id of requesting process */ |
pid | 30 | include/linux/smb_fs_sb.h | word pid; |
pid | 53 | include/linux/umsdos_fs_i.h | long pid; /* pid of the process owning the creation */ |
pid | 455 | init/main.c | int pid,i; |
pid | 483 | init/main.c | if (!(pid=fork())) { |
pid | 490 | init/main.c | if (pid>0) |
pid | 491 | init/main.c | while (pid != wait(&i)) |
pid | 494 | init/main.c | if ((pid = fork()) < 0) { |
pid | 498 | init/main.c | if (!pid) { |
pid | 507 | init/main.c | if (pid == wait(&i)) |
pid | 509 | init/main.c | printf("\n\rchild %d died with code %04x\n\r",pid,i); |
pid | 104 | ipc/msg.c | msq->msg_lspid = current->pid; |
pid | 189 | ipc/msg.c | msq->msg_lrpid = current->pid; |
pid | 217 | ipc/sem.c | struct sem_undo * un, int pid) |
pid | 242 | ipc/sem.c | curr->sempid = pid; |
pid | 271 | ipc/sem.c | error = do_semop(sma, q->sops, q->nsops, q->undo, q->pid); |
pid | 617 | ipc/sem.c | error = do_semop(sma, sops, nsops, un, current->pid); |
pid | 631 | ipc/sem.c | queue.pid = current->pid; |
pid | 703 | ipc/sem.c | sem->sempid = current->pid; |
pid | 116 | ipc/shm.c | shp->shm_cpid = current->pid; |
pid | 397 | ipc/shm.c | shmd->vm_task->pid, shmd->vm_start, shmd->vm_end, |
pid | 537 | ipc/shm.c | shp->shm_lpid = current->pid; |
pid | 559 | ipc/shm.c | shp->shm_lpid = current->pid; |
pid | 579 | ipc/shm.c | shp->shm_lpid = current->pid; |
pid | 141 | kernel/exit.c | task[i]->pid); |
pid | 144 | kernel/exit.c | task[i]->pid); |
pid | 147 | kernel/exit.c | task[i]->pid); |
pid | 150 | kernel/exit.c | task[i]->pid); |
pid | 153 | kernel/exit.c | task[i]->pid); |
pid | 156 | kernel/exit.c | task[i]->pid); |
pid | 159 | kernel/exit.c | task[i]->pid); |
pid | 162 | kernel/exit.c | task[i]->pid); |
pid | 167 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
pid | 168 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
pid | 172 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid); |
pid | 178 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
pid | 179 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
pid | 183 | kernel/exit.c | task[i]->pid, task[i]->p_ysptr->pid); |
pid | 189 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
pid | 193 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
pid | 215 | kernel/exit.c | if (p->pid == pgrp) |
pid | 268 | kernel/exit.c | int kill_proc(int pid, int sig, int priv) |
pid | 275 | kernel/exit.c | if (p && p->pid == pid) |
pid | 285 | kernel/exit.c | asmlinkage int sys_kill(int pid,int sig) |
pid | 289 | kernel/exit.c | if (!pid) |
pid | 291 | kernel/exit.c | if (pid == -1) { |
pid | 294 | kernel/exit.c | if (p->pid > 1 && p != current) { |
pid | 302 | kernel/exit.c | if (pid < 0) |
pid | 303 | kernel/exit.c | return(kill_pg(-pid,sig,0)); |
pid | 305 | kernel/exit.c | return(kill_proc(pid,sig,0)); |
pid | 323 | kernel/exit.c | (p->p_pptr->pid == 1)) |
pid | 483 | kernel/exit.c | asmlinkage int sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struct rusage * ru) |
pid | 498 | kernel/exit.c | if (pid>0) { |
pid | 499 | kernel/exit.c | if (p->pid != pid) |
pid | 501 | kernel/exit.c | } else if (!pid) { |
pid | 504 | kernel/exit.c | } else if (pid != -1) { |
pid | 505 | kernel/exit.c | if (p->pgrp != -pid) |
pid | 524 | kernel/exit.c | retval = p->pid; |
pid | 533 | kernel/exit.c | flag = p->pid; |
pid | 574 | kernel/exit.c | asmlinkage int sys_waitpid(pid_t pid,unsigned int * stat_addr, int options) |
pid | 576 | kernel/exit.c | return sys_wait4(pid, stat_addr, options, NULL); |
pid | 52 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid || |
pid | 194 | kernel/fork.c | p->pid = last_pid; |
pid | 227 | kernel/fork.c | return p->pid; |
pid | 728 | kernel/sched.c | return current->pid; |
pid | 733 | kernel/sched.c | return current->p_opptr->pid; |
pid | 796 | kernel/sched.c | printk("%5lu %5d %6d ", free*sizeof(long), p->pid, p->p_pptr->pid); |
pid | 798 | kernel/sched.c | printk("%5d ", p->p_cptr->pid); |
pid | 802 | kernel/sched.c | printk("%7d", p->p_ysptr->pid); |
pid | 806 | kernel/sched.c | printk(" %5d\n", p->p_osptr->pid); |
pid | 44 | kernel/sys.c | return(p->pid == who); |
pid | 471 | kernel/sys.c | asmlinkage int sys_setpgid(pid_t pid, pid_t pgid) |
pid | 475 | kernel/sys.c | if (!pid) |
pid | 476 | kernel/sys.c | pid = current->pid; |
pid | 478 | kernel/sys.c | pgid = pid; |
pid | 482 | kernel/sys.c | if (p->pid == pid) |
pid | 497 | kernel/sys.c | if (pgid != pid) { |
pid | 512 | kernel/sys.c | asmlinkage int sys_getpgid(pid_t pid) |
pid | 516 | kernel/sys.c | if (!pid) |
pid | 519 | kernel/sys.c | if (p->pid == pid) |
pid | 535 | kernel/sys.c | current->session = current->pgrp = current->pid; |
pid | 11 | lib/wait.c | _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) |
pid | 417 | net/ipv4/af_inet.c | current->pid != arg) return(-EPERM); |
pid | 1288 | net/ipv4/af_inet.c | int pid; |
pid | 1297 | net/ipv4/af_inet.c | pid = get_user((int *) arg); |
pid | 1299 | net/ipv4/af_inet.c | if (current->pid != pid && current->pgrp != -pid && !suser()) |
pid | 1301 | net/ipv4/af_inet.c | sk->proc = pid; |