taglinefilesource code
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;
task754drivers/block/sbpcd.cif (current == task[0]) 
task905drivers/block/sbpcd.cif (current == task[0])
task933drivers/block/sbpcd.cif (current == task[0])
task998drivers/block/sbpcd.cif (current == task[0])
task1156drivers/block/sbpcd.cif (current == task[0])
task323drivers/scsi/scsi.cscsi_result = ((current == task[0]  || !shpnt->unchecked_isa_dma)
task371drivers/scsi/scsi.cif (current == task[0])
task423drivers/scsi/scsi.cif (current == task[0])
task586drivers/scsi/scsi.cif (current == task[0])
task868drivers/scsi/sd.cif (current == task[0]){
task944drivers/scsi/sd.cif (current == task[0])
task928drivers/scsi/sr.cif (current == task[0])
task194fs/locks.cif (dlock_wait->task != NULL) {
task195fs/locks.cif (dlock_wait->task->pid == blocked_pid)
task197fs/locks.cret_val = locks_deadlocked(dlock_wait->task->pid,blocked_pid);
task212fs/locks.cvoid fcntl_remove_locks(struct task_struct *task, struct file *filp)
task220fs/locks.cwhile ((fl = *before) && task != fl->fl_owner)
task225fs/locks.cwhile ((fl = *before) && task == fl->fl_owner)
task229fs/proc/array.cidle = task[0]->utime + task[0]->stime;
task330fs/proc/array.cp = task;
task331fs/proc/array.cwhile (++p < task+NR_TASKS) {
task109fs/proc/base.cif (task[i] && task[i]->pid == pid)
task135fs/proc/base.cif (task[i] && task[i]->pid == pid)
task102fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
task149fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
task126fs/proc/inode.cp = task[0];
task128fs/proc/inode.cif ((p = task[i]) && (p->pid == pid))
task136fs/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)
task43fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
task44fs/proc/mem.ctsk = task[i];
task106fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
task107fs/proc/mem.ctsk = task[i];
task188fs/proc/mem.cif (task[i] && task[i]->pid == (inode->i_ino >> 16)) {
task189fs/proc/mem.ctsk = task[i];
task128fs/proc/root.cif (task[i] && task[i]->pid == pid)
task172fs/proc/root.cp = task[nr];
task52include/linux/sched.h#define FIRST_TASK task[0]
task53include/linux/sched.h#define LAST_TASK task[NR_TASKS-1]
task252include/linux/sched.hextern struct task_struct *task[NR_TASKS];
task362include/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];
task423kernel/exit.cif (task[1] && task[1] != current)
task424kernel/exit.cp->p_pptr = task[1];
task426kernel/exit.cp->p_pptr = task[0];
task45kernel/fork.cif (!task[i]) {
task50kernel/fork.cif (task[i]->uid == current->uid)
task52kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid ||
task53kernel/fork.ctask[i]->session == last_pid)
task206kernel/fork.ctask[nr] = p;
task225kernel/fork.ctask[nr] = NULL;
task27kernel/panic.cif (current == task[0])
task91kernel/sched.cstruct task_struct * task[NR_TASKS] = {&init_task, };
task220kernel/sched.cif ((p = tmp->task) != NULL) {
task248kernel/sched.cif ((p = tmp->task) != NULL) {
task287kernel/sched.cif (current == task[0])
task606kernel/sched.cif (current != task[0]) {
task619kernel/sched.cif(current != task[0])
task622kernel/sched.cif (prof_buffer && current != task[0]) {
task648kernel/sched.cif (current != task[0] && 0 > --current->counter) {
task775kernel/sched.cif (task[i])
task776kernel/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);
task157mm/memory.cif (tsk == task[0])
task193mm/memory.cif (tsk == task[0]) {
task242mm/mmap.cstruct vm_area_struct * find_vma (struct task_struct * task, unsigned long addr)
task247mm/mmap.cfor (vma = task->mm->mmap ; ; vma = vma->vm_next) {
task257mm/mmap.cfor (tree = task->mm->mmap_avl ; ; ) {
task273mm/mmap.cstruct vm_area_struct * find_vma_intersection (struct task_struct * task, unsigned long start_addr, unsigned long end_addr)
task278mm/mmap.cfor (vma = task->mm->mmap; vma; vma = vma->vm_next) {
task286mm/mmap.cvma = find_vma(task,start_addr);
task615mm/mmap.cstatic void avl_check (struct task_struct * task, char *caller)
task621mm/mmap.cavl_checkheights(task->mm->mmap_avl);
task622mm/mmap.cavl_checkorder(task->mm->mmap_avl);
task790mm/mmap.cvoid build_mmap_avl(struct task_struct * task)
task794mm/mmap.ctask->mm->mmap_avl = NULL;
task795mm/mmap.cfor (vma = task->mm->mmap; vma; vma = vma->vm_next)
task796mm/mmap.cavl_insert(vma, &task->mm->mmap_avl);
task800mm/mmap.cvoid exit_mmap(struct task_struct * task)
task804mm/mmap.cmpnt = task->mm->mmap;
task805mm/mmap.ctask->mm->mmap = NULL;
task806mm/mmap.ctask->mm->mmap_avl = NULL;
task899mm/mmap.cvoid merge_segments (struct task_struct * task, unsigned long start_addr, unsigned long end_addr)
task903mm/mmap.cmpnt = find_vma(task, start_addr);
task906mm/mmap.cavl_neighbours(mpnt, task->mm->mmap_avl, &prev, &next);
task950mm/mmap.cavl_remove(mpnt, &task->mm->mmap_avl);
task541mm/swap.cp = task[swap_task];
task966mm/swap.cif (task[nr]) {
task967mm/swap.cif (unuse_process(task[nr], type, page)) {