tag | line | file | source code |
task | 78 | include/linux/mm.h | extern void oom(struct task_struct * task); |
task | 36 | include/linux/sched.h | #define FIRST_TASK task[0] |
task | 37 | include/linux/sched.h | #define LAST_TASK task[NR_TASKS-1] |
task | 190 | include/linux/sched.h | /* proc links*/ &init_task.task,&init_task.task,NULL,NULL,NULL, \ |
task | 191 | include/linux/sched.h | /* wait queue*/ {&init_task.task,NULL}, \ |
task | 218 | include/linux/sched.h | extern struct task_struct *task[NR_TASKS]; |
task | 277 | include/linux/sched.h | "d" (_TSS(n)),"c" ((long) task[n]) \ |
task | 349 | include/linux/sched.h | entry->wait.task = current; |
task | 10 | include/linux/wait.h | struct task_struct * task; |
task | 68 | kernel/exit.c | if (task[i] == p) { |
task | 69 | kernel/exit.c | task[i] = NULL; |
task | 89 | kernel/exit.c | if (task[i] == p) |
task | 108 | kernel/exit.c | if (!task[i]) |
task | 110 | kernel/exit.c | if (bad_task_ptr(task[i]->p_pptr)) |
task | 112 | kernel/exit.c | task[i]->pid); |
task | 113 | kernel/exit.c | if (bad_task_ptr(task[i]->p_cptr)) |
task | 115 | kernel/exit.c | task[i]->pid); |
task | 116 | kernel/exit.c | if (bad_task_ptr(task[i]->p_ysptr)) |
task | 118 | kernel/exit.c | task[i]->pid); |
task | 119 | kernel/exit.c | if (bad_task_ptr(task[i]->p_osptr)) |
task | 121 | kernel/exit.c | task[i]->pid); |
task | 122 | kernel/exit.c | if (task[i]->p_pptr == task[i]) |
task | 124 | kernel/exit.c | if (task[i]->p_cptr == task[i]) |
task | 126 | kernel/exit.c | if (task[i]->p_ysptr == task[i]) |
task | 128 | kernel/exit.c | if (task[i]->p_osptr == task[i]) |
task | 130 | kernel/exit.c | if (task[i]->p_osptr) { |
task | 131 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_osptr->p_pptr) |
task | 134 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 135 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 136 | kernel/exit.c | if (task[i]->p_osptr->p_ysptr != task[i]) |
task | 139 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid); |
task | 141 | kernel/exit.c | if (task[i]->p_ysptr) { |
task | 142 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_ysptr->p_pptr) |
task | 145 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 146 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 147 | kernel/exit.c | if (task[i]->p_ysptr->p_osptr != task[i]) |
task | 150 | kernel/exit.c | task[i]->pid, task[i]->p_ysptr->pid); |
task | 152 | kernel/exit.c | if (task[i]->p_cptr) { |
task | 153 | kernel/exit.c | if (task[i]->p_cptr->p_pptr != task[i]) |
task | 156 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 157 | kernel/exit.c | if (task[i]->p_cptr->p_ysptr) |
task | 160 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 224 | kernel/exit.c | struct task_struct **p = NR_TASKS + task; |
task | 288 | kernel/exit.c | if (task[1]) |
task | 289 | kernel/exit.c | (*p)->p_opptr = task[1]; |
task | 291 | kernel/exit.c | (*p)->p_opptr = task[0]; |
task | 350 | kernel/exit.c | if (task[1]) |
task | 351 | kernel/exit.c | p->p_pptr = task[1]; |
task | 353 | kernel/exit.c | p->p_pptr = task[0]; |
task | 79 | kernel/fork.c | if (!task[i]) |
task | 81 | kernel/fork.c | if (task[i]->uid == current->uid) |
task | 83 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid) |
task | 91 | kernel/fork.c | if (!task[i]) |
task | 123 | kernel/fork.c | task[nr] = p; |
task | 125 | kernel/fork.c | p->wait.task = p; |
task | 171 | 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 | 60 | kernel/sched.c | if (task[i]) |
task | 61 | kernel/sched.c | show_task(i,task[i]); |
task | 72 | kernel/sched.c | struct task_struct task; |
task | 86 | kernel/sched.c | struct task_struct *current = &(init_task.task); |
task | 89 | kernel/sched.c | struct task_struct * task[NR_TASKS] = {&(init_task.task), }; |
task | 153 | kernel/sched.c | p = &task[NR_TASKS]; |
task | 208 | kernel/sched.c | if (p = tmp->task) { |
task | 228 | kernel/sched.c | if (current == task[0]) |
task | 515 | kernel/sched.c | set_tss_desc(gdt+FIRST_TSS_ENTRY,&(init_task.task.tss)); |
task | 516 | kernel/sched.c | set_ldt_desc(gdt+FIRST_LDT_ENTRY,&(init_task.task.ldt)); |
task | 520 | kernel/sched.c | task[i] = NULL; |
task | 168 | kernel/sys.c | send_sig(SIGINT,task[1],1); |
task | 365 | kernel/sys.c | if (task[i] && (task[i]->pid == pid) && |
task | 366 | kernel/sys.c | ((task[i]->p_pptr == current) || |
task | 367 | kernel/sys.c | (task[i] == current))) { |
task | 368 | kernel/sys.c | if (task[i]->leader) |
task | 370 | kernel/sys.c | if ((task[i]->session != current->session) || |
task | 374 | kernel/sys.c | task[i]->pgrp = pgid; |
task | 55 | mm/memory.c | void oom(struct task_struct * task) |
task | 58 | mm/memory.c | task->sigaction[SIGSEGV-1].sa_handler = NULL; |
task | 59 | mm/memory.c | task->blocked &= ~(1<<(SIGSEGV-1)); |
task | 60 | mm/memory.c | send_sig(SIGSEGV,task,1); |
task | 437 | mm/memory.c | static void un_wp_page(unsigned long * table_entry, struct task_struct * task) |
task | 456 | mm/memory.c | send_sig(SIGSEGV, task, 1); |
task | 473 | mm/memory.c | send_sig(SIGSEGV,task,1); |
task | 206 | mm/swap.c | if (!(p = task[dir_entry >> 4])) { |