taglinefilesource code
task155fs/locks.cvoid fcntl_remove_locks(struct task_struct *task, struct file *filp)
task165fs/locks.cif (fl->fl_owner == task)
task463fs/open.cif ((p = tmp->task) != NULL)
task495fs/open.cfor (process = task + 0; process < task + NR_TASKS; process++) {
task49fs/proc/array.cp = task;
task50fs/proc/array.cwhile (++p < task+NR_TASKS) {
task114fs/proc/base.cif (task[i] && task[i]->pid == pid)
task140fs/proc/base.cif (task[i] && task[i]->pid == pid)
task101fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
task152fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
task96fs/proc/inode.cp = task[0];
task98fs/proc/inode.cif ((p = task[i]) && (p->pid == pid))
task106fs/proc/inode.cif (task[i])
task57fs/proc/link.cif ((p = task[i]) && p->pid == pid)
task28fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
task29fs/proc/mem.ccr3 = task[i]->tss.cr3;
task76fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
task77fs/proc/mem.ccr3 = task[i]->tss.cr3;
task100fs/proc/root.cif (task[i] && task[i]->pid == pid)
task144fs/proc/root.cp = task[nr];
task98include/linux/mm.hextern void oom(struct task_struct * task);
task58include/linux/sched.h#define FIRST_TASK task[0]
task59include/linux/sched.h#define LAST_TASK task[NR_TASKS-1]
task260include/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;
task655kernel/blk_drv/scsi/sd.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);
task227kernel/exit.cstruct task_struct **p = NR_TASKS + task;
task291kernel/exit.cif (task[1])
task292kernel/exit.c(*p)->p_opptr = task[1];
task294kernel/exit.c(*p)->p_opptr = task[0];
task352kernel/exit.cif (task[1])
task353kernel/exit.cp->p_pptr = task[1];
task355kernel/exit.cp->p_pptr = task[0];
task76kernel/fork.cif (!task[i])
task78kernel/fork.cif (task[i]->uid == current->uid)
task80kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid)
task88kernel/fork.cif (!task[i])
task120kernel/fork.ctask[nr] = p;
task167kernel/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.cstruct task_struct * task[NR_TASKS] = {&init_task, };
task122kernel/sched.cp = &task[NR_TASKS];
task172kernel/sched.cif ((p = tmp->task) != NULL) {
task199kernel/sched.cif ((p = tmp->task) != NULL) {
task224kernel/sched.cif (current == task[0])
task411kernel/sched.cif (prof_buffer && current != task[0]) {
task419kernel/sched.cif (current == task[0] || (--current->counter)<=0) {
task545kernel/sched.cif (task[i])
task546kernel/sched.cshow_task(i,task[i]);
task561kernel/sched.ctask[i] = NULL;
task241kernel/sys.csend_sig(SIGINT,task[1],1);
task443kernel/sys.cif (task[i] && (task[i]->pid == pid) &&
task444kernel/sys.c((task[i]->p_pptr == current) || 
task445kernel/sys.c(task[i] == current))) {
task446kernel/sys.cif (task[i]->leader)
task448kernel/sys.cif ((task[i]->session != current->session) ||
task452kernel/sys.ctask[i]->pgrp = pgid;
task65mm/memory.cvoid oom(struct task_struct * task)
task68mm/memory.ctask->sigaction[SIGKILL-1].sa_handler = NULL;
task69mm/memory.ctask->blocked &= ~(1<<(SIGKILL-1));
task70mm/memory.csend_sig(SIGKILL,task,1);
task118mm/memory.cif (tsk == task[0])
task142mm/memory.cif (tsk == task[0]) {
task290mm/swap.cp = task[swap_task];
task488mm/swap.cp = task[nr];