taglinefilesource code
task175fs/locks.cvoid fcntl_remove_locks(struct task_struct *task, struct file *filp)
task185fs/locks.cif (fl->fl_owner == task)
task28fs/proc/array.c#define  VSIZE(task,stack) ((task)->brk + 1023 + SSIZE(stack))
task50fs/proc/array.cidle = task[0]->utime + task[0]->stime;
task83fs/proc/array.cp = task;
task84fs/proc/array.cwhile (++p < task+NR_TASKS) {
task117fs/proc/base.cif (task[i] && task[i]->pid == pid)
task143fs/proc/base.cif (task[i] && task[i]->pid == pid)
task103fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
task154fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
task88fs/proc/inode.cp = task[0];
task90fs/proc/inode.cif ((p = task[i]) && (p->pid == pid))
task98fs/proc/inode.cif (task[i])
task58fs/proc/link.cif ((p = task[i]) && p->pid == pid)
task36fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
task37fs/proc/mem.ccr3 = task[i]->tss.cr3;
task86fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
task87fs/proc/mem.ccr3 = task[i]->tss.cr3;
task107fs/proc/root.cif (task[i] && task[i]->pid == pid)
task151fs/proc/root.cp = task[nr];
task109include/linux/mm.hextern void oom(struct task_struct * task);
task55include/linux/sched.h#define FIRST_TASK task[0]
task56include/linux/sched.h#define LAST_TASK task[NR_TASKS-1]
task259include/linux/sched.hextern struct task_struct *task[NR_TASKS];
task321include/linux/sched.h"d" (_TSS(n)),"c" ((long) task[n]) \
task429include/linux/sched.hentry->wait.task = current;
task8include/linux/wait.hstruct task_struct * task;
task689kernel/blk_drv/scsi/sd.cif (current == task[0])
task662kernel/blk_drv/scsi/sr.cif (current == task[0])
task70kernel/exit.cif (task[i] == p) {
task71kernel/exit.ctask[i] = NULL;
task92kernel/exit.cif (task[i] == p)
task111kernel/exit.cif (!task[i])
task113kernel/exit.cif (bad_task_ptr(task[i]->p_pptr))
task115kernel/exit.ctask[i]->pid);
task116kernel/exit.cif (bad_task_ptr(task[i]->p_cptr))
task118kernel/exit.ctask[i]->pid);
task119kernel/exit.cif (bad_task_ptr(task[i]->p_ysptr))
task121kernel/exit.ctask[i]->pid);
task122kernel/exit.cif (bad_task_ptr(task[i]->p_osptr))
task124kernel/exit.ctask[i]->pid);
task125kernel/exit.cif (task[i]->p_pptr == task[i])
task127kernel/exit.cif (task[i]->p_cptr == task[i])
task129kernel/exit.cif (task[i]->p_ysptr == task[i])
task131kernel/exit.cif (task[i]->p_osptr == task[i])
task133kernel/exit.cif (task[i]->p_osptr) {
task134kernel/exit.cif (task[i]->p_pptr != task[i]->p_osptr->p_pptr)
task137kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
task138kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
task139kernel/exit.cif (task[i]->p_osptr->p_ysptr != task[i])
task142kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid);
task144kernel/exit.cif (task[i]->p_ysptr) {
task145kernel/exit.cif (task[i]->p_pptr != task[i]->p_ysptr->p_pptr)
task148kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
task149kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
task150kernel/exit.cif (task[i]->p_ysptr->p_osptr != task[i])
task153kernel/exit.ctask[i]->pid, task[i]->p_ysptr->pid);
task155kernel/exit.cif (task[i]->p_cptr) {
task156kernel/exit.cif (task[i]->p_cptr->p_pptr != task[i])
task159kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
task160kernel/exit.cif (task[i]->p_cptr->p_ysptr)
task163kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
task254kernel/exit.cstruct task_struct **p = NR_TASKS + task;
task318kernel/exit.cif (task[1])
task319kernel/exit.c(*p)->p_opptr = task[1];
task321kernel/exit.c(*p)->p_opptr = task[0];
task379kernel/exit.cif (task[1])
task380kernel/exit.cp->p_pptr = task[1];
task382kernel/exit.cp->p_pptr = task[0];
task37kernel/fork.cif (!task[i])
task39kernel/fork.cif (task[i]->uid == current->uid)
task41kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid)
task49kernel/fork.cif (!task[i])
task81kernel/fork.ctask[nr] = p;
task127kernel/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;
task61kernel/sched.cstruct task_struct * task[NR_TASKS] = {&init_task, };
task126kernel/sched.cp = &task[NR_TASKS];
task167kernel/sched.cif ((p = tmp->task) != NULL) {
task194kernel/sched.cif ((p = tmp->task) != NULL) {
task219kernel/sched.cif (current == task[0])
task410kernel/sched.cif (prof_buffer && current != task[0]) {
task418kernel/sched.cif (current == task[0] || (--current->counter)<=0) {
task544kernel/sched.cif (task[i])
task545kernel/sched.cshow_task(i,task[i]);
task560kernel/sched.ctask[i] = NULL;
task246kernel/sys.csend_sig(SIGINT,task[1],1);
task469kernel/sys.cif (task[i] && (task[i]->pid == pid) &&
task470kernel/sys.c((task[i]->p_pptr == current) || 
task471kernel/sys.c(task[i] == current))) {
task472kernel/sys.cif (task[i]->leader)
task474kernel/sys.cif ((task[i]->session != current->session) ||
task478kernel/sys.ctask[i]->pgrp = pgid;
task67mm/memory.cvoid oom(struct task_struct * task)
task70mm/memory.ctask->sigaction[SIGKILL-1].sa_handler = NULL;
task71mm/memory.ctask->blocked &= ~(1<<(SIGKILL-1));
task72mm/memory.csend_sig(SIGKILL,task,1);
task119mm/memory.cif (tsk == task[0])
task143mm/memory.cif (tsk == task[0]) {
task301mm/swap.cp = task[swap_task];
task492mm/swap.cp = task[nr];