taglinefilesource code
task65arch/i386/kernel/ldt.cif (task[i] == current) {
task106arch/i386/kernel/process.cif (task[i] == current)  {
task41arch/i386/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
task42arch/i386/kernel/ptrace.creturn task[i];
task53arch/i386/kernel/ptrace.cstatic inline int get_stack_long(struct task_struct *task, int offset)
task57arch/i386/kernel/ptrace.cstack = (unsigned char *)task->tss.esp0;
task68arch/i386/kernel/ptrace.cstatic inline int put_stack_long(struct task_struct *task, int offset,
task73arch/i386/kernel/ptrace.cstack = (unsigned char *) task->tss.esp0;
task802drivers/block/sbpcd.cif (current == task[0])
task830drivers/block/sbpcd.cif (current == task[0])
task892drivers/block/sbpcd.cif (current == task[0])
task969drivers/block/sbpcd.cif (current == task[0])
task840drivers/scsi/sd.cif (current == task[0]){
task916drivers/scsi/sd.cif (current == task[0])
task870drivers/scsi/sr.cif (current == task[0])
task183fs/locks.cif (dlock_wait->task != NULL) {
task184fs/locks.cif (dlock_wait->task->pid == blocked_pid) return -EDEADLOCK;
task185fs/locks.cret_val = locks_deadlocked(dlock_wait->task->pid,blocked_pid);
task199fs/locks.cvoid fcntl_remove_locks(struct task_struct *task, struct file *filp,
task208fs/locks.cwhile ((fl = *before) && (task != fl->fl_owner || fd != fl->fl_fd))
task213fs/locks.cwhile ((fl = *before) && task == fl->fl_owner && fd == fl->fl_fd)
task220fs/proc/array.cidle = task[0]->utime + task[0]->stime;
task321fs/proc/array.cp = task;
task322fs/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])
task83fs/proc/link.cif ((p = task[i]) && p->pid == pid)
task121fs/proc/link.cif ((p = task[i]) && p->pid == pid)
task39fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
task40fs/proc/mem.ctsk = task[i];
task89fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
task90fs/proc/mem.ctsk = task[i];
task158fs/proc/mem.cif (task[i] && task[i]->pid == (inode->i_ino >> 16)) {
task159fs/proc/mem.ctsk     = task[i];
task160fs/proc/mem.csrc_vma = task[i]->mm->mmap;
task195fs/proc/mem.csrc_vma = task[i]->mm->mmap;
task128fs/proc/root.cif (task[i] && task[i]->pid == pid)
task172fs/proc/root.cp = task[nr];
task184include/linux/mm.hextern void oom(struct task_struct * task);
task49include/linux/sched.h#define FIRST_TASK task[0]
task50include/linux/sched.h#define LAST_TASK task[NR_TASKS-1]
task244include/linux/sched.hextern struct task_struct *task[NR_TASKS];
task353include/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];
task441kernel/exit.cif (task[1] && task[1] != current)
task442kernel/exit.cp->p_pptr = task[1];
task444kernel/exit.cp->p_pptr = task[0];
task48kernel/fork.cif (!task[i]) {
task53kernel/fork.cif (task[i]->uid == current->uid)
task55kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid ||
task56kernel/fork.ctask[i]->session == last_pid)
task208kernel/fork.ctask[nr] = p;
task224kernel/fork.ctask[nr] = NULL;
task27kernel/panic.cif (current == task[0])
task88kernel/sched.cstruct task_struct * task[NR_TASKS] = {&init_task, };
task212kernel/sched.cif ((p = tmp->task) != NULL) {
task240kernel/sched.cif ((p = tmp->task) != NULL) {
task279kernel/sched.cif (current == task[0])
task591kernel/sched.cif (current != task[0]) {
task604kernel/sched.cif(current != task[0])
task607kernel/sched.cif (prof_buffer && current != task[0]) {
task633kernel/sched.cif (current != task[0] && 0 > --current->counter) {
task760kernel/sched.cif (task[i])
task761kernel/sched.cshow_task(i,task[i]);
task175kernel/sys.csend_sig(SIGINT,task[1],1);
task71mm/memory.cvoid oom(struct task_struct * task)
task74mm/memory.ctask->sigaction[SIGKILL-1].sa_handler = NULL;
task75mm/memory.ctask->blocked &= ~(1<<(SIGKILL-1));
task76mm/memory.csend_sig(SIGKILL,task,1);
task123mm/memory.cif (tsk == task[0])
task159mm/memory.cif (tsk == task[0]) {
task474mm/swap.cp = task[swap_task];
task747mm/swap.cp = task[nr];