taglinefilesource code
task115arch/alpha/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
task116arch/alpha/kernel/ptrace.creturn task[i];
task124arch/alpha/kernel/ptrace.cstatic inline long get_reg(struct task_struct * task, long regno)
task129arch/alpha/kernel/ptrace.caddr = &task->tss.usp;
task134arch/alpha/kernel/ptrace.caddr = (long *) (task->kernel_stack_page + regoff[regno]);
task142arch/alpha/kernel/ptrace.cstatic inline int put_reg(struct task_struct *task, long regno, long data)
task147arch/alpha/kernel/ptrace.caddr = &task->tss.usp;
task151arch/alpha/kernel/ptrace.caddr = (long *) (task->kernel_stack_page + regoff[regno]);
task66arch/i386/kernel/ldt.cif (task[i] == current) {
task143arch/i386/kernel/process.cif (task[i] == current)  {
task42arch/i386/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
task43arch/i386/kernel/ptrace.creturn task[i];
task54arch/i386/kernel/ptrace.cstatic inline int get_stack_long(struct task_struct *task, int offset)
task58arch/i386/kernel/ptrace.cstack = (unsigned char *)task->tss.esp0;
task69arch/i386/kernel/ptrace.cstatic inline int put_stack_long(struct task_struct *task, int offset,
task74arch/i386/kernel/ptrace.cstack = (unsigned char *) task->tss.esp0;
task41arch/mips/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
task42arch/mips/kernel/ptrace.creturn task[i];
task53arch/mips/kernel/ptrace.cstatic inline int get_stack_long(struct task_struct *task, int offset)
task57arch/mips/kernel/ptrace.cstack = (unsigned char *)task->tss.esp0;
task68arch/mips/kernel/ptrace.cstatic inline int put_stack_long(struct task_struct *task, int offset,
task73arch/mips/kernel/ptrace.cstack = (unsigned char *) task->tss.esp0;
task257arch/sparc/kernel/setup.ctask[counter] = NULL;
task756drivers/block/sbpcd.cif (current == task[0]) 
task907drivers/block/sbpcd.cif (current == task[0])
task935drivers/block/sbpcd.cif (current == task[0])
task1000drivers/block/sbpcd.cif (current == task[0])
task1158drivers/block/sbpcd.cif (current == task[0])
task206fs/locks.cvoid locks_remove_locks(struct task_struct *task, struct file *filp)
task217fs/locks.cif (((fl->fl_flags == F_POSIX) && (fl->fl_owner == task)) ||
task397fs/locks.cif (dlock_wait->task != NULL) {
task398fs/locks.cif (dlock_wait->task == blocked_task)
task400fs/locks.cif (posix_locks_deadlock(dlock_wait->task, blocked_task))
task229fs/proc/array.cidle = task[0]->utime + task[0]->stime;
task280fs/proc/array.cp = task;
task281fs/proc/array.cwhile (++p < task+NR_TASKS) {
task102fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
task146fs/proc/fd.cif ((p = task[task_nr]) && p->pid == pid)
task169fs/proc/fd.cif (p != task[task_nr] || p->pid != pid)
task152fs/proc/inode.cp = task[0];
task154fs/proc/inode.cif ((p = task[i]) && (p->pid == pid))
task162fs/proc/inode.cif (task[i])
task84fs/proc/link.cif ((p = task[i]) && p->pid == pid)
task122fs/proc/link.cif ((p = task[i]) && p->pid == pid)
task70fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
task71fs/proc/mem.ctsk = task[i];
task136fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
task137fs/proc/mem.ctsk = task[i];
task218fs/proc/mem.cif (task[i] && task[i]->pid == (inode->i_ino >> 16)) {
task219fs/proc/mem.ctsk = task[i];
task394fs/proc/root.cif (task[i] && task[i]->pid == pid)
task486fs/proc/root.cstruct task_struct * p = task[nr];
task67include/asm-i386/page.h#define invalidate_task(task) \
task68include/asm-i386/page.hdo { if ((task)->mm == current->mm) invalidate(); } while (0)
task69include/asm-i386/page.h#define invalidate_page(task,addr) \
task70include/asm-i386/page.hdo { if ((task)->mm == current->mm) invalidate(); } while (0)
task52include/linux/sched.h#define FIRST_TASK task[0]
task53include/linux/sched.h#define LAST_TASK task[NR_TASKS-1]
task265include/linux/sched.hextern struct task_struct *task[NR_TASKS];
task378include/linux/sched.hentry->wait.task = current;
task12include/linux/wait.hstruct task_struct * task;
task76kernel/exit.cif (tsk->p_pptr == task[1])
task93kernel/exit.cif (task[i] == p) {
task95kernel/exit.ctask[i] = NULL;
task118kernel/exit.cif (task[i] == p)
task137kernel/exit.cif (!task[i])
task139kernel/exit.cif (bad_task_ptr(task[i]->p_pptr))
task141kernel/exit.ctask[i]->pid);
task142kernel/exit.cif (bad_task_ptr(task[i]->p_cptr))
task144kernel/exit.ctask[i]->pid);
task145kernel/exit.cif (bad_task_ptr(task[i]->p_ysptr))
task147kernel/exit.ctask[i]->pid);
task148kernel/exit.cif (bad_task_ptr(task[i]->p_osptr))
task150kernel/exit.ctask[i]->pid);
task151kernel/exit.cif (task[i]->p_pptr == task[i])
task153kernel/exit.ctask[i]->pid);
task154kernel/exit.cif (task[i]->p_cptr == task[i])
task156kernel/exit.ctask[i]->pid);
task157kernel/exit.cif (task[i]->p_ysptr == task[i])
task159kernel/exit.ctask[i]->pid);
task160kernel/exit.cif (task[i]->p_osptr == task[i])
task162kernel/exit.ctask[i]->pid);
task163kernel/exit.cif (task[i]->p_osptr) {
task164kernel/exit.cif (task[i]->p_pptr != task[i]->p_osptr->p_pptr)
task167kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
task168kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
task169kernel/exit.cif (task[i]->p_osptr->p_ysptr != task[i])
task172kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid);
task174kernel/exit.cif (task[i]->p_ysptr) {
task175kernel/exit.cif (task[i]->p_pptr != task[i]->p_ysptr->p_pptr)
task178kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
task179kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
task180kernel/exit.cif (task[i]->p_ysptr->p_osptr != task[i])
task183kernel/exit.ctask[i]->pid, task[i]->p_ysptr->pid);
task185kernel/exit.cif (task[i]->p_cptr) {
task186kernel/exit.cif (task[i]->p_cptr->p_pptr != task[i])
task189kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
task190kernel/exit.cif (task[i]->p_cptr->p_ysptr)
task193kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
task351kernel/exit.cif (task[1])
task352kernel/exit.cp->p_opptr = task[1];
task354kernel/exit.cp->p_opptr = task[0];
task442kernel/exit.cif (task[1] && task[1] != current)
task443kernel/exit.cp->p_pptr = task[1];
task445kernel/exit.cp->p_pptr = task[0];
task64kernel/fork.cif (!task[i]) {
task69kernel/fork.cif (task[i]->uid == current->uid)
task71kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid ||
task72kernel/fork.ctask[i]->session == last_pid)
task233kernel/fork.ctask[nr] = p;
task253kernel/fork.ctask[nr] = NULL;
task27kernel/panic.cif (current == task[0])
task95kernel/sched.cstruct task_struct * task[NR_TASKS] = {&init_task, };
task274kernel/sched.cif ((p = tmp->task) != NULL) {
task299kernel/sched.cif ((p = tmp->task) != NULL) {
task335kernel/sched.cif (current == task[0])
task651kernel/sched.cif (current != task[0]) {
task664kernel/sched.cif(current != task[0])
task667kernel/sched.cif (prof_buffer && current != task[0]) {
task694kernel/sched.cif (current != task[0] && 0 > --current->counter) {
task836kernel/sched.cif (task[i])
task837kernel/sched.cshow_task(i,task[i]);
task176kernel/sys.csend_sig(SIGINT,task[1],1);
task73mm/memory.cvoid oom(struct task_struct * task)
task76mm/memory.ctask->sigaction[SIGKILL-1].sa_handler = NULL;
task77mm/memory.ctask->blocked &= ~(1<<(SIGKILL-1));
task78mm/memory.csend_sig(SIGKILL,task,1);
task155mm/memory.cif (tsk == task[0])
task191mm/memory.cif (tsk == task[0]) {
task227mm/mmap.cstruct vm_area_struct * find_vma (struct task_struct * task, unsigned long addr)
task232mm/mmap.cfor (vma = task->mm->mmap ; ; vma = vma->vm_next) {
task242mm/mmap.cfor (tree = task->mm->mmap_avl ; ; ) {
task258mm/mmap.cstruct vm_area_struct * find_vma_intersection (struct task_struct * task, unsigned long start_addr, unsigned long end_addr)
task263mm/mmap.cfor (vma = task->mm->mmap; vma; vma = vma->vm_next) {
task271mm/mmap.cvma = find_vma(task,start_addr);
task600mm/mmap.cstatic void avl_check (struct task_struct * task, char *caller)
task606mm/mmap.cavl_checkheights(task->mm->mmap_avl);
task607mm/mmap.cavl_checkorder(task->mm->mmap_avl);
task775mm/mmap.cvoid build_mmap_avl(struct task_struct * task)
task779mm/mmap.ctask->mm->mmap_avl = NULL;
task780mm/mmap.cfor (vma = task->mm->mmap; vma; vma = vma->vm_next)
task781mm/mmap.cavl_insert(vma, &task->mm->mmap_avl);
task785mm/mmap.cvoid exit_mmap(struct task_struct * task)
task789mm/mmap.cmpnt = task->mm->mmap;
task790mm/mmap.ctask->mm->mmap = NULL;
task791mm/mmap.ctask->mm->mmap_avl = NULL;
task884mm/mmap.cvoid merge_segments (struct task_struct * task, unsigned long start_addr, unsigned long end_addr)
task888mm/mmap.cmpnt = find_vma(task, start_addr);
task891mm/mmap.cavl_neighbours(mpnt, task->mm->mmap_avl, &prev, &next);
task935mm/mmap.cavl_remove(mpnt, &task->mm->mmap_avl);
task579mm/swap.cp = task[swap_task];
task981mm/swap.cif (task[nr]) {
task982mm/swap.cif (unuse_process(task[nr], type, page)) {