tag | line | file | source code |
pid | 656 | drivers/block/floppy.c | if (!current->pid) |
pid | 1652 | drivers/block/floppy.c | if (current->pid) |
pid | 1188 | drivers/char/tty_io.c | filp->f_owner = current->pid; |
pid | 582 | drivers/char/vt.c | vt_cons[console]->vt_pid = current->pid; |
pid | 1484 | drivers/net/ppp.c | ppp->inp_sig_pid = current->pid; |
pid | 2377 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->pid); |
pid | 3052 | drivers/scsi/53c7,8xx.c | host->host_no, tmp->pid, tmp->target, tmp->lun, tmp->result); |
pid | 3099 | drivers/scsi/53c7,8xx.c | host->host_no, cmd->cmd->pid, (int) cmd->cmd->target, |
pid | 395 | drivers/scsi/eata.c | if (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid); |
pid | 421 | drivers/scsi/eata.c | printk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid); |
pid | 445 | drivers/scsi/eata.c | BN(j), i, SCpnt->target, SCpnt->pid); |
pid | 477 | drivers/scsi/eata.c | BN(j), SCpnt->target, SCpnt->pid); |
pid | 497 | drivers/scsi/eata.c | BN(j), SCarg->target, SCarg->pid); |
pid | 503 | drivers/scsi/eata.c | BN(j), i, SCarg->target, SCarg->pid); |
pid | 555 | drivers/scsi/eata.c | BN(j), SCarg->target, SCarg->pid); |
pid | 558 | drivers/scsi/eata.c | printk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid); |
pid | 587 | drivers/scsi/eata.c | BN(j), i, SCpnt->pid); |
pid | 632 | drivers/scsi/eata.c | BN(j), i, SCpnt->pid); |
pid | 750 | drivers/scsi/eata.c | BN(j), i, SCpnt->pid, SCpnt); |
pid | 754 | drivers/scsi/eata.c | " irq %d.\n", BN(j), i, SCpnt->pid, |
pid | 831 | drivers/scsi/eata.c | SCpnt->target, SCpnt->lun, SCpnt->pid, HD(j)->iocount); |
pid | 886 | drivers/scsi/scsi.c | SCpnt->pid = scsi_pid++; |
pid | 1435 | drivers/scsi/scsi.c | SCpnt->pid, SCpnt->host->host_no, (int) SCpnt->target, (int) |
pid | 504 | drivers/scsi/scsi.h | unsigned long pid; /* Process ID, starts at 0 */ |
pid | 445 | drivers/scsi/u14-34f.c | if (!done) panic("%s: qcomm, pid %ld, null done.\n", BN(j), SCpnt->pid); |
pid | 471 | drivers/scsi/u14-34f.c | printk("%s: qcomm, pid %ld, DID_BUS_BUSY, done.\n", BN(j), SCpnt->pid); |
pid | 486 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->target, SCpnt->pid); |
pid | 512 | drivers/scsi/u14-34f.c | BN(j), SCpnt->target, SCpnt->pid); |
pid | 538 | drivers/scsi/u14-34f.c | BN(j), SCarg->target, SCarg->pid); |
pid | 544 | drivers/scsi/u14-34f.c | BN(j), i, SCarg->target, SCarg->pid); |
pid | 596 | drivers/scsi/u14-34f.c | BN(j), SCarg->target, SCarg->pid); |
pid | 599 | drivers/scsi/u14-34f.c | printk("%s: reset, pid %ld inactive.\n", BN(j), SCarg->pid); |
pid | 628 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->pid); |
pid | 674 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->pid); |
pid | 770 | drivers/scsi/u14-34f.c | BN(j), i, SCpnt->pid, SCpnt); |
pid | 774 | drivers/scsi/u14-34f.c | " irq %d.\n", BN(j), i, SCpnt->pid, |
pid | 852 | 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 | 68 | fs/locks.c | flock.l_pid = fl->fl_owner->pid; |
pid | 147 | fs/locks.c | if (locks_deadlocked(file_lock.fl_owner->pid,fl->fl_owner->pid)) return -EDEADLOCK; |
pid | 179 | fs/locks.c | if (fl->fl_owner->pid != my_pid) continue; |
pid | 184 | fs/locks.c | if (dlock_wait->task->pid == blocked_pid) return -EDEADLOCK; |
pid | 185 | fs/locks.c | ret_val = locks_deadlocked(dlock_wait->task->pid,blocked_pid); |
pid | 179 | fs/proc/array.c | static struct task_struct ** get_task(pid_t pid) |
pid | 185 | fs/proc/array.c | if (*p && (*p)->pid == pid) |
pid | 243 | fs/proc/array.c | static int get_env(int pid, char * buffer) |
pid | 245 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 252 | fs/proc/array.c | static int get_arg(int pid, char * buffer) |
pid | 254 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 288 | fs/proc/array.c | static int get_stat(int pid, char * buffer) |
pid | 290 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 326 | fs/proc/array.c | pid, |
pid | 329 | fs/proc/array.c | (*p)->p_pptr->pid, |
pid | 365 | fs/proc/array.c | static int get_statm(int pid, char * buffer) |
pid | 367 | fs/proc/array.c | struct task_struct ** p = get_task(pid); |
pid | 412 | fs/proc/array.c | static int get_maps(int pid, char *buf) |
pid | 415 | fs/proc/array.c | struct task_struct **p = get_task(pid); |
pid | 512 | fs/proc/array.c | static int get_process_array(char * page, int pid, int type) |
pid | 516 | fs/proc/array.c | return get_env(pid, page); |
pid | 518 | fs/proc/array.c | return get_arg(pid, page); |
pid | 520 | fs/proc/array.c | return get_stat(pid, page); |
pid | 522 | fs/proc/array.c | return get_statm(pid, page); |
pid | 524 | fs/proc/array.c | return get_maps(pid, page); |
pid | 530 | fs/proc/array.c | static inline int fill_array(char * page, int pid, int type) |
pid | 532 | fs/proc/array.c | if (pid) |
pid | 533 | fs/proc/array.c | return get_process_array(page, pid, type); |
pid | 542 | fs/proc/array.c | unsigned int type, pid; |
pid | 549 | fs/proc/array.c | pid = type >> 16; |
pid | 551 | fs/proc/array.c | length = fill_array((char *) page, pid, type); |
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 | 69 | fs/proc/fd.c | if (!pid || ino || !S_ISDIR(dir->i_mode)) { |
pid | 79 | fs/proc/fd.c | if (!(*result = iget(sb,(pid << 16)+2))) { |
pid | 103 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
pid | 105 | fs/proc/fd.c | if (!pid || i >= NR_TASKS) |
pid | 111 | fs/proc/fd.c | ino = (pid << 16) + 0x100 + fd; |
pid | 122 | fs/proc/fd.c | unsigned int fd, pid, ino; |
pid | 128 | fs/proc/fd.c | pid = ino >> 16; |
pid | 151 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
pid | 168 | fs/proc/fd.c | ino = (pid << 16) + 0x100 + fd; |
pid | 76 | fs/proc/inode.c | unsigned long ino, pid; |
pid | 90 | fs/proc/inode.c | pid = ino >> 16; |
pid | 93 | fs/proc/inode.c | if ((p = task[i]) && (p->pid == pid)) |
pid | 114 | fs/proc/inode.c | if (!pid) { |
pid | 67 | fs/proc/link.c | unsigned int pid, ino; |
pid | 79 | fs/proc/link.c | pid = ino >> 16; |
pid | 83 | fs/proc/link.c | if ((p = task[i]) && p->pid == pid) |
pid | 103 | fs/proc/link.c | unsigned int pid, ino; |
pid | 118 | fs/proc/link.c | pid = ino >> 16; |
pid | 121 | fs/proc/link.c | if ((p = task[i]) && p->pid == pid) |
pid | 27 | fs/proc/mem.c | unsigned long addr, pid, cr3; |
pid | 34 | fs/proc/mem.c | pid = inode->i_ino; |
pid | 35 | fs/proc/mem.c | pid >>= 16; |
pid | 38 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
pid | 75 | fs/proc/mem.c | unsigned long addr, pid, cr3; |
pid | 83 | fs/proc/mem.c | pid = inode->i_ino; |
pid | 84 | fs/proc/mem.c | pid >>= 16; |
pid | 87 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
pid | 155 | fs/proc/mem.c | if (task[i] && task[i]->pid == (inode->i_ino >> 16)) { |
pid | 82 | fs/proc/root.c | unsigned int pid, c; |
pid | 102 | fs/proc/root.c | ino = (current->pid << 16) + 2; |
pid | 104 | fs/proc/root.c | pid = 0; |
pid | 109 | fs/proc/root.c | pid = 0; |
pid | 112 | fs/proc/root.c | pid *= 10; |
pid | 113 | fs/proc/root.c | pid += c; |
pid | 114 | fs/proc/root.c | if (pid & 0xffff0000) { |
pid | 115 | fs/proc/root.c | pid = 0; |
pid | 120 | fs/proc/root.c | if (task[i] && task[i]->pid == pid) |
pid | 122 | fs/proc/root.c | if (!pid || i >= NR_TASKS) { |
pid | 126 | fs/proc/root.c | ino = (pid << 16) + 2; |
pid | 140 | fs/proc/root.c | unsigned int nr,pid; |
pid | 165 | fs/proc/root.c | if (!p || !(pid = p->pid)) |
pid | 167 | fs/proc/root.c | if (pid & 0xffff0000) |
pid | 171 | fs/proc/root.c | while (pid >= j) { |
pid | 176 | fs/proc/root.c | put_fs_long((pid << 16)+2, &dirent->d_ino); |
pid | 180 | fs/proc/root.c | put_fs_byte('0'+(pid % 10), i+dirent->d_name); |
pid | 181 | fs/proc/root.c | pid /= 10; |
pid | 35 | fs/umsdos/namei.c | && dir->u.umsdos_i.u.dir_info.pid != current->pid){ |
pid | 89 | fs/umsdos/namei.c | dir->u.umsdos_i.u.dir_info.pid = current->pid; |
pid | 108 | fs/umsdos/namei.c | dir1->u.umsdos_i.u.dir_info.pid = current->pid; |
pid | 110 | 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 | 50 | include/linux/kernel.h | extern int kill_proc(int pid, int sig, int priv); |
pid | 266 | include/linux/sched.h | int pid,pgrp,session,leader; |
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 | 59 | init/main.c | static inline _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) |
pid | 589 | init/main.c | int pid,i; |
pid | 618 | init/main.c | if (!(pid=fork())) { |
pid | 625 | init/main.c | if (pid>0) |
pid | 626 | init/main.c | while (pid != wait(&i)) |
pid | 629 | init/main.c | if ((pid = fork()) < 0) { |
pid | 633 | init/main.c | if (!pid) { |
pid | 642 | init/main.c | if (pid == wait(&i)) |
pid | 644 | 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 | 440 | ipc/sem.c | curr->sempid = current->pid; |
pid | 496 | ipc/sem.c | sem->sempid = current->pid; |
pid | 114 | ipc/shm.c | shp->shm_cpid = current->pid; |
pid | 528 | ipc/shm.c | shp->shm_lpid = current->pid; |
pid | 553 | ipc/shm.c | shp->shm_lpid = current->pid; |
pid | 580 | ipc/shm.c | shmd->vm_task->pid, shmd->vm_start, shmd->vm_end, |
pid | 588 | 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 | 509 | kernel/exit.c | asmlinkage int sys_wait4(pid_t pid,unsigned long * stat_addr, int options, struct rusage * ru) |
pid | 524 | kernel/exit.c | if (pid>0) { |
pid | 525 | kernel/exit.c | if (p->pid != pid) |
pid | 527 | kernel/exit.c | } else if (!pid) { |
pid | 530 | kernel/exit.c | } else if (pid != -1) { |
pid | 531 | kernel/exit.c | if (p->pgrp != -pid) |
pid | 550 | kernel/exit.c | retval = p->pid; |
pid | 559 | kernel/exit.c | flag = p->pid; |
pid | 600 | kernel/exit.c | asmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options) |
pid | 602 | kernel/exit.c | return sys_wait4(pid, stat_addr, options, NULL); |
pid | 57 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid || |
pid | 191 | kernel/fork.c | p->pid = last_pid; |
pid | 256 | kernel/fork.c | return p->pid; |
pid | 36 | kernel/ptrace.c | static inline struct task_struct * get_task(int pid) |
pid | 41 | kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
pid | 271 | kernel/ptrace.c | asmlinkage int sys_ptrace(long request, long pid, long addr, long data) |
pid | 287 | kernel/ptrace.c | if (pid == 1) /* you may not mess with init */ |
pid | 289 | kernel/ptrace.c | if (!(child = get_task(pid))) |
pid | 744 | kernel/sched.c | return current->pid; |
pid | 749 | kernel/sched.c | return current->p_opptr->pid; |
pid | 805 | kernel/sched.c | printk("%5lu %5d %6d ", free << 2, p->pid, p->p_pptr->pid); |
pid | 807 | kernel/sched.c | printk("%5d ", p->p_cptr->pid); |
pid | 811 | kernel/sched.c | printk("%7d", p->p_ysptr->pid); |
pid | 815 | kernel/sched.c | printk(" %5d\n", p->p_osptr->pid); |
pid | 189 | kernel/signal.c | asmlinkage int sys_waitpid(pid_t pid,unsigned long * stat_addr, int options); |
pid | 333 | kernel/signal.c | if (current->pid == 1) |
pid | 42 | kernel/sys.c | if (current->pid != 0) |
pid | 64 | kernel/sys.c | return(p->pid == who); |
pid | 474 | kernel/sys.c | asmlinkage int sys_setpgid(pid_t pid, pid_t pgid) |
pid | 478 | kernel/sys.c | if (!pid) |
pid | 479 | kernel/sys.c | pid = current->pid; |
pid | 481 | kernel/sys.c | pgid = pid; |
pid | 485 | kernel/sys.c | if (p->pid == pid) |
pid | 500 | kernel/sys.c | if (pgid != pid) { |
pid | 515 | kernel/sys.c | asmlinkage int sys_getpgid(pid_t pid) |
pid | 519 | kernel/sys.c | if (!pid) |
pid | 522 | kernel/sys.c | if (p->pid == pid) |
pid | 538 | kernel/sys.c | current->session = current->pgrp = current->pid; |
pid | 106 | kernel/traps.c | current->comm, current->pid, 0xffff & i, current->kernel_stack_page); |
pid | 11 | lib/wait.c | _syscall3(pid_t,waitpid,pid_t,pid,int *,wait_stat,int,options) |
pid | 375 | net/inet/af_inet.c | current->pid != arg) return(-EPERM); |