tag | line | file | source code |
task | 683 | drivers/scsi/sd.c | if (current == task[0]){ |
task | 756 | drivers/scsi/sd.c | if (current == task[0]) |
task | 662 | drivers/scsi/sr.c | if (current == task[0]) |
task | 499 | fs/exec.c | if (task[i] == current) { |
task | 173 | fs/locks.c | void fcntl_remove_locks(struct task_struct *task, struct file *filp, |
task | 182 | fs/locks.c | while ((fl = *before) && (task != fl->fl_owner || fd != fl->fl_fd)) |
task | 187 | fs/locks.c | while ((fl = *before) && task == fl->fl_owner && fd == fl->fl_fd) |
task | 94 | fs/proc/array.c | idle = task[0]->utime + task[0]->stime; |
task | 127 | fs/proc/array.c | p = task; |
task | 128 | fs/proc/array.c | while (++p < task+NR_TASKS) { |
task | 118 | fs/proc/base.c | if (task[i] && task[i]->pid == pid) |
task | 144 | fs/proc/base.c | if (task[i] && task[i]->pid == pid) |
task | 103 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
task | 159 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
task | 90 | fs/proc/inode.c | p = task[0]; |
task | 92 | fs/proc/inode.c | if ((p = task[i]) && (p->pid == pid)) |
task | 100 | fs/proc/inode.c | if (task[i]) |
task | 58 | fs/proc/link.c | if ((p = task[i]) && p->pid == pid) |
task | 36 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
task | 37 | fs/proc/mem.c | cr3 = task[i]->tss.cr3; |
task | 85 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
task | 86 | fs/proc/mem.c | cr3 = task[i]->tss.cr3; |
task | 114 | fs/proc/root.c | if (task[i] && task[i]->pid == pid) |
task | 158 | fs/proc/root.c | p = task[nr]; |
task | 110 | include/linux/mm.h | extern void oom(struct task_struct * task); |
task | 57 | include/linux/sched.h | #define FIRST_TASK task[0] |
task | 58 | include/linux/sched.h | #define LAST_TASK task[NR_TASKS-1] |
task | 286 | include/linux/sched.h | extern struct task_struct *task[NR_TASKS]; |
task | 466 | include/linux/sched.h | entry->wait.task = current; |
task | 97 | include/linux/shm.h | struct task_struct *task; /* attacher */ |
task | 10 | include/linux/wait.h | struct task_struct * task; |
task | 335 | ipc/shm.c | unsigned long page_dir = shmd->task->tss.cr3; |
task | 443 | ipc/shm.c | shmd->task = current; |
task | 552 | ipc/shm.c | tmp->task = p2; |
task | 693 | ipc/shm.c | pte = PAGE_DIR_OFFSET(shmd->task->tss.cr3,tmp); |
task | 712 | ipc/shm.c | shmd->task->rss--; |
task | 72 | kernel/exit.c | if (tsk->p_pptr == task[1]) |
task | 89 | kernel/exit.c | if (task[i] == p) { |
task | 90 | kernel/exit.c | task[i] = NULL; |
task | 111 | kernel/exit.c | if (task[i] == p) |
task | 130 | kernel/exit.c | if (!task[i]) |
task | 132 | kernel/exit.c | if (bad_task_ptr(task[i]->p_pptr)) |
task | 134 | kernel/exit.c | task[i]->pid); |
task | 135 | kernel/exit.c | if (bad_task_ptr(task[i]->p_cptr)) |
task | 137 | kernel/exit.c | task[i]->pid); |
task | 138 | kernel/exit.c | if (bad_task_ptr(task[i]->p_ysptr)) |
task | 140 | kernel/exit.c | task[i]->pid); |
task | 141 | kernel/exit.c | if (bad_task_ptr(task[i]->p_osptr)) |
task | 143 | kernel/exit.c | task[i]->pid); |
task | 144 | kernel/exit.c | if (task[i]->p_pptr == task[i]) |
task | 146 | kernel/exit.c | task[i]->pid); |
task | 147 | kernel/exit.c | if (task[i]->p_cptr == task[i]) |
task | 149 | kernel/exit.c | task[i]->pid); |
task | 150 | kernel/exit.c | if (task[i]->p_ysptr == task[i]) |
task | 152 | kernel/exit.c | task[i]->pid); |
task | 153 | kernel/exit.c | if (task[i]->p_osptr == task[i]) |
task | 155 | kernel/exit.c | task[i]->pid); |
task | 156 | kernel/exit.c | if (task[i]->p_osptr) { |
task | 157 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_osptr->p_pptr) |
task | 160 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 161 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 162 | kernel/exit.c | if (task[i]->p_osptr->p_ysptr != task[i]) |
task | 165 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid); |
task | 167 | kernel/exit.c | if (task[i]->p_ysptr) { |
task | 168 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_ysptr->p_pptr) |
task | 171 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 172 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 173 | kernel/exit.c | if (task[i]->p_ysptr->p_osptr != task[i]) |
task | 176 | kernel/exit.c | task[i]->pid, task[i]->p_ysptr->pid); |
task | 178 | kernel/exit.c | if (task[i]->p_cptr) { |
task | 179 | kernel/exit.c | if (task[i]->p_cptr->p_pptr != task[i]) |
task | 182 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 183 | kernel/exit.c | if (task[i]->p_cptr->p_ysptr) |
task | 186 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 344 | kernel/exit.c | if (task[1]) |
task | 345 | kernel/exit.c | p->p_opptr = task[1]; |
task | 347 | kernel/exit.c | p->p_opptr = task[0]; |
task | 391 | kernel/exit.c | if (task[i] == current) { |
task | 432 | kernel/exit.c | if (task[1]) |
task | 433 | kernel/exit.c | p->p_pptr = task[1]; |
task | 435 | kernel/exit.c | p->p_pptr = task[0]; |
task | 51 | kernel/fork.c | if (!task[i]) { |
task | 56 | kernel/fork.c | if (task[i]->uid == current->uid) |
task | 58 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid) |
task | 135 | kernel/fork.c | task[nr] = p; |
task | 222 | kernel/fork.c | task[nr] = NULL; |
task | 66 | kernel/ldt.c | if (task[i] == current) { |
task | 29 | kernel/panic.c | if (current == task[0]) |
task | 41 | kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
task | 42 | kernel/ptrace.c | return task[i]; |
task | 53 | kernel/ptrace.c | static inline int get_stack_long(struct task_struct *task, int offset) |
task | 57 | kernel/ptrace.c | stack = (unsigned char *)task->tss.esp0; |
task | 68 | kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, int offset, |
task | 73 | kernel/ptrace.c | stack = (unsigned char *) task->tss.esp0; |
task | 89 | kernel/sched.c | struct task_struct * task[NR_TASKS] = {&init_task, }; |
task | 301 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 328 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 353 | kernel/sched.c | if (current == task[0]) |
task | 638 | kernel/sched.c | if (prof_buffer && current != task[0]) { |
task | 646 | kernel/sched.c | if (current == task[0] || (--current->counter)<=0) { |
task | 771 | kernel/sched.c | if (task[i]) |
task | 772 | kernel/sched.c | show_task(i,task[i]); |
task | 788 | kernel/sched.c | task[i] = NULL; |
task | 240 | kernel/sys.c | send_sig(SIGINT,task[1],1); |
task | 477 | kernel/sys.c | if (task[i] && (task[i]->pid == pid) && |
task | 478 | kernel/sys.c | ((task[i]->p_pptr == current) || |
task | 479 | kernel/sys.c | (task[i]->p_opptr == current) || |
task | 480 | kernel/sys.c | (task[i] == current))) { |
task | 481 | kernel/sys.c | if (task[i]->leader) |
task | 483 | kernel/sys.c | if ((task[i]->session != current->session) || |
task | 487 | kernel/sys.c | task[i]->pgrp = pgid; |
task | 74 | mm/memory.c | void oom(struct task_struct * task) |
task | 77 | mm/memory.c | task->sigaction[SIGKILL-1].sa_handler = NULL; |
task | 78 | mm/memory.c | task->blocked &= ~(1<<(SIGKILL-1)); |
task | 79 | mm/memory.c | send_sig(SIGKILL,task,1); |
task | 127 | mm/memory.c | if (tsk == task[0]) |
task | 165 | mm/memory.c | if (tsk == task[0]) { |
task | 326 | mm/swap.c | p = task[swap_task]; |
task | 428 | mm/swap.c | p = task[swap_task]; |
task | 622 | mm/swap.c | p = task[nr]; |