taglinefilesource code
task66arch/i386/kernel/ldt.cif (task[i] == current) {
task141arch/i386/kernel/process.cif (task[i] == current)  {
task43arch/i386/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
task44arch/i386/kernel/ptrace.creturn task[i];
task55arch/i386/kernel/ptrace.cstatic inline int get_stack_long(struct task_struct *task, int offset)
task59arch/i386/kernel/ptrace.cstack = (unsigned char *)task->tss.esp0;
task70arch/i386/kernel/ptrace.cstatic inline int put_stack_long(struct task_struct *task, int offset,
task75arch/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;
task853drivers/block/sbpcd.cif (current == task[0])
task896drivers/block/sbpcd.cif (current == task[0])
task946drivers/block/sbpcd.cif (current == task[0])
task1044drivers/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])
task422drivers/scsi/scsi.cif (current == task[0])
task585drivers/scsi/scsi.cif (current == task[0])
task870drivers/scsi/sd.cif (current == task[0]){
task946drivers/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)
task44fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
task45fs/proc/mem.ctsk = task[i];
task107fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
task108fs/proc/mem.ctsk = task[i];
task189fs/proc/mem.cif (task[i] && task[i]->pid == (inode->i_ino >> 16)) {
task190fs/proc/mem.ctsk = task[i];
task128fs/proc/root.cif (task[i] && task[i]->pid == pid)
task172fs/proc/root.cp = task[nr];
task50include/linux/sched.h#define FIRST_TASK task[0]
task51include/linux/sched.h#define LAST_TASK task[NR_TASKS-1]
task248include/linux/sched.hextern struct task_struct *task[NR_TASKS];
task358include/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) {
task94kernel/exit.ctask[i] = NULL;
task117kernel/exit.cif (task[i] == p)
task136kernel/exit.cif (!task[i])
task138kernel/exit.cif (bad_task_ptr(task[i]->p_pptr))
task140kernel/exit.ctask[i]->pid);
task141kernel/exit.cif (bad_task_ptr(task[i]->p_cptr))
task143kernel/exit.ctask[i]->pid);
task144kernel/exit.cif (bad_task_ptr(task[i]->p_ysptr))
task146kernel/exit.ctask[i]->pid);
task147kernel/exit.cif (bad_task_ptr(task[i]->p_osptr))
task149kernel/exit.ctask[i]->pid);
task150kernel/exit.cif (task[i]->p_pptr == task[i])
task152kernel/exit.ctask[i]->pid);
task153kernel/exit.cif (task[i]->p_cptr == task[i])
task155kernel/exit.ctask[i]->pid);
task156kernel/exit.cif (task[i]->p_ysptr == task[i])
task158kernel/exit.ctask[i]->pid);
task159kernel/exit.cif (task[i]->p_osptr == task[i])
task161kernel/exit.ctask[i]->pid);
task162kernel/exit.cif (task[i]->p_osptr) {
task163kernel/exit.cif (task[i]->p_pptr != task[i]->p_osptr->p_pptr)
task166kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
task167kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
task168kernel/exit.cif (task[i]->p_osptr->p_ysptr != task[i])
task171kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid);
task173kernel/exit.cif (task[i]->p_ysptr) {
task174kernel/exit.cif (task[i]->p_pptr != task[i]->p_ysptr->p_pptr)
task177kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
task178kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
task179kernel/exit.cif (task[i]->p_ysptr->p_osptr != task[i])
task182kernel/exit.ctask[i]->pid, task[i]->p_ysptr->pid);
task184kernel/exit.cif (task[i]->p_cptr) {
task185kernel/exit.cif (task[i]->p_cptr->p_pptr != task[i])
task188kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
task189kernel/exit.cif (task[i]->p_cptr->p_ysptr)
task192kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
task350kernel/exit.cif (task[1])
task351kernel/exit.cp->p_opptr = task[1];
task353kernel/exit.cp->p_opptr = task[0];
task422kernel/exit.cif (task[1] && task[1] != current)
task423kernel/exit.cp->p_pptr = task[1];
task425kernel/exit.cp->p_pptr = task[0];
task43kernel/fork.cif (!task[i]) {
task48kernel/fork.cif (task[i]->uid == current->uid)
task50kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid ||
task51kernel/fork.ctask[i]->session == last_pid)
task204kernel/fork.ctask[nr] = p;
task222kernel/fork.ctask[nr] = NULL;
task27kernel/panic.cif (current == task[0])
task90kernel/sched.cstruct task_struct * task[NR_TASKS] = {&init_task, };
task214kernel/sched.cif ((p = tmp->task) != NULL) {
task242kernel/sched.cif ((p = tmp->task) != NULL) {
task281kernel/sched.cif (current == task[0])
task600kernel/sched.cif (current != task[0]) {
task613kernel/sched.cif(current != task[0])
task616kernel/sched.cif (prof_buffer && current != task[0]) {
task642kernel/sched.cif (current != task[0] && 0 > --current->counter) {
task769kernel/sched.cif (task[i])
task770kernel/sched.cshow_task(i,task[i]);
task176kernel/sys.csend_sig(SIGINT,task[1],1);
task74mm/memory.cvoid oom(struct task_struct * task)
task77mm/memory.ctask->sigaction[SIGKILL-1].sa_handler = NULL;
task78mm/memory.ctask->blocked &= ~(1<<(SIGKILL-1));
task79mm/memory.csend_sig(SIGKILL,task,1);
task158mm/memory.cif (tsk == task[0])
task194mm/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);
task542mm/swap.cp = task[swap_task];
task967mm/swap.cif (task[nr]) {
task968mm/swap.cif (unuse_process(task[nr], type, page)) {