tag | line | file | source code |
pid | 153 | arch/alpha/kernel/osf_sys.c | (®s)->r20 = current->p_opptr->pid; |
pid | 154 | arch/alpha/kernel/osf_sys.c | return current->pid; |
pid | 43 | arch/alpha/kernel/process.c | if (current->pid != 0) |
pid | 110 | arch/alpha/kernel/ptrace.c | static inline struct task_struct * get_task(int pid) |
pid | 115 | arch/alpha/kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
pid | 486 | arch/alpha/kernel/ptrace.c | asmlinkage long sys_ptrace(long request, long pid, long addr, long data, |
pid | 495 | arch/alpha/kernel/ptrace.c | request, pid, addr, data)); |
pid | 504 | arch/alpha/kernel/ptrace.c | if (pid == 1) /* you may not mess with init */ |
pid | 506 | 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 | 259 | arch/alpha/kernel/signal.c | if (current->pid == 1) |
pid | 28 | arch/alpha/kernel/traps.c | printk("%s(%d): %s %ld\n", current->comm, current->pid, str, err); |
pid | 257 | arch/alpha/kernel/traps.c | current->comm, current->pid, |
pid | 94 | arch/i386/kernel/process.c | if (current->pid != 0) |
pid | 131 | 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 | 298 | arch/i386/kernel/ptrace.c | asmlinkage int sys_ptrace(long request, long pid, long addr, long data) |
pid | 314 | arch/i386/kernel/ptrace.c | if (pid == 1) /* you may not mess with init */ |
pid | 316 | 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 | 817 | arch/i386/kernel/smp.c | if (current->pid) |
pid | 831 | arch/i386/kernel/smp.c | if(current->pid) |
pid | 834 | arch/i386/kernel/smp.c | if (prof_buffer && current->pid) { |
pid | 880 | arch/i386/kernel/smp.c | if ( 0 > --current->counter || current->pid == 0) |
pid | 127 | arch/i386/kernel/traps.c | current->comm, current->pid, 0xffff & i, current->kernel_stack_page); |
pid | 132 | arch/mips/kernel/process.c | regs->reg2 = p->pid; |
pid | 37 | arch/mips/kernel/ptrace.c | static inline struct task_struct * get_task(int pid) |
pid | 42 | arch/mips/kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
pid | 276 | arch/mips/kernel/ptrace.c | asmlinkage int sys_ptrace(long request, long pid, long addr, long data) |
pid | 296 | arch/mips/kernel/ptrace.c | if (pid == 1) /* you may not mess with init */ |
pid | 298 | 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 | 279 | arch/mips/kernel/signal.c | if (current->pid == 1) |
pid | 55 | arch/mips/kernel/syscall.c | if (current->pid != 0) |
pid | 107 | arch/mips/kernel/traps.c | current->comm, current->pid, current->kernel_stack_page); |
pid | 191 | arch/mips/kernel/traps.c | if(task[i] && task[i]->pid >= 2) |
pid | 193 | arch/mips/kernel/traps.c | printk("Process %d\n", task[i]->pid); |
pid | 257 | arch/mips/kernel/traps.c | if(task[i] && task[i]->pid >= 2) |
pid | 259 | arch/mips/kernel/traps.c | printk("Process %d\n", task[i]->pid); |
pid | 63 | arch/ppc/kernel/process.c | if (current->pid != 0) |
pid | 21 | arch/ppc/kernel/signal.c | asmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options); |
pid | 34 | arch/ppc/kernel/signal.c | printk("Task: %x[%d] - SIGSUSPEND at %x, Mask: %x\n", current, current->pid, regs->nip, set); |
pid | 143 | arch/ppc/kernel/signal.c | if (current->pid == 1) |
pid | 99 | arch/ppc/kernel/traps.c | printk("TASK = %x[%d] '%s'\n", current, current->pid, current->comm); |
pid | 118 | arch/ppc/kernel/traps.c | printk("Task: %08X(%d), PC: %08X/%08X, Syscall: %3d, Result: %d\n", current, current->pid, regs->nip, regs->link, regs->gpr[0], regs->gpr[3]); |
pid | 195 | arch/ppc/mm/fault.c | regs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code); |
pid | 213 | arch/ppc/mm/fault.c | printk("stack: gpr[1]=%x ip = %x; current=%x[%d]; mm=%x; mmap=%x; address = %x error_code = %x\n",regs->gpr[1],regs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code); |
pid | 222 | arch/ppc/mm/fault.c | printk("stack2: gpr[1]=%x ip = %x; current=%x[%d]; mm=%x; mmap=%x; address = %x error_code = %x\n",regs->gpr[1],regs->nip, current,current->pid,current->mm,current->mm->mmap, address, error_code); |
pid | 39 | arch/sparc/kernel/process.c | if (current->pid != 0) |
pid | 166 | arch/sparc/kernel/process.c | childregs->u_regs[UREG_I0] = current->pid; |
pid | 24 | arch/sparc/kernel/signal.c | asmlinkage int sys_waitpid(pid_t pid, unsigned long *stat_addr, int options); |
pid | 190 | arch/sparc/kernel/signal.c | current->comm, current->pid); |
pid | 295 | arch/sparc/kernel/signal.c | if(current->pid == 1) |
pid | 772 | arch/sparc/kernel/sys_sunos.c | asmlinkage int sunos_setpgrp(pid_t pid, pid_t pgid) |
pid | 775 | arch/sparc/kernel/sys_sunos.c | if((!pid || pid == current->pid) && |
pid | 780 | arch/sparc/kernel/sys_sunos.c | return sys_setpgid(pid, pgid); |
pid | 786 | arch/sparc/kernel/sys_sunos.c | asmlinkage int sunos_wait4(pid_t pid, unsigned int *stat_addr, int options, struct rusage *ru) |
pid | 788 | arch/sparc/kernel/sys_sunos.c | return sys_wait4((pid ? pid : -1), stat_addr, options, ru); |
pid | 27 | arch/sparc/kernel/traps.c | current->comm, current->pid, |
pid | 236 | arch/sparc/mm/fault.c | current->pid, push); |
pid | 297 | arch/sparc/mm/fault.c | current->comm, current->pid, regs->pc, regs->u_regs[UREG_FP]); |
pid | 487 | arch/sparc/mm/sun4c.c | if(tsk->pid == 0 || ctx != -1) |
pid | 822 | drivers/cdrom/mcdx.c | if (current->pid == 0) { /* no sleep allowed */ |
pid | 1245 | drivers/cdrom/mcdx.c | stuffp->lock = current->pid; |
pid | 2349 | drivers/char/cyclades.c | printk("cyc: %d(%d): decrementing count to %d\n", __LINE__, current->pid, info->count - 1); |
pid | 2421 | drivers/char/cyclades.c | printk("cyc: %d(%d): setting count to 0\n", __LINE__, current->pid); |
pid | 2509 | drivers/char/cyclades.c | printk("cyc: %d(%d): decrementing count to %d\n", __LINE__, current->pid, info->count); |
pid | 2569 | drivers/char/cyclades.c | printk("cyc: %d(%d): incrementing count to %d\n", __LINE__, current->pid, info->count); |
pid | 2613 | drivers/char/cyclades.c | printk("cyc: %d(%d): incrementing count to %d\n", __LINE__, current->pid, info->count); |
pid | 1316 | drivers/char/tty_io.c | filp->f_owner = current->pid; |
pid | 674 | drivers/char/vt.c | spawnpid = current->pid; |
pid | 698 | drivers/char/vt.c | vt_cons[console]->vt_pid = current->pid; |
pid | 2138 | drivers/scsi/53c7,8xx.c | host->host_no, c->pid); |
pid | 2161 | drivers/scsi/53c7,8xx.c | host->host_no, c->pid); |
pid | 2987 | drivers/scsi/53c7,8xx.c | event->pid = c->pid; |
pid | 2991 | drivers/scsi/53c7,8xx.c | event->pid = -1; |
pid | 4452 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result); |
pid | 4514 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->pid, (int) cmd->cmd->target, |
pid | 5433 | drivers/scsi/53c7,8xx.c | cmd->pid); |
pid | 5458 | drivers/scsi/53c7,8xx.c | cmd->pid); |
pid | 5466 | drivers/scsi/53c7,8xx.c | if (cache_pid == cmd->pid) |
pid | 5467 | drivers/scsi/53c7,8xx.c | panic ("scsi%d : bloody fetus %d\n", host->host_no, cmd->pid); |
pid | 5469 | drivers/scsi/53c7,8xx.c | cache_pid = cmd->pid; |
pid | 5498 | drivers/scsi/53c7,8xx.c | host->host_no, me->pid); |
pid | 5523 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->pid); |
pid | 5632 | drivers/scsi/53c7,8xx.c | printk ("scsi%d: lost command %ld\n", host->host_no, cmd->pid); |
pid | 5873 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->pid); |
pid | 5880 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->pid, cmd->target, cmd->lun); |
pid | 6310 | drivers/scsi/53c7,8xx.c | if (event.pid != -1) { |
pid | 6311 | drivers/scsi/53c7,8xx.c | printk (" event for pid %ld ", event.pid); |
pid | 1056 | drivers/scsi/53c7,8xx.h | unsigned long pid; /* The SCSI PID which caused this |
pid | 2195 | drivers/scsi/BusLogic.c | unsigned long CommandPID = Command->pid; |
pid | 2244 | drivers/scsi/BusLogic.c | CCB->Command == Command && Command->pid == CommandPID) |
pid | 621 | drivers/scsi/eata.c | if (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid); |
pid | 647 | drivers/scsi/eata.c | printk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid); |
pid | 671 | drivers/scsi/eata.c | BN(j), i, SCpnt->target, SCpnt->pid); |
pid | 705 | drivers/scsi/eata.c | BN(j), SCpnt->target, SCpnt->pid); |
pid | 725 | drivers/scsi/eata.c | BN(j), SCarg->target, SCarg->pid); |
pid | 732 | drivers/scsi/eata.c | BN(j), i, SCarg->target, SCarg->pid); |
pid | 784 | drivers/scsi/eata.c | BN(j), SCarg->target, SCarg->pid); |
pid | 787 | drivers/scsi/eata.c | printk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid); |
pid | 818 | drivers/scsi/eata.c | BN(j), i, SCpnt->pid); |
pid | 867 | drivers/scsi/eata.c | BN(j), i, SCpnt->pid); |
pid | 965 | drivers/scsi/eata.c | BN(j), i, SCpnt->pid, SCpnt); |
pid | 969 | drivers/scsi/eata.c | " irq %d.\n", BN(j), i, SCpnt->pid, |
pid | 1002 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
pid | 1060 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
pid | 214 | drivers/scsi/eata_dma.c | "%#.2x \n", irq, base, cmd->pid, cmd->target, |
pid | 295 | drivers/scsi/eata_dma.c | cmd->pid, eata_stat, hba_stat, scsi_stat, |
pid | 404 | drivers/scsi/eata_dma.c | cmd->pid, cmd->target, cmd->lun, y)); |
pid | 514 | drivers/scsi/eata_dma.c | "returning DID_BUS_BUSY\n",cmd->target, cmd->pid)); |
pid | 521 | drivers/scsi/eata_dma.c | "slot %d irq %d\n", (s32)sh->base, cmd->pid, |
pid | 538 | drivers/scsi/eata_dma.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
pid | 589 | drivers/scsi/eata_dma.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
pid | 626 | drivers/scsi/eata_dma.c | printk("eata_reset: slot %d in reset, pid %ld.\n", x, sp->pid); |
pid | 670 | drivers/scsi/eata_dma.c | x, sp->pid); |
pid | 321 | drivers/scsi/eata_pio.c | cmd->pid, cmd->target, cmd->lun, y)); |
pid | 382 | drivers/scsi/eata_pio.c | "DID_BUS_BUSY, done.\n", cmd->target, cmd->pid); |
pid | 394 | drivers/scsi/eata_pio.c | "slot %d irq %d\n", (long)sh->base, cmd->pid, |
pid | 411 | drivers/scsi/eata_pio.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
pid | 460 | drivers/scsi/eata_pio.c | "reason %x\n", cmd->pid, cmd->target, cmd->lun, |
pid | 484 | drivers/scsi/eata_pio.c | printk("eata_pio_reset: slot %d in reset, pid %ld.\n", x, sp->pid); |
pid | 79 | drivers/scsi/scsi.c | static void scsi_times_out (Scsi_Cmnd * SCpnt, int pid); |
pid | 792 | drivers/scsi/scsi.c | static void scsi_times_out (Scsi_Cmnd * SCpnt, int pid) |
pid | 804 | drivers/scsi/scsi.c | if (!scsi_abort (SCpnt, DID_TIME_OUT, pid)) |
pid | 808 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->pid); |
pid | 1259 | drivers/scsi/scsi.c | SCpnt->pid = scsi_pid++; |
pid | 1758 | drivers/scsi/scsi.c | int scsi_abort (Scsi_Cmnd * SCpnt, int why, int pid) |
pid | 1773 | drivers/scsi/scsi.c | if (SCpnt->request.rq_status == RQ_INACTIVE || pid != SCpnt->pid) { |
pid | 1806 | drivers/scsi/scsi.c | SCpnt->pid, SCpnt->host->host_no, (int) SCpnt->channel, |
pid | 1809 | drivers/scsi/scsi.c | if (SCpnt->request.rq_status == RQ_INACTIVE || pid != SCpnt->pid) |
pid | 1957 | drivers/scsi/scsi.c | scsi_abort(SCpnt1, DID_RESET, SCpnt->pid); |
pid | 2063 | drivers/scsi/scsi.c | int timed_out, pid; |
pid | 2084 | drivers/scsi/scsi.c | pid = SCpnt->pid; |
pid | 2086 | drivers/scsi/scsi.c | scsi_times_out(SCpnt, pid); |
pid | 422 | drivers/scsi/scsi.h | unsigned long pid; /* Process ID, starts at 0 */ |
pid | 431 | drivers/scsi/scsi.h | extern int scsi_abort (Scsi_Cmnd *, int code, int pid); |
pid | 575 | drivers/scsi/u14-34f.c | if (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid); |
pid | 601 | drivers/scsi/u14-34f.c | printk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid); |
pid | 616 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->target, SCpnt->pid); |
pid | 642 | drivers/scsi/u14-34f.c | BN(j), SCpnt->target, SCpnt->pid); |
pid | 668 | drivers/scsi/u14-34f.c | BN(j), SCarg->target, SCarg->pid); |
pid | 675 | drivers/scsi/u14-34f.c | BN(j), i, SCarg->target, SCarg->pid); |
pid | 727 | drivers/scsi/u14-34f.c | BN(j), SCarg->target, SCarg->pid); |
pid | 730 | drivers/scsi/u14-34f.c | printk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid); |
pid | 761 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->pid); |
pid | 811 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->pid); |
pid | 911 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->pid, SCpnt); |
pid | 915 | drivers/scsi/u14-34f.c | " irq %d.\n", BN(j), i, SCpnt->pid, |
pid | 948 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, |
pid | 1007 | drivers/scsi/u14-34f.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
pid | 1058 | fs/binfmt_elf.c | psinfo.pr_pid = prstatus.pr_pid = current->pid; |
pid | 1059 | fs/binfmt_elf.c | psinfo.pr_ppid = prstatus.pr_ppid = current->p_pptr->pid; |
pid | 132 | fs/fcntl.c | if (current->pgrp == -arg || current->pid == arg) |
pid | 136 | fs/fcntl.c | if ((p->pid == arg) || (p->pid == -arg) || |
pid | 141 | fs/locks.c | flock.l_pid = fl->fl_owner->pid; |
pid | 513 | fs/ncpfs/sock.c | h->task = (current->pid) & 0xff; |
pid | 549 | fs/ncpfs/sock.c | h->task = (current->pid) & 0xff; |
pid | 574 | fs/ncpfs/sock.c | h->task = (current->pid) & 0xff; |
pid | 303 | fs/proc/array.c | static struct task_struct ** get_task(pid_t pid) |
pid | 309 | fs/proc/array.c | if (*p && (*p)->pid == pid) |
pid | 378 | fs/proc/array.c | static int get_env(int pid, char * buffer) |
pid | 380 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 387 | fs/proc/array.c | static int get_arg(int pid, char * buffer) |
pid | 389 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 458 | fs/proc/array.c | static int get_stat(int pid, char * buffer) |
pid | 460 | fs/proc/array.c | struct task_struct ** p = get_task(pid), *tsk; |
pid | 516 | fs/proc/array.c | pid, |
pid | 519 | fs/proc/array.c | tsk->p_pptr->pid, |
pid | 626 | fs/proc/array.c | static int get_statm(int pid, char * buffer) |
pid | 628 | fs/proc/array.c | struct task_struct ** p = get_task(pid), *tsk; |
pid | 685 | fs/proc/array.c | static int read_maps (int pid, struct file * file, char * buf, int count) |
pid | 687 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 849 | fs/proc/array.c | static int get_process_array(char * page, int pid, int type) |
pid | 853 | fs/proc/array.c | return get_env(pid, page); |
pid | 855 | fs/proc/array.c | return get_arg(pid, page); |
pid | 857 | fs/proc/array.c | return get_stat(pid, page); |
pid | 859 | fs/proc/array.c | return get_statm(pid, page); |
pid | 865 | fs/proc/array.c | static inline int fill_array(char * page, int pid, int type, char **start, off_t offset, int length) |
pid | 867 | fs/proc/array.c | if (pid) |
pid | 868 | fs/proc/array.c | return get_process_array(page, pid, type); |
pid | 880 | fs/proc/array.c | unsigned int type, pid; |
pid | 889 | fs/proc/array.c | pid = type >> 16; |
pid | 892 | fs/proc/array.c | length = fill_array((char *) page, pid, type, |
pid | 954 | fs/proc/array.c | unsigned int pid = inode->i_ino >> 16; |
pid | 962 | fs/proc/array.c | return read_maps(pid, file, buf, count); |
pid | 55 | fs/proc/base.c | int pid = inode->i_ino >> 16; |
pid | 59 | fs/proc/base.c | if (p->pid == pid) { |
pid | 58 | fs/proc/fd.c | unsigned int ino, pid, fd, c; |
pid | 65 | fs/proc/fd.c | pid = ino >> 16; |
pid | 70 | fs/proc/fd.c | if (!pid || ino != PROC_PID_FD || !S_ISDIR(dir->i_mode)) { |
pid | 80 | fs/proc/fd.c | if (!(*result = proc_get_inode(sb, (pid << 16)+PROC_PID_INO, &proc_pid))) { |
pid | 104 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
pid | 106 | fs/proc/fd.c | if (!pid || i >= NR_TASKS) |
pid | 112 | fs/proc/fd.c | ino = (pid << 16) + (PROC_PID_FD_DIR << 8) + fd; |
pid | 127 | fs/proc/fd.c | unsigned int fd, pid, ino; |
pid | 133 | fs/proc/fd.c | pid = ino >> 16; |
pid | 148 | fs/proc/fd.c | if ((p = task[task_nr]) && p->pid == pid) |
pid | 168 | fs/proc/fd.c | ino = (pid << 16) + (PROC_PID_FD_DIR << 8) + fd; |
pid | 173 | fs/proc/fd.c | if (p != task[task_nr] || p->pid != pid) |
pid | 134 | fs/proc/inode.c | unsigned long ino, pid; |
pid | 148 | fs/proc/inode.c | pid = ino >> 16; |
pid | 151 | fs/proc/inode.c | if ((p = task[i]) && (p->pid == pid)) |
pid | 164 | fs/proc/inode.c | if (!pid) { |
pid | 68 | fs/proc/link.c | unsigned int pid, ino; |
pid | 83 | fs/proc/link.c | pid = ino >> 16; |
pid | 86 | fs/proc/link.c | if ((p = task[i]) && p->pid == pid) |
pid | 60 | fs/proc/mem.c | unsigned long addr, pid; |
pid | 66 | fs/proc/mem.c | pid = inode->i_ino; |
pid | 67 | fs/proc/mem.c | pid >>= 16; |
pid | 70 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
pid | 125 | fs/proc/mem.c | unsigned long addr, pid; |
pid | 132 | fs/proc/mem.c | pid = inode->i_ino; |
pid | 133 | fs/proc/mem.c | pid >>= 16; |
pid | 136 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
pid | 218 | fs/proc/mem.c | if (task[i] && task[i]->pid == (inode->i_ino >> 16)) { |
pid | 216 | fs/proc/root.c | *res_inode = proc_get_inode(inode->i_sb, (current->pid << 16) + PROC_PID_INO, &proc_pid); |
pid | 229 | fs/proc/root.c | len = 1 + sprintf(tmp, "%d", current->pid); |
pid | 443 | fs/proc/root.c | unsigned int pid, c; |
pid | 453 | fs/proc/root.c | pid = 0; |
pid | 458 | fs/proc/root.c | pid = 0; |
pid | 461 | fs/proc/root.c | pid *= 10; |
pid | 462 | fs/proc/root.c | pid += c; |
pid | 463 | fs/proc/root.c | if (pid & 0xffff0000) { |
pid | 464 | fs/proc/root.c | pid = 0; |
pid | 469 | fs/proc/root.c | if (task[i] && task[i]->pid == pid) |
pid | 471 | fs/proc/root.c | if (!pid || i >= NR_TASKS) { |
pid | 475 | fs/proc/root.c | ino = (pid << 16) + PROC_PID_INO; |
pid | 549 | fs/proc/root.c | unsigned int nr,pid; |
pid | 563 | fs/proc/root.c | if (!p || !(pid = p->pid)) |
pid | 567 | fs/proc/root.c | i = pid; |
pid | 574 | fs/proc/root.c | if (filldir(dirent, buf+j, NUMBUF-j, filp->f_pos, (pid << 16) + PROC_PID_INO) < 0) |
pid | 236 | fs/smbfs/inode.c | server->pid = current->pid; |
pid | 237 | fs/smbfs/inode.c | server->mid = current->pid + 20; |
pid | 499 | fs/smbfs/proc.c | WSET(buf, smb_pid, server->pid); |
pid | 1754 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv4, server->pid); |
pid | 1778 | fs/smbfs/proc.c | WSET(server->packet, smb_vwv4, server->pid); |
pid | 36 | fs/umsdos/namei.c | && dir->u.umsdos_i.u.dir_info.pid != current->pid){ |
pid | 90 | fs/umsdos/namei.c | dir->u.umsdos_i.u.dir_info.pid = current->pid; |
pid | 109 | fs/umsdos/namei.c | dir1->u.umsdos_i.u.dir_info.pid = current->pid; |
pid | 111 | fs/umsdos/namei.c | dir2->u.umsdos_i.u.dir_info.pid = current->pid; |
pid | 236 | fs/umsdos/namei.c | ,info.fake.fname,current->pid,info.f_pos)); |
pid | 263 | fs/umsdos/namei.c | ,info.fake.fname,-ret,current->pid,info.f_pos); |
pid | 278 | include/asm-alpha/unistd.h | static inline pid_t waitpid(int pid, int * wait_stat, int flags) |
pid | 280 | include/asm-alpha/unistd.h | return sys_waitpid(pid,wait_stat,flags); |
pid | 283 | include/asm-i386/unistd.h | static inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) |
pid | 1308 | include/asm-mips/unistd.h | static inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) |
pid | 278 | include/asm-ppc/unistd.h | static inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) |
pid | 411 | 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 | 191 | 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 | 701 | init/main.c | int pid,i; |
pid | 744 | init/main.c | pid = kernel_thread(do_rc, "/etc/rc", SIGCHLD); |
pid | 745 | init/main.c | if (pid>0) |
pid | 746 | init/main.c | while (pid != wait(&i)) |
pid | 751 | init/main.c | pid = kernel_thread(do_shell, |
pid | 754 | init/main.c | if (pid < 0) { |
pid | 759 | init/main.c | if (pid == wait(&i)) |
pid | 761 | init/main.c | printf("\n\rchild %d died with code %04x\n\r",pid,i); |
pid | 147 | ipc/msg.c | msq->msg_lspid = current->pid; |
pid | 243 | ipc/msg.c | msq->msg_lrpid = current->pid; |
pid | 376 | ipc/msg.c | kerneld_pid = current->pid; |
pid | 563 | ipc/msg.c | if ((current->pid == kerneld_pid) && (kerneld_msqid != -1)) |
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 | 539 | ipc/shm.c | shp->shm_lpid = current->pid; |
pid | 561 | ipc/shm.c | shp->shm_lpid = current->pid; |
pid | 579 | ipc/shm.c | shp->shm_lpid = current->pid; |
pid | 145 | kernel/exit.c | task[i]->pid); |
pid | 148 | kernel/exit.c | task[i]->pid); |
pid | 151 | kernel/exit.c | task[i]->pid); |
pid | 154 | kernel/exit.c | task[i]->pid); |
pid | 157 | kernel/exit.c | task[i]->pid); |
pid | 160 | kernel/exit.c | task[i]->pid); |
pid | 163 | kernel/exit.c | task[i]->pid); |
pid | 166 | kernel/exit.c | task[i]->pid); |
pid | 171 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
pid | 172 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
pid | 176 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid); |
pid | 182 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
pid | 183 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
pid | 187 | kernel/exit.c | task[i]->pid, task[i]->p_ysptr->pid); |
pid | 193 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
pid | 197 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
pid | 219 | kernel/exit.c | if (p->pid == pgrp) |
pid | 272 | kernel/exit.c | int kill_proc(int pid, int sig, int priv) |
pid | 279 | kernel/exit.c | if (p && p->pid == pid) |
pid | 289 | kernel/exit.c | asmlinkage int sys_kill(int pid,int sig) |
pid | 293 | kernel/exit.c | if (!pid) |
pid | 295 | kernel/exit.c | if (pid == -1) { |
pid | 298 | kernel/exit.c | if (p->pid > 1 && p != current) { |
pid | 306 | kernel/exit.c | if (pid < 0) |
pid | 307 | kernel/exit.c | return(kill_pg(-pid,sig,0)); |
pid | 309 | kernel/exit.c | return(kill_proc(pid,sig,0)); |
pid | 327 | kernel/exit.c | (p->p_pptr->pid == 1)) |
pid | 553 | kernel/exit.c | asmlinkage int sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struct rusage * ru) |
pid | 573 | kernel/exit.c | if (pid>0) { |
pid | 574 | kernel/exit.c | if (p->pid != pid) |
pid | 576 | kernel/exit.c | } else if (!pid) { |
pid | 579 | kernel/exit.c | } else if (pid != -1) { |
pid | 580 | kernel/exit.c | if (p->pgrp != -pid) |
pid | 599 | kernel/exit.c | retval = p->pid; |
pid | 608 | kernel/exit.c | retval = p->pid; |
pid | 646 | kernel/exit.c | asmlinkage int sys_waitpid(pid_t pid,unsigned int * stat_addr, int options) |
pid | 648 | kernel/exit.c | return sys_wait4(pid, stat_addr, options, NULL); |
pid | 65 | kernel/fork.c | return current->pid; |
pid | 70 | kernel/fork.c | if (p->pid == last_pid || |
pid | 230 | kernel/fork.c | p->pid = get_pid(clone_flags); |
pid | 271 | kernel/fork.c | return p->pid; |
pid | 324 | kernel/sched.c | if(!current->pid && !next->pid) |
pid | 795 | kernel/sched.c | if (current->pid) { |
pid | 808 | kernel/sched.c | if(current->pid) |
pid | 810 | kernel/sched.c | if (prof_buffer && current->pid) { |
pid | 837 | kernel/sched.c | if (current->pid && 0 > --current->counter) { |
pid | 882 | kernel/sched.c | return current->pid; |
pid | 887 | kernel/sched.c | return current->p_opptr->pid; |
pid | 944 | kernel/sched.c | static struct task_struct *find_process_by_pid(pid_t pid) { |
pid | 947 | kernel/sched.c | if (pid == 0) |
pid | 952 | kernel/sched.c | if (q && q->pid == pid) { |
pid | 961 | kernel/sched.c | static int setscheduler(pid_t pid, int policy, |
pid | 968 | kernel/sched.c | if (!param || pid < 0) |
pid | 976 | kernel/sched.c | p = find_process_by_pid(pid); |
pid | 1008 | kernel/sched.c | asmlinkage int sys_sched_setscheduler(pid_t pid, int policy, |
pid | 1011 | kernel/sched.c | return setscheduler(pid, policy, param); |
pid | 1014 | kernel/sched.c | asmlinkage int sys_sched_setparam(pid_t pid, struct sched_param *param) |
pid | 1016 | kernel/sched.c | return setscheduler(pid, -1, param); |
pid | 1019 | kernel/sched.c | asmlinkage int sys_sched_getscheduler(pid_t pid) |
pid | 1023 | kernel/sched.c | if (pid < 0) |
pid | 1026 | kernel/sched.c | p = find_process_by_pid(pid); |
pid | 1033 | kernel/sched.c | asmlinkage int sys_sched_getparam(pid_t pid, struct sched_param *param) |
pid | 1039 | kernel/sched.c | if (!param || pid < 0) |
pid | 1046 | kernel/sched.c | p = find_process_by_pid(pid); |
pid | 1088 | kernel/sched.c | asmlinkage int sys_sched_rr_get_interval(pid_t pid, struct timespec *interval) |
pid | 1130 | kernel/sched.c | printk("%5lu %5d %6d ", free*sizeof(long), p->pid, p->p_pptr->pid); |
pid | 1132 | kernel/sched.c | printk("%5d ", p->p_cptr->pid); |
pid | 1136 | kernel/sched.c | printk("%7d", p->p_ysptr->pid); |
pid | 1140 | kernel/sched.c | printk(" %5d\n", p->p_osptr->pid); |
pid | 44 | kernel/sys.c | return(p->pid == who); |
pid | 493 | kernel/sys.c | asmlinkage int sys_setpgid(pid_t pid, pid_t pgid) |
pid | 497 | kernel/sys.c | if (!pid) |
pid | 498 | kernel/sys.c | pid = current->pid; |
pid | 500 | kernel/sys.c | pgid = pid; |
pid | 504 | kernel/sys.c | if (p->pid == pid) |
pid | 519 | kernel/sys.c | if (pgid != pid) { |
pid | 534 | kernel/sys.c | asmlinkage int sys_getpgid(pid_t pid) |
pid | 538 | kernel/sys.c | if (!pid) |
pid | 541 | kernel/sys.c | if (p->pid == pid) |
pid | 552 | kernel/sys.c | asmlinkage int sys_getsid(pid_t pid) |
pid | 556 | kernel/sys.c | if (!pid) |
pid | 559 | kernel/sys.c | if (p->pid == pid) |
pid | 570 | kernel/sys.c | current->session = current->pgrp = current->pid; |
pid | 317 | kernel/sysctl.c | if (level < securelevel && current->pid != 1) |
pid | 104 | mm/vmscan.c | pid_t pid = tsk->pid; |
pid | 107 | mm/vmscan.c | kill_proc(pid, SIGBUS, 1); |
pid | 133 | net/ax25/ax25_in.c | unsigned char pid = *skb->data; |
pid | 135 | net/ax25/ax25_in.c | switch (pid) { |
pid | 159 | net/ax25/ax25_in.c | if (ax25->sk != NULL && ax25_dev_get_value(ax25->device, AX25_VALUES_TEXT) && ax25->sk->protocol == pid) { |
pid | 448 | net/ipv4/af_inet.c | current->pid != arg) return(-EPERM); |
pid | 1212 | net/ipv4/af_inet.c | int pid; |
pid | 1221 | net/ipv4/af_inet.c | pid = get_user((int *) arg); |
pid | 1223 | net/ipv4/af_inet.c | if (current->pid != pid && current->pgrp != -pid && !suser()) |
pid | 1225 | net/ipv4/af_inet.c | sk->proc = pid; |