tag | line | file | source code |
task | 155 | fs/locks.c | void fcntl_remove_locks(struct task_struct *task, struct file *filp) |
task | 165 | fs/locks.c | if (fl->fl_owner == task) |
task | 471 | fs/open.c | if ((p = tmp->task) != NULL) |
task | 505 | fs/open.c | for (process = task + 0; process < task + NR_TASKS; process++) { |
task | 28 | fs/proc/array.c | #define VSIZE(task,stack) ((task)->brk + 1023 + SSIZE(stack)) |
task | 66 | fs/proc/array.c | p = task; |
task | 67 | fs/proc/array.c | while (++p < task+NR_TASKS) { |
task | 116 | fs/proc/base.c | if (task[i] && task[i]->pid == pid) |
task | 142 | fs/proc/base.c | if (task[i] && task[i]->pid == pid) |
task | 102 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
task | 153 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
task | 86 | fs/proc/inode.c | p = task[0]; |
task | 88 | fs/proc/inode.c | if ((p = task[i]) && (p->pid == pid)) |
task | 96 | 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 | 86 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
task | 87 | fs/proc/mem.c | cr3 = task[i]->tss.cr3; |
task | 105 | fs/proc/root.c | if (task[i] && task[i]->pid == pid) |
task | 149 | fs/proc/root.c | p = task[nr]; |
task | 98 | include/linux/mm.h | extern void oom(struct task_struct * task); |
task | 58 | include/linux/sched.h | #define FIRST_TASK task[0] |
task | 59 | include/linux/sched.h | #define LAST_TASK task[NR_TASKS-1] |
task | 262 | include/linux/sched.h | extern struct task_struct *task[NR_TASKS]; |
task | 323 | include/linux/sched.h | "d" (_TSS(n)),"c" ((long) task[n]) \ |
task | 431 | include/linux/sched.h | entry->wait.task = current; |
task | 8 | include/linux/wait.h | struct task_struct * task; |
task | 669 | kernel/blk_drv/scsi/sd.c | if (current == task[0]) |
task | 70 | kernel/exit.c | if (task[i] == p) { |
task | 71 | kernel/exit.c | task[i] = NULL; |
task | 92 | kernel/exit.c | if (task[i] == p) |
task | 111 | kernel/exit.c | if (!task[i]) |
task | 113 | kernel/exit.c | if (bad_task_ptr(task[i]->p_pptr)) |
task | 115 | kernel/exit.c | task[i]->pid); |
task | 116 | kernel/exit.c | if (bad_task_ptr(task[i]->p_cptr)) |
task | 118 | kernel/exit.c | task[i]->pid); |
task | 119 | kernel/exit.c | if (bad_task_ptr(task[i]->p_ysptr)) |
task | 121 | kernel/exit.c | task[i]->pid); |
task | 122 | kernel/exit.c | if (bad_task_ptr(task[i]->p_osptr)) |
task | 124 | kernel/exit.c | task[i]->pid); |
task | 125 | kernel/exit.c | if (task[i]->p_pptr == task[i]) |
task | 127 | kernel/exit.c | if (task[i]->p_cptr == task[i]) |
task | 129 | kernel/exit.c | if (task[i]->p_ysptr == task[i]) |
task | 131 | kernel/exit.c | if (task[i]->p_osptr == task[i]) |
task | 133 | kernel/exit.c | if (task[i]->p_osptr) { |
task | 134 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_osptr->p_pptr) |
task | 137 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 138 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 139 | kernel/exit.c | if (task[i]->p_osptr->p_ysptr != task[i]) |
task | 142 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid); |
task | 144 | kernel/exit.c | if (task[i]->p_ysptr) { |
task | 145 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_ysptr->p_pptr) |
task | 148 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 149 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 150 | kernel/exit.c | if (task[i]->p_ysptr->p_osptr != task[i]) |
task | 153 | kernel/exit.c | task[i]->pid, task[i]->p_ysptr->pid); |
task | 155 | kernel/exit.c | if (task[i]->p_cptr) { |
task | 156 | kernel/exit.c | if (task[i]->p_cptr->p_pptr != task[i]) |
task | 159 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 160 | kernel/exit.c | if (task[i]->p_cptr->p_ysptr) |
task | 163 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 254 | kernel/exit.c | struct task_struct **p = NR_TASKS + task; |
task | 318 | kernel/exit.c | if (task[1]) |
task | 319 | kernel/exit.c | (*p)->p_opptr = task[1]; |
task | 321 | kernel/exit.c | (*p)->p_opptr = task[0]; |
task | 379 | kernel/exit.c | if (task[1]) |
task | 380 | kernel/exit.c | p->p_pptr = task[1]; |
task | 382 | kernel/exit.c | p->p_pptr = task[0]; |
task | 50 | kernel/fork.c | if (!task[i]) |
task | 52 | kernel/fork.c | if (task[i]->uid == current->uid) |
task | 54 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid) |
task | 62 | kernel/fork.c | if (!task[i]) |
task | 94 | kernel/fork.c | task[nr] = p; |
task | 141 | kernel/fork.c | task[nr] = NULL; |
task | 19 | kernel/panic.c | if (current == task[0]) |
task | 39 | kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
task | 40 | kernel/ptrace.c | return task[i]; |
task | 51 | kernel/ptrace.c | static inline int get_stack_long(struct task_struct *task, int offset) |
task | 55 | kernel/ptrace.c | stack = (unsigned char *)task->tss.esp0; |
task | 66 | kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, int offset, |
task | 71 | kernel/ptrace.c | stack = (unsigned char *) task->tss.esp0; |
task | 61 | kernel/sched.c | struct task_struct * task[NR_TASKS] = {&init_task, }; |
task | 123 | kernel/sched.c | p = &task[NR_TASKS]; |
task | 173 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 200 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 225 | kernel/sched.c | if (current == task[0]) |
task | 412 | kernel/sched.c | if (prof_buffer && current != task[0]) { |
task | 420 | kernel/sched.c | if (current == task[0] || (--current->counter)<=0) { |
task | 546 | kernel/sched.c | if (task[i]) |
task | 547 | kernel/sched.c | show_task(i,task[i]); |
task | 562 | kernel/sched.c | task[i] = NULL; |
task | 241 | kernel/sys.c | send_sig(SIGINT,task[1],1); |
task | 443 | kernel/sys.c | if (task[i] && (task[i]->pid == pid) && |
task | 444 | kernel/sys.c | ((task[i]->p_pptr == current) || |
task | 445 | kernel/sys.c | (task[i] == current))) { |
task | 446 | kernel/sys.c | if (task[i]->leader) |
task | 448 | kernel/sys.c | if ((task[i]->session != current->session) || |
task | 452 | kernel/sys.c | task[i]->pgrp = pgid; |
task | 65 | mm/memory.c | void oom(struct task_struct * task) |
task | 68 | mm/memory.c | task->sigaction[SIGKILL-1].sa_handler = NULL; |
task | 69 | mm/memory.c | task->blocked &= ~(1<<(SIGKILL-1)); |
task | 70 | mm/memory.c | send_sig(SIGKILL,task,1); |
task | 118 | mm/memory.c | if (tsk == task[0]) |
task | 142 | mm/memory.c | if (tsk == task[0]) { |
task | 290 | mm/swap.c | p = task[swap_task]; |
task | 488 | mm/swap.c | p = task[nr]; |