tag | line | file | source code |
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 | 187 | include/linux/sched.h | /* proc links*/ &init_task.task,NULL,NULL,NULL,NULL, \ |
task | 214 | include/linux/sched.h | extern struct task_struct *task[NR_TASKS]; |
task | 264 | include/linux/sched.h | "d" (_TSS(n)),"c" ((long) task[n]) \ |
task | 67 | kernel/exit.c | if (task[i] == p) { |
task | 68 | kernel/exit.c | task[i] = NULL; |
task | 94 | kernel/exit.c | if (task[i] == p) |
task | 113 | kernel/exit.c | if (!task[i]) |
task | 115 | kernel/exit.c | if (bad_task_ptr(task[i]->p_pptr)) |
task | 117 | kernel/exit.c | task[i]->pid); |
task | 118 | kernel/exit.c | if (bad_task_ptr(task[i]->p_cptr)) |
task | 120 | kernel/exit.c | task[i]->pid); |
task | 121 | kernel/exit.c | if (bad_task_ptr(task[i]->p_ysptr)) |
task | 123 | kernel/exit.c | task[i]->pid); |
task | 124 | kernel/exit.c | if (bad_task_ptr(task[i]->p_osptr)) |
task | 126 | kernel/exit.c | task[i]->pid); |
task | 127 | kernel/exit.c | if (task[i]->p_pptr == task[i]) |
task | 129 | kernel/exit.c | if (task[i]->p_cptr == task[i]) |
task | 131 | kernel/exit.c | if (task[i]->p_ysptr == task[i]) |
task | 133 | kernel/exit.c | if (task[i]->p_osptr == task[i]) |
task | 135 | kernel/exit.c | if (task[i]->p_osptr) { |
task | 136 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_osptr->p_pptr) |
task | 139 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 140 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 141 | kernel/exit.c | if (task[i]->p_osptr->p_ysptr != task[i]) |
task | 144 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid); |
task | 146 | kernel/exit.c | if (task[i]->p_ysptr) { |
task | 147 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_ysptr->p_pptr) |
task | 150 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 151 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 152 | kernel/exit.c | if (task[i]->p_ysptr->p_osptr != task[i]) |
task | 155 | kernel/exit.c | task[i]->pid, task[i]->p_ysptr->pid); |
task | 157 | kernel/exit.c | if (task[i]->p_cptr) { |
task | 158 | kernel/exit.c | if (task[i]->p_cptr->p_pptr != task[i]) |
task | 161 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 162 | kernel/exit.c | if (task[i]->p_cptr->p_ysptr) |
task | 165 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 229 | kernel/exit.c | struct task_struct **p = NR_TASKS + task; |
task | 341 | kernel/exit.c | p->p_pptr = task[1]; |
task | 342 | kernel/exit.c | p->p_osptr = task[1]->p_cptr; |
task | 343 | kernel/exit.c | task[1]->p_cptr->p_ysptr = p; |
task | 344 | kernel/exit.c | task[1]->p_cptr = p; |
task | 346 | kernel/exit.c | task[1]->signal |= (1<<(SIGCHLD-1)); |
task | 76 | kernel/fork.c | if (task[i] && ((task[i]->pid == last_pid) || |
task | 77 | kernel/fork.c | (task[i]->pgrp == last_pid))) |
task | 80 | kernel/fork.c | if (!task[i]) |
task | 107 | kernel/fork.c | task[nr] = p; |
task | 152 | kernel/fork.c | task[nr] = NULL; |
task | 19 | kernel/panic.c | if (current == task[0]) |
task | 41 | kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
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 | 238 | kernel/ptrace.c | child = task[childno]; |
task | 250 | kernel/ptrace.c | res = read_long(task[childno], addr, &tmp); |
task | 273 | kernel/ptrace.c | return write_long(task[childno],addr,data); |
task | 55 | kernel/sched.c | if (task[i]) |
task | 56 | kernel/sched.c | show_task(i,task[i]); |
task | 67 | kernel/sched.c | struct task_struct task; |
task | 81 | kernel/sched.c | struct task_struct *current = &(init_task.task); |
task | 84 | kernel/sched.c | struct task_struct * task[NR_TASKS] = {&(init_task.task), }; |
task | 152 | kernel/sched.c | p = &task[NR_TASKS]; |
task | 195 | kernel/sched.c | while (wakeup_ptr && wakeup_ptr != task[0]) { |
task | 204 | kernel/sched.c | wakeup_ptr->next_wait = task[0]; |
task | 216 | kernel/sched.c | if (current == task[0]) |
task | 220 | kernel/sched.c | task[0]->next_wait = NULL; |
task | 225 | kernel/sched.c | if (current->next_wait != task[0]) |
task | 478 | kernel/sched.c | set_tss_desc(gdt+FIRST_TSS_ENTRY,&(init_task.task.tss)); |
task | 479 | kernel/sched.c | set_ldt_desc(gdt+FIRST_LDT_ENTRY,&(init_task.task.ldt)); |
task | 482 | kernel/sched.c | task[i] = NULL; |
task | 363 | kernel/sys.c | if (task[i] && (task[i]->pid == pid) && |
task | 364 | kernel/sys.c | ((task[i]->p_pptr == current) || |
task | 365 | kernel/sys.c | (task[i] == current))) { |
task | 366 | kernel/sys.c | if (task[i]->leader) |
task | 368 | kernel/sys.c | if ((task[i]->session != current->session) || |
task | 372 | kernel/sys.c | task[i]->pgrp = pgid; |
task | 172 | mm/swap.c | if (!(p = task[dir_entry >> 4])) { |