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 | 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 | 260 | arch/alpha/kernel/signal.c | if (current->pid == 1) |
pid | 26 | arch/alpha/kernel/traps.c | printk("%s(%d): %s %ld\n", current->comm, current->pid, str, err); |
pid | 216 | arch/alpha/kernel/traps.c | current->comm, current->pid, |
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 | 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 | 815 | arch/i386/kernel/smp.c | if (current->pid) |
pid | 829 | arch/i386/kernel/smp.c | if(current->pid) |
pid | 832 | arch/i386/kernel/smp.c | if (prof_buffer && current->pid) { |
pid | 878 | 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 | 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 | 131 | 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 | 804 | drivers/cdrom/mcdx.c | if (current->pid == 0) { /* no sleep allowed */ |
pid | 1214 | drivers/cdrom/mcdx.c | stuffp->lock = current->pid; |
pid | 1288 | 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 | 3177 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result); |
pid | 3224 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->pid, (int) cmd->cmd->target, |
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 | 212 | drivers/scsi/eata_dma.c | irq, base, cmd->pid, cmd->target, cmd->lun, |
pid | 293 | drivers/scsi/eata_dma.c | cmd->pid, eata_stat, hba_stat, scsi_stat, |
pid | 401 | drivers/scsi/eata_dma.c | cmd->pid, cmd->target, cmd->lun, y)); |
pid | 509 | drivers/scsi/eata_dma.c | cmd->target, cmd->pid); |
pid | 516 | drivers/scsi/eata_dma.c | "slot %d irq %d\n", (s32)sh->base, cmd->pid, |
pid | 533 | drivers/scsi/eata_dma.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
pid | 584 | drivers/scsi/eata_dma.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
pid | 621 | drivers/scsi/eata_dma.c | printk("eata_reset: slot %d in reset, pid %ld.\n", x, sp->pid); |
pid | 665 | drivers/scsi/eata_dma.c | x, sp->pid); |
pid | 322 | drivers/scsi/eata_pio.c | cmd->pid, cmd->target, cmd->lun, y)); |
pid | 383 | drivers/scsi/eata_pio.c | "DID_BUS_BUSY, done.\n", cmd->target, cmd->pid); |
pid | 395 | drivers/scsi/eata_pio.c | "slot %d irq %d\n", (long)sh->base, cmd->pid, |
pid | 412 | drivers/scsi/eata_pio.c | " reason %x\n", cmd->pid, cmd->target, cmd->lun, |
pid | 461 | drivers/scsi/eata_pio.c | "reason %x\n", cmd->pid, cmd->target, cmd->lun, |
pid | 485 | drivers/scsi/eata_pio.c | printk("eata_pio_reset: slot %d in reset, pid %ld.\n", x, sp->pid); |
pid | 69 | drivers/scsi/scsi.c | static void scsi_times_out (Scsi_Cmnd * SCpnt, int pid); |
pid | 777 | drivers/scsi/scsi.c | static void scsi_times_out (Scsi_Cmnd * SCpnt, int pid) |
pid | 789 | drivers/scsi/scsi.c | if (!scsi_abort (SCpnt, DID_TIME_OUT, pid)) |
pid | 1243 | drivers/scsi/scsi.c | SCpnt->pid = scsi_pid++; |
pid | 1735 | drivers/scsi/scsi.c | int scsi_abort (Scsi_Cmnd * SCpnt, int why, int pid) |
pid | 1750 | drivers/scsi/scsi.c | if (SCpnt->request.rq_status == RQ_INACTIVE || pid != SCpnt->pid) { |
pid | 1784 | drivers/scsi/scsi.c | SCpnt->pid, SCpnt->host->host_no, (int) SCpnt->channel, |
pid | 1787 | drivers/scsi/scsi.c | if (SCpnt->request.rq_status == RQ_INACTIVE || pid != SCpnt->pid) |
pid | 1917 | drivers/scsi/scsi.c | scsi_abort(SCpnt1, DID_RESET, SCpnt->pid); |
pid | 2024 | drivers/scsi/scsi.c | int timed_out, pid; |
pid | 2045 | drivers/scsi/scsi.c | pid = SCpnt->pid; |
pid | 2047 | drivers/scsi/scsi.c | scsi_times_out(SCpnt, pid); |
pid | 423 | drivers/scsi/scsi.h | unsigned long pid; /* Process ID, starts at 0 */ |
pid | 432 | 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 | 1065 | fs/binfmt_elf.c | psinfo.pr_pid = prstatus.pr_pid = current->pid; |
pid | 1066 | 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 | 281 | fs/proc/array.c | static struct task_struct ** get_task(pid_t pid) |
pid | 287 | fs/proc/array.c | if (*p && (*p)->pid == pid) |
pid | 356 | fs/proc/array.c | static int get_env(int pid, char * buffer) |
pid | 358 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 365 | fs/proc/array.c | static int get_arg(int pid, char * buffer) |
pid | 367 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 436 | fs/proc/array.c | static int get_stat(int pid, char * buffer) |
pid | 438 | fs/proc/array.c | struct task_struct ** p = get_task(pid), *tsk; |
pid | 493 | fs/proc/array.c | pid, |
pid | 496 | fs/proc/array.c | tsk->p_pptr->pid, |
pid | 605 | fs/proc/array.c | static int get_statm(int pid, char * buffer) |
pid | 607 | fs/proc/array.c | struct task_struct ** p = get_task(pid), *tsk; |
pid | 664 | fs/proc/array.c | static int read_maps (int pid, struct file * file, char * buf, int count) |
pid | 666 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 818 | fs/proc/array.c | static int get_process_array(char * page, int pid, int type) |
pid | 822 | fs/proc/array.c | return get_env(pid, page); |
pid | 824 | fs/proc/array.c | return get_arg(pid, page); |
pid | 826 | fs/proc/array.c | return get_stat(pid, page); |
pid | 828 | fs/proc/array.c | return get_statm(pid, page); |
pid | 834 | fs/proc/array.c | static inline int fill_array(char * page, int pid, int type, char **start, off_t offset, int length) |
pid | 836 | fs/proc/array.c | if (pid) |
pid | 837 | fs/proc/array.c | return get_process_array(page, pid, type); |
pid | 849 | fs/proc/array.c | unsigned int type, pid; |
pid | 858 | fs/proc/array.c | pid = type >> 16; |
pid | 861 | fs/proc/array.c | length = fill_array((char *) page, pid, type, |
pid | 921 | fs/proc/array.c | unsigned int pid = inode->i_ino >> 16; |
pid | 929 | fs/proc/array.c | return read_maps(pid, file, buf, count); |
pid | 53 | fs/proc/base.c | int pid = inode->i_ino >> 16; |
pid | 57 | fs/proc/base.c | if (p->pid == pid) { |
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 = proc_get_inode(sb, (pid << 16)+PROC_PID_INO, &proc_pid))) { |
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 | 166 | fs/proc/fd.c | ino = (pid << 16) + (PROC_PID_FD_DIR << 8) + fd; |
pid | 171 | fs/proc/fd.c | if (p != task[task_nr] || p->pid != pid) |
pid | 135 | fs/proc/inode.c | unsigned long ino, pid; |
pid | 149 | fs/proc/inode.c | pid = ino >> 16; |
pid | 152 | fs/proc/inode.c | if ((p = task[i]) && (p->pid == pid)) |
pid | 165 | fs/proc/inode.c | if (!pid) { |
pid | 66 | fs/proc/link.c | unsigned int pid, ino; |
pid | 81 | fs/proc/link.c | pid = ino >> 16; |
pid | 84 | 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 | 169 | fs/proc/root.c | *res_inode = proc_get_inode(inode->i_sb, (current->pid << 16) + PROC_PID_INO, &proc_pid); |
pid | 182 | fs/proc/root.c | len = 1 + sprintf(tmp, "%d", current->pid); |
pid | 377 | fs/proc/root.c | unsigned int pid, c; |
pid | 387 | fs/proc/root.c | pid = 0; |
pid | 392 | fs/proc/root.c | pid = 0; |
pid | 395 | fs/proc/root.c | pid *= 10; |
pid | 396 | fs/proc/root.c | pid += c; |
pid | 397 | fs/proc/root.c | if (pid & 0xffff0000) { |
pid | 398 | fs/proc/root.c | pid = 0; |
pid | 403 | fs/proc/root.c | if (task[i] && task[i]->pid == pid) |
pid | 405 | fs/proc/root.c | if (!pid || i >= NR_TASKS) { |
pid | 409 | fs/proc/root.c | ino = (pid << 16) + PROC_PID_INO; |
pid | 483 | fs/proc/root.c | unsigned int nr,pid; |
pid | 497 | fs/proc/root.c | if (!p || !(pid = p->pid)) |
pid | 501 | fs/proc/root.c | i = pid; |
pid | 508 | fs/proc/root.c | if (filldir(dirent, buf+j, NUMBUF-j, filp->f_pos, (pid << 16) + PROC_PID_INO) < 0) |
pid | 243 | fs/smbfs/inode.c | server->pid = current->pid; |
pid | 244 | fs/smbfs/inode.c | server->mid = current->pid + 20; |
pid | 501 | fs/smbfs/proc.c | WSET(buf, smb_pid, server->pid); |
pid | 1735 | 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 | 239 | fs/umsdos/namei.c | ,info.fake.fname,current->pid,info.f_pos)); |
pid | 266 | fs/umsdos/namei.c | ,info.fake.fname,-ret,current->pid,info.f_pos); |
pid | 268 | include/asm-alpha/unistd.h | static inline pid_t waitpid(int pid, int * wait_stat, int flags) |
pid | 270 | include/asm-alpha/unistd.h | return sys_waitpid(pid,wait_stat,flags); |
pid | 267 | 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 | 178 | 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 | 597 | init/main.c | int pid,i; |
pid | 634 | init/main.c | pid = kernel_thread(do_rc, "/etc/rc", SIGCHLD); |
pid | 635 | init/main.c | if (pid>0) |
pid | 636 | init/main.c | while (pid != wait(&i)) |
pid | 639 | init/main.c | pid = kernel_thread(do_shell, "/bin/sh", SIGCHLD); |
pid | 640 | init/main.c | if (pid < 0) { |
pid | 645 | init/main.c | if (pid == wait(&i)) |
pid | 647 | 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 | 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 | 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 | 537 | kernel/exit.c | asmlinkage int sys_wait4(pid_t pid,unsigned int * stat_addr, int options, struct rusage * ru) |
pid | 552 | kernel/exit.c | if (pid>0) { |
pid | 553 | kernel/exit.c | if (p->pid != pid) |
pid | 555 | kernel/exit.c | } else if (!pid) { |
pid | 558 | kernel/exit.c | } else if (pid != -1) { |
pid | 559 | kernel/exit.c | if (p->pgrp != -pid) |
pid | 578 | kernel/exit.c | retval = p->pid; |
pid | 585 | kernel/exit.c | flag = p->pid; |
pid | 626 | kernel/exit.c | asmlinkage int sys_waitpid(pid_t pid,unsigned int * stat_addr, int options) |
pid | 628 | kernel/exit.c | return sys_wait4(pid, stat_addr, options, NULL); |
pid | 66 | kernel/fork.c | return current->pid; |
pid | 71 | kernel/fork.c | if (p->pid == last_pid || |
pid | 229 | kernel/fork.c | p->pid = get_pid(clone_flags); |
pid | 270 | kernel/fork.c | return p->pid; |
pid | 296 | kernel/sched.c | if(!current->pid && !next->pid) |
pid | 766 | kernel/sched.c | if (current->pid) { |
pid | 779 | kernel/sched.c | if(current->pid) |
pid | 781 | kernel/sched.c | if (prof_buffer && current->pid) { |
pid | 808 | kernel/sched.c | if (current->pid && 0 > --current->counter) { |
pid | 853 | kernel/sched.c | return current->pid; |
pid | 858 | kernel/sched.c | return current->p_opptr->pid; |
pid | 940 | kernel/sched.c | printk("%5lu %5d %6d ", free*sizeof(long), p->pid, p->p_pptr->pid); |
pid | 942 | kernel/sched.c | printk("%5d ", p->p_cptr->pid); |
pid | 946 | kernel/sched.c | printk("%7d", p->p_ysptr->pid); |
pid | 950 | kernel/sched.c | printk(" %5d\n", p->p_osptr->pid); |
pid | 42 | kernel/sys.c | return(p->pid == who); |
pid | 489 | kernel/sys.c | asmlinkage int sys_setpgid(pid_t pid, pid_t pgid) |
pid | 493 | kernel/sys.c | if (!pid) |
pid | 494 | kernel/sys.c | pid = current->pid; |
pid | 496 | kernel/sys.c | pgid = pid; |
pid | 500 | kernel/sys.c | if (p->pid == pid) |
pid | 515 | kernel/sys.c | if (pgid != pid) { |
pid | 530 | kernel/sys.c | asmlinkage int sys_getpgid(pid_t pid) |
pid | 534 | kernel/sys.c | if (!pid) |
pid | 537 | kernel/sys.c | if (p->pid == pid) |
pid | 553 | 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 | 449 | mm/swap.c | pid_t pid = tsk->pid; |
pid | 452 | mm/swap.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 | 443 | net/ipv4/af_inet.c | current->pid != arg) return(-EPERM); |
pid | 1363 | net/ipv4/af_inet.c | int pid; |
pid | 1372 | net/ipv4/af_inet.c | pid = get_user((int *) arg); |
pid | 1374 | net/ipv4/af_inet.c | if (current->pid != pid && current->pgrp != -pid && !suser()) |
pid | 1376 | net/ipv4/af_inet.c | sk->proc = pid; |