tag | line | file | source code |
pid | 29 | arch/alpha/kernel/process.c | if (current->pid != 0) |
pid | 131 | arch/alpha/kernel/process.c | regs->r0 = p->pid; |
pid | 21 | arch/alpha/kernel/signal.c | asmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options); |
pid | 49 | arch/i386/kernel/process.c | if (current->pid != 0) |
pid | 38 | arch/i386/kernel/ptrace.c | static inline struct task_struct * get_task(int pid) |
pid | 43 | arch/i386/kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
pid | 300 | arch/i386/kernel/ptrace.c | asmlinkage int sys_ptrace(long request, long pid, long addr, long data) |
pid | 316 | arch/i386/kernel/ptrace.c | if (pid == 1) /* you may not mess with init */ |
pid | 318 | 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 | 185 | 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 | 33 | arch/sparc/kernel/process.c | if (current->pid != 0) |
pid | 21 | arch/sparc/kernel/signal.c | asmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options); |
pid | 658 | drivers/block/floppy.c | if (!current->pid) |
pid | 1690 | drivers/block/floppy.c | if (current->pid) |
pid | 1231 | drivers/char/tty_io.c | filp->f_owner = current->pid; |
pid | 622 | drivers/char/vt.c | spawnpid = current->pid; |
pid | 646 | drivers/char/vt.c | vt_cons[console]->vt_pid = current->pid; |
pid | 1495 | drivers/net/ppp.c | ppp->inp_sig_pid = current->pid; |
pid | 2397 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->pid); |
pid | 3072 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result); |
pid | 3119 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->pid, (int) cmd->cmd->target, |
pid | 591 | drivers/scsi/eata.c | if (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid); |
pid | 617 | drivers/scsi/eata.c | printk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid); |
pid | 641 | drivers/scsi/eata.c | BN(j), i, SCpnt->target, SCpnt->pid); |
pid | 675 | drivers/scsi/eata.c | BN(j), SCpnt->target, SCpnt->pid); |
pid | 695 | drivers/scsi/eata.c | BN(j), SCarg->target, SCarg->pid); |
pid | 701 | drivers/scsi/eata.c | BN(j), i, SCarg->target, SCarg->pid); |
pid | 753 | drivers/scsi/eata.c | BN(j), SCarg->target, SCarg->pid); |
pid | 756 | drivers/scsi/eata.c | printk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid); |
pid | 787 | drivers/scsi/eata.c | BN(j), i, SCpnt->pid); |
pid | 836 | drivers/scsi/eata.c | BN(j), i, SCpnt->pid); |
pid | 934 | drivers/scsi/eata.c | BN(j), i, SCpnt->pid, SCpnt); |
pid | 938 | drivers/scsi/eata.c | " irq %d.\n", BN(j), i, SCpnt->pid, |
pid | 976 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
pid | 1034 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
pid | 182 | drivers/scsi/eata_dma.c | irq, base, cmd->pid, cmd->target, cmd->lun, |
pid | 328 | drivers/scsi/eata_dma.c | cmd->pid, cmd->target, cmd->lun, y)); |
pid | 390 | drivers/scsi/eata_dma.c | cmd->target, cmd->pid); |
pid | 396 | drivers/scsi/eata_dma.c | (long)sh->base, cmd->pid, cmd->target, cmd->lun, y, sh->irq)); |
pid | 432 | drivers/scsi/eata_dma.c | cmd->pid, cmd->target, cmd->lun, cmd->abort_reason)); |
pid | 480 | drivers/scsi/eata_dma.c | cmd->pid, cmd->target, cmd->lun, cmd->abort_reason)); |
pid | 513 | drivers/scsi/eata_dma.c | printk("eata_reset: slot %d in reset, pid %ld.\n", x, sp->pid); |
pid | 555 | drivers/scsi/eata_dma.c | x, sp->pid); |
pid | 49 | drivers/scsi/scsi.c | static void scsi_times_out (Scsi_Cmnd * SCpnt, int pid); |
pid | 641 | drivers/scsi/scsi.c | static void scsi_times_out (Scsi_Cmnd * SCpnt, int pid) |
pid | 653 | drivers/scsi/scsi.c | if (!scsi_abort (SCpnt, DID_TIME_OUT, pid)) |
pid | 1011 | drivers/scsi/scsi.c | SCpnt->pid = scsi_pid++; |
pid | 1525 | drivers/scsi/scsi.c | int scsi_abort (Scsi_Cmnd * SCpnt, int why, int pid) |
pid | 1540 | drivers/scsi/scsi.c | if (SCpnt->request.dev == -1 || pid != SCpnt->pid) { |
pid | 1570 | drivers/scsi/scsi.c | SCpnt->pid, SCpnt->host->host_no, (int) SCpnt->target, (int) |
pid | 1573 | drivers/scsi/scsi.c | if (SCpnt->request.dev == -1 || pid != SCpnt->pid) |
pid | 1657 | drivers/scsi/scsi.c | scsi_abort(SCpnt1, DID_RESET, SCpnt->pid); |
pid | 1724 | drivers/scsi/scsi.c | int timed_out, pid; |
pid | 1745 | drivers/scsi/scsi.c | pid = SCpnt->pid; |
pid | 1747 | drivers/scsi/scsi.c | scsi_times_out(SCpnt, pid); |
pid | 508 | drivers/scsi/scsi.h | unsigned long pid; /* Process ID, starts at 0 */ |
pid | 517 | drivers/scsi/scsi.h | extern int scsi_abort (Scsi_Cmnd *, int code, int pid); |
pid | 535 | drivers/scsi/u14-34f.c | if (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid); |
pid | 561 | drivers/scsi/u14-34f.c | printk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid); |
pid | 576 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->target, SCpnt->pid); |
pid | 602 | drivers/scsi/u14-34f.c | BN(j), SCpnt->target, SCpnt->pid); |
pid | 628 | drivers/scsi/u14-34f.c | BN(j), SCarg->target, SCarg->pid); |
pid | 634 | drivers/scsi/u14-34f.c | BN(j), i, SCarg->target, SCarg->pid); |
pid | 686 | drivers/scsi/u14-34f.c | BN(j), SCarg->target, SCarg->pid); |
pid | 689 | drivers/scsi/u14-34f.c | printk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid); |
pid | 720 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->pid); |
pid | 770 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->pid); |
pid | 870 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->pid, SCpnt); |
pid | 874 | drivers/scsi/u14-34f.c | " irq %d.\n", BN(j), i, SCpnt->pid, |
pid | 912 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
pid | 971 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
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 | 78 | fs/locks.c | flock.l_pid = fl->fl_owner->pid; |
pid | 157 | fs/locks.c | if (locks_deadlocked(file_lock.fl_owner->pid,fl->fl_owner->pid)) |
pid | 190 | fs/locks.c | if (fl->fl_owner->pid != my_pid) continue; |
pid | 195 | fs/locks.c | if (dlock_wait->task->pid == blocked_pid) |
pid | 197 | fs/locks.c | ret_val = locks_deadlocked(dlock_wait->task->pid,blocked_pid); |
pid | 326 | fs/proc/array.c | static struct task_struct ** get_task(pid_t pid) |
pid | 332 | fs/proc/array.c | if (*p && (*p)->pid == pid) |
pid | 401 | fs/proc/array.c | static int get_env(int pid, char * buffer) |
pid | 403 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 410 | fs/proc/array.c | static int get_arg(int pid, char * buffer) |
pid | 412 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 448 | fs/proc/array.c | static int get_stat(int pid, char * buffer) |
pid | 450 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 486 | fs/proc/array.c | pid, |
pid | 489 | fs/proc/array.c | (*p)->p_pptr->pid, |
pid | 598 | fs/proc/array.c | static int get_statm(int pid, char * buffer) |
pid | 600 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 657 | fs/proc/array.c | static int read_maps (int pid, struct file * file, char * buf, int count) |
pid | 659 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 811 | fs/proc/array.c | static int get_process_array(char * page, int pid, int type) |
pid | 815 | fs/proc/array.c | return get_env(pid, page); |
pid | 817 | fs/proc/array.c | return get_arg(pid, page); |
pid | 819 | fs/proc/array.c | return get_stat(pid, page); |
pid | 821 | fs/proc/array.c | return get_statm(pid, page); |
pid | 827 | fs/proc/array.c | static inline int fill_array(char * page, int pid, int type) |
pid | 829 | fs/proc/array.c | if (pid) |
pid | 830 | fs/proc/array.c | return get_process_array(page, pid, type); |
pid | 839 | fs/proc/array.c | unsigned int type, pid; |
pid | 846 | fs/proc/array.c | pid = type >> 16; |
pid | 848 | fs/proc/array.c | length = fill_array((char *) page, pid, type); |
pid | 899 | fs/proc/array.c | unsigned int pid = inode->i_ino >> 16; |
pid | 907 | 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 | 145 | 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 | 121 | fs/proc/fd.c | unsigned int fd, pid, ino; |
pid | 127 | fs/proc/fd.c | pid = ino >> 16; |
pid | 149 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
pid | 166 | fs/proc/fd.c | ino = (pid << 16) + (PROC_PID_FD_DIR << 8) + fd; |
pid | 111 | fs/proc/inode.c | unsigned long ino, pid; |
pid | 125 | fs/proc/inode.c | pid = ino >> 16; |
pid | 128 | fs/proc/inode.c | if ((p = task[i]) && (p->pid == pid)) |
pid | 166 | 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 | 34 | fs/proc/mem.c | unsigned long addr, pid; |
pid | 40 | fs/proc/mem.c | pid = inode->i_ino; |
pid | 41 | fs/proc/mem.c | pid >>= 16; |
pid | 44 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
pid | 96 | fs/proc/mem.c | unsigned long addr, pid; |
pid | 103 | fs/proc/mem.c | pid = inode->i_ino; |
pid | 104 | fs/proc/mem.c | pid >>= 16; |
pid | 107 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
pid | 189 | fs/proc/mem.c | if (task[i] && task[i]->pid == (inode->i_ino >> 16)) { |
pid | 90 | fs/proc/root.c | unsigned int pid, c; |
pid | 110 | fs/proc/root.c | ino = (current->pid << 16) + 2; |
pid | 112 | fs/proc/root.c | pid = 0; |
pid | 117 | fs/proc/root.c | pid = 0; |
pid | 120 | fs/proc/root.c | pid *= 10; |
pid | 121 | fs/proc/root.c | pid += c; |
pid | 122 | fs/proc/root.c | if (pid & 0xffff0000) { |
pid | 123 | fs/proc/root.c | pid = 0; |
pid | 128 | fs/proc/root.c | if (task[i] && task[i]->pid == pid) |
pid | 130 | fs/proc/root.c | if (!pid || i >= NR_TASKS) { |
pid | 134 | fs/proc/root.c | ino = (pid << 16) + 2; |
pid | 148 | fs/proc/root.c | unsigned int nr,pid; |
pid | 173 | fs/proc/root.c | if (!p || !(pid = p->pid)) |
pid | 175 | fs/proc/root.c | if (pid & 0xffff0000) |
pid | 179 | fs/proc/root.c | while (pid >= j) { |
pid | 184 | fs/proc/root.c | put_fs_long((pid << 16)+2, &dirent->d_ino); |
pid | 188 | fs/proc/root.c | put_fs_byte('0'+(pid % 10), i+dirent->d_name); |
pid | 189 | fs/proc/root.c | pid /= 10; |
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 | 54 | include/asm-alpha/unistd.h | printk("[%d]fork()\n",current->pid); |
pid | 61 | include/asm-alpha/unistd.h | printk("[%d]idle()\n",current->pid); |
pid | 71 | include/asm-alpha/unistd.h | printk("[%d]setup()\n",current->pid); |
pid | 73 | include/asm-alpha/unistd.h | printk("[%d]setup() returned %d\n",current->pid, retval); |
pid | 80 | include/asm-alpha/unistd.h | printk("[%d]open(%s,%d,%d)\n",current->pid, name, mode, flags); |
pid | 82 | include/asm-alpha/unistd.h | printk("[%d]open(%s,%d,%d)=%d\n",current->pid, name, mode, flags, fd); |
pid | 90 | include/asm-alpha/unistd.h | printk("[%d]dup(%d)=%d\n",current->pid, fd, newfd); |
pid | 96 | include/asm-alpha/unistd.h | printk("[%d]close(%d)\n",current->pid,fd); |
pid | 103 | include/asm-alpha/unistd.h | printk("[%d]_exit(%d)\n", current->pid, value); |
pid | 119 | include/asm-alpha/unistd.h | printk("[%d]read(%d,%s,%d)=%d\n",current->pid, fd, buf, nr, res); |
pid | 123 | include/asm-alpha/unistd.h | #define execve(x,y,z) ({ printk("[%d]execve(%s,%p,%p)\n",current->pid, x, y, z); -1; }) |
pid | 125 | include/asm-alpha/unistd.h | #define setsid() ({ printk("[%d]setsid()\n",current->pid); -1; }) |
pid | 126 | include/asm-alpha/unistd.h | #define sync() ({ printk("[%d]sync()\n",current->pid); -1; }) |
pid | 132 | include/asm-alpha/unistd.h | printk("[%d]wait(%p)\n", current->pid, wait_stat); |
pid | 134 | include/asm-alpha/unistd.h | printk("[%d]wait(%p) returned %ld\n", current->pid, wait_stat, retval); |
pid | 114 | include/asm-i386/unistd.h | static inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) |
pid | 154 | include/asm-sparc/unistd.h | static inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) |
pid | 50 | include/linux/kernel.h | extern int kill_proc(int pid, int sig, int priv); |
pid | 158 | 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 | 53 | include/linux/umsdos_fs_i.h | long pid; /* pid of the process owning the creation */ |
pid | 123 | include/linux/umsdos_fs_i.h | long pid; /* pid of the process owning the creation */ |
pid | 420 | init/main.c | int pid,i; |
pid | 449 | init/main.c | if (!(pid=fork())) { |
pid | 456 | init/main.c | if (pid>0) |
pid | 457 | init/main.c | while (pid != wait(&i)) |
pid | 460 | init/main.c | if ((pid = fork()) < 0) { |
pid | 464 | init/main.c | if (!pid) { |
pid | 473 | init/main.c | if (pid == wait(&i)) |
pid | 475 | 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 | 117 | ipc/shm.c | shp->shm_cpid = current->pid; |
pid | 398 | ipc/shm.c | shmd->vm_task->pid, shmd->vm_start, shmd->vm_end, |
pid | 529 | ipc/shm.c | shp->shm_lpid = current->pid; |
pid | 551 | ipc/shm.c | shp->shm_lpid = current->pid; |
pid | 571 | ipc/shm.c | shp->shm_lpid = current->pid; |
pid | 140 | kernel/exit.c | task[i]->pid); |
pid | 143 | kernel/exit.c | task[i]->pid); |
pid | 146 | kernel/exit.c | task[i]->pid); |
pid | 149 | kernel/exit.c | task[i]->pid); |
pid | 152 | kernel/exit.c | task[i]->pid); |
pid | 155 | kernel/exit.c | task[i]->pid); |
pid | 158 | kernel/exit.c | task[i]->pid); |
pid | 161 | kernel/exit.c | task[i]->pid); |
pid | 166 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
pid | 167 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
pid | 171 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid); |
pid | 177 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
pid | 178 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
pid | 182 | kernel/exit.c | task[i]->pid, task[i]->p_ysptr->pid); |
pid | 188 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
pid | 192 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
pid | 214 | kernel/exit.c | if (p->pid == pgrp) |
pid | 267 | kernel/exit.c | int kill_proc(int pid, int sig, int priv) |
pid | 274 | kernel/exit.c | if (p && p->pid == pid) |
pid | 284 | kernel/exit.c | asmlinkage int sys_kill(int pid,int sig) |
pid | 288 | kernel/exit.c | if (!pid) |
pid | 290 | kernel/exit.c | if (pid == -1) { |
pid | 293 | kernel/exit.c | if (p->pid > 1 && p != current) { |
pid | 301 | kernel/exit.c | if (pid < 0) |
pid | 302 | kernel/exit.c | return(kill_pg(-pid,sig,0)); |
pid | 304 | kernel/exit.c | return(kill_proc(pid,sig,0)); |
pid | 322 | kernel/exit.c | (p->p_pptr->pid == 1)) |
pid | 481 | kernel/exit.c | asmlinkage int sys_wait4(pid_t pid,unsigned long * stat_addr, int options, struct rusage * ru) |
pid | 496 | kernel/exit.c | if (pid>0) { |
pid | 497 | kernel/exit.c | if (p->pid != pid) |
pid | 499 | kernel/exit.c | } else if (!pid) { |
pid | 502 | kernel/exit.c | } else if (pid != -1) { |
pid | 503 | kernel/exit.c | if (p->pgrp != -pid) |
pid | 522 | kernel/exit.c | retval = p->pid; |
pid | 531 | kernel/exit.c | flag = p->pid; |
pid | 572 | kernel/exit.c | asmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options) |
pid | 574 | kernel/exit.c | return sys_wait4(pid, stat_addr, options, NULL); |
pid | 50 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid || |
pid | 192 | kernel/fork.c | p->pid = last_pid; |
pid | 220 | kernel/fork.c | return p->pid; |
pid | 677 | kernel/sched.c | return current->pid; |
pid | 682 | kernel/sched.c | return current->p_opptr->pid; |
pid | 740 | kernel/sched.c | printk("%5lu %5d %6d ", free << 2, p->pid, p->p_pptr->pid); |
pid | 742 | kernel/sched.c | printk("%5d ", p->p_cptr->pid); |
pid | 746 | kernel/sched.c | printk("%7d", p->p_ysptr->pid); |
pid | 750 | kernel/sched.c | printk(" %5d\n", p->p_osptr->pid); |
pid | 44 | kernel/sys.c | return(p->pid == who); |
pid | 454 | kernel/sys.c | asmlinkage int sys_setpgid(pid_t pid, pid_t pgid) |
pid | 458 | kernel/sys.c | if (!pid) |
pid | 459 | kernel/sys.c | pid = current->pid; |
pid | 461 | kernel/sys.c | pgid = pid; |
pid | 465 | kernel/sys.c | if (p->pid == pid) |
pid | 480 | kernel/sys.c | if (pgid != pid) { |
pid | 495 | kernel/sys.c | asmlinkage int sys_getpgid(pid_t pid) |
pid | 499 | kernel/sys.c | if (!pid) |
pid | 502 | kernel/sys.c | if (p->pid == pid) |
pid | 518 | 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 | 400 | net/inet/af_inet.c | current->pid != arg) return(-EPERM); |