tag | line | file | source code |
task | 571 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 593 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 622 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 679 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 802 | drivers/scsi/sd.c | if (current == task[0]){ |
task | 875 | drivers/scsi/sd.c | if (current == task[0]) |
task | 670 | drivers/scsi/sr.c | if (current == task[0]) |
task | 505 | 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 | 140 | fs/proc/array.c | idle = task[0]->utime + task[0]->stime; |
task | 173 | fs/proc/array.c | p = task; |
task | 174 | 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 | 91 | fs/proc/inode.c | p = task[0]; |
task | 93 | fs/proc/inode.c | if ((p = task[i]) && (p->pid == pid)) |
task | 101 | fs/proc/inode.c | if (task[i]) |
task | 62 | 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 | 116 | fs/proc/root.c | if (task[i] && task[i]->pid == pid) |
task | 160 | fs/proc/root.c | p = task[nr]; |
task | 158 | include/linux/mm.h | extern void oom(struct task_struct * task); |
task | 80 | include/linux/sched.h | #define FIRST_TASK task[0] |
task | 81 | include/linux/sched.h | #define LAST_TASK task[NR_TASKS-1] |
task | 310 | include/linux/sched.h | extern struct task_struct *task[NR_TASKS]; |
task | 487 | 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 | 449 | ipc/shm.c | shmd->task = current; |
task | 560 | ipc/shm.c | tmp->task = p2; |
task | 701 | ipc/shm.c | pte = PAGE_DIR_OFFSET(shmd->task->tss.cr3,tmp); |
task | 720 | 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 | 113 | kernel/exit.c | if (task[i] == p) |
task | 132 | kernel/exit.c | if (!task[i]) |
task | 134 | kernel/exit.c | if (bad_task_ptr(task[i]->p_pptr)) |
task | 136 | kernel/exit.c | task[i]->pid); |
task | 137 | kernel/exit.c | if (bad_task_ptr(task[i]->p_cptr)) |
task | 139 | kernel/exit.c | task[i]->pid); |
task | 140 | kernel/exit.c | if (bad_task_ptr(task[i]->p_ysptr)) |
task | 142 | kernel/exit.c | task[i]->pid); |
task | 143 | kernel/exit.c | if (bad_task_ptr(task[i]->p_osptr)) |
task | 145 | kernel/exit.c | task[i]->pid); |
task | 146 | kernel/exit.c | if (task[i]->p_pptr == task[i]) |
task | 148 | kernel/exit.c | task[i]->pid); |
task | 149 | kernel/exit.c | if (task[i]->p_cptr == task[i]) |
task | 151 | kernel/exit.c | task[i]->pid); |
task | 152 | kernel/exit.c | if (task[i]->p_ysptr == task[i]) |
task | 154 | kernel/exit.c | task[i]->pid); |
task | 155 | kernel/exit.c | if (task[i]->p_osptr == task[i]) |
task | 157 | kernel/exit.c | task[i]->pid); |
task | 158 | kernel/exit.c | if (task[i]->p_osptr) { |
task | 159 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_osptr->p_pptr) |
task | 162 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 163 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 164 | kernel/exit.c | if (task[i]->p_osptr->p_ysptr != task[i]) |
task | 167 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid); |
task | 169 | kernel/exit.c | if (task[i]->p_ysptr) { |
task | 170 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_ysptr->p_pptr) |
task | 173 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 174 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 175 | kernel/exit.c | if (task[i]->p_ysptr->p_osptr != task[i]) |
task | 178 | kernel/exit.c | task[i]->pid, task[i]->p_ysptr->pid); |
task | 180 | kernel/exit.c | if (task[i]->p_cptr) { |
task | 181 | kernel/exit.c | if (task[i]->p_cptr->p_pptr != task[i]) |
task | 184 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 185 | kernel/exit.c | if (task[i]->p_cptr->p_ysptr) |
task | 188 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 346 | kernel/exit.c | if (task[1]) |
task | 347 | kernel/exit.c | p->p_opptr = task[1]; |
task | 349 | kernel/exit.c | p->p_opptr = task[0]; |
task | 435 | kernel/exit.c | if (task[1] && task[1] != current) |
task | 436 | kernel/exit.c | p->p_pptr = task[1]; |
task | 438 | kernel/exit.c | p->p_pptr = task[0]; |
task | 52 | kernel/fork.c | if (!task[i]) { |
task | 57 | kernel/fork.c | if (task[i]->uid == current->uid) |
task | 59 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid || |
task | 60 | kernel/fork.c | task[i]->session == last_pid) |
task | 137 | kernel/fork.c | task[nr] = p; |
task | 227 | 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 | 95 | kernel/sched.c | struct task_struct * task[NR_TASKS] = {&init_task, }; |
task | 274 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 301 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 339 | kernel/sched.c | if (current == task[0]) |
task | 613 | kernel/sched.c | if (current != task[0]) { |
task | 626 | kernel/sched.c | if(current != task[0]) |
task | 629 | kernel/sched.c | if (prof_buffer && current != task[0]) { |
task | 637 | kernel/sched.c | if (current == task[0] || (--current->counter)<=0) { |
task | 768 | kernel/sched.c | if (task[i]) |
task | 769 | kernel/sched.c | show_task(i,task[i]); |
task | 785 | kernel/sched.c | task[i] = NULL; |
task | 249 | kernel/sys.c | send_sig(SIGINT,task[1],1); |
task | 76 | mm/memory.c | void oom(struct task_struct * task) |
task | 79 | mm/memory.c | task->sigaction[SIGKILL-1].sa_handler = NULL; |
task | 80 | mm/memory.c | task->blocked &= ~(1<<(SIGKILL-1)); |
task | 81 | mm/memory.c | send_sig(SIGKILL,task,1); |
task | 129 | mm/memory.c | if (tsk == task[0]) |
task | 167 | mm/memory.c | if (tsk == task[0]) { |
task | 330 | mm/swap.c | p = task[swap_task]; |
task | 432 | mm/swap.c | p = task[swap_task]; |
task | 674 | mm/swap.c | p = task[nr]; |