taglinefilesource code
task78include/linux/mm.hextern void oom(struct task_struct * task);
task36include/linux/sched.h#define FIRST_TASK task[0]
task37include/linux/sched.h#define LAST_TASK task[NR_TASKS-1]
task190include/linux/sched.h/* proc links*/ &init_task.task,&init_task.task,NULL,NULL,NULL, \
task191include/linux/sched.h/* wait queue*/ {&init_task.task,NULL}, \
task218include/linux/sched.hextern struct task_struct *task[NR_TASKS];
task277include/linux/sched.h"d" (_TSS(n)),"c" ((long) task[n]) \
task349include/linux/sched.hentry->wait.task = current;
task10include/linux/wait.hstruct task_struct * task;
task68kernel/exit.cif (task[i] == p) {
task69kernel/exit.ctask[i] = NULL;
task89kernel/exit.cif (task[i] == p)
task108kernel/exit.cif (!task[i])
task110kernel/exit.cif (bad_task_ptr(task[i]->p_pptr))
task112kernel/exit.ctask[i]->pid);
task113kernel/exit.cif (bad_task_ptr(task[i]->p_cptr))
task115kernel/exit.ctask[i]->pid);
task116kernel/exit.cif (bad_task_ptr(task[i]->p_ysptr))
task118kernel/exit.ctask[i]->pid);
task119kernel/exit.cif (bad_task_ptr(task[i]->p_osptr))
task121kernel/exit.ctask[i]->pid);
task122kernel/exit.cif (task[i]->p_pptr == task[i])
task124kernel/exit.cif (task[i]->p_cptr == task[i])
task126kernel/exit.cif (task[i]->p_ysptr == task[i])
task128kernel/exit.cif (task[i]->p_osptr == task[i])
task130kernel/exit.cif (task[i]->p_osptr) {
task131kernel/exit.cif (task[i]->p_pptr != task[i]->p_osptr->p_pptr)
task134kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
task135kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
task136kernel/exit.cif (task[i]->p_osptr->p_ysptr != task[i])
task139kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid);
task141kernel/exit.cif (task[i]->p_ysptr) {
task142kernel/exit.cif (task[i]->p_pptr != task[i]->p_ysptr->p_pptr)
task145kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
task146kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
task147kernel/exit.cif (task[i]->p_ysptr->p_osptr != task[i])
task150kernel/exit.ctask[i]->pid, task[i]->p_ysptr->pid);
task152kernel/exit.cif (task[i]->p_cptr) {
task153kernel/exit.cif (task[i]->p_cptr->p_pptr != task[i])
task156kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
task157kernel/exit.cif (task[i]->p_cptr->p_ysptr)
task160kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
task224kernel/exit.cstruct task_struct **p = NR_TASKS + task;
task288kernel/exit.cif (task[1])
task289kernel/exit.c(*p)->p_opptr = task[1];
task291kernel/exit.c(*p)->p_opptr = task[0];
task350kernel/exit.cif (task[1])
task351kernel/exit.cp->p_pptr = task[1];
task353kernel/exit.cp->p_pptr = task[0];
task79kernel/fork.cif (!task[i])
task81kernel/fork.cif (task[i]->uid == current->uid)
task83kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid)
task91kernel/fork.cif (!task[i])
task123kernel/fork.ctask[nr] = p;
task125kernel/fork.cp->wait.task = p;
task171kernel/fork.ctask[nr] = NULL;
task19kernel/panic.cif (current == task[0])
task39kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
task40kernel/ptrace.creturn task[i];
task51kernel/ptrace.cstatic inline int get_stack_long(struct task_struct *task, int offset)
task55kernel/ptrace.cstack = (unsigned char *)task->tss.esp0;
task66kernel/ptrace.cstatic inline int put_stack_long(struct task_struct *task, int offset,
task71kernel/ptrace.cstack = (unsigned char *) task->tss.esp0;
task60kernel/sched.cif (task[i])
task61kernel/sched.cshow_task(i,task[i]);
task72kernel/sched.cstruct task_struct task;
task86kernel/sched.cstruct task_struct *current = &(init_task.task);
task89kernel/sched.cstruct task_struct * task[NR_TASKS] = {&(init_task.task), };
task153kernel/sched.cp = &task[NR_TASKS];
task208kernel/sched.cif (p = tmp->task) {
task228kernel/sched.cif (current == task[0])
task515kernel/sched.cset_tss_desc(gdt+FIRST_TSS_ENTRY,&(init_task.task.tss));
task516kernel/sched.cset_ldt_desc(gdt+FIRST_LDT_ENTRY,&(init_task.task.ldt));
task520kernel/sched.ctask[i] = NULL;
task168kernel/sys.csend_sig(SIGINT,task[1],1);
task365kernel/sys.cif (task[i] && (task[i]->pid == pid) &&
task366kernel/sys.c((task[i]->p_pptr == current) || 
task367kernel/sys.c(task[i] == current))) {
task368kernel/sys.cif (task[i]->leader)
task370kernel/sys.cif ((task[i]->session != current->session) ||
task374kernel/sys.ctask[i]->pgrp = pgid;
task55mm/memory.cvoid oom(struct task_struct * task)
task58mm/memory.ctask->sigaction[SIGSEGV-1].sa_handler = NULL;
task59mm/memory.ctask->blocked &= ~(1<<(SIGSEGV-1));
task60mm/memory.csend_sig(SIGSEGV,task,1);
task437mm/memory.cstatic void un_wp_page(unsigned long * table_entry, struct task_struct * task)
task456mm/memory.csend_sig(SIGSEGV, task, 1);
task473mm/memory.csend_sig(SIGSEGV,task,1);
task206mm/swap.cif (!(p = task[dir_entry >> 4])) {