taglinefilesource code
task683drivers/scsi/sd.cif (current == task[0]){
task756drivers/scsi/sd.cif (current == task[0])
task669drivers/scsi/sr.cif (current == task[0])
task501fs/exec.cif (task[i] == current)  {
task173fs/locks.cvoid fcntl_remove_locks(struct task_struct *task, struct file *filp,
task182fs/locks.cwhile ((fl = *before) && (task != fl->fl_owner || fd != fl->fl_fd))
task187fs/locks.cwhile ((fl = *before) && task == fl->fl_owner && fd == fl->fl_fd)
task94fs/proc/array.cidle = task[0]->utime + task[0]->stime;
task127fs/proc/array.cp = task;
task128fs/proc/array.cwhile (++p < task+NR_TASKS) {
task118fs/proc/base.cif (task[i] && task[i]->pid == pid)
task144fs/proc/base.cif (task[i] && task[i]->pid == pid)
task103fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
task159fs/proc/fd.cif ((p = task[i]) && p->pid == pid)
task90fs/proc/inode.cp = task[0];
task92fs/proc/inode.cif ((p = task[i]) && (p->pid == pid))
task100fs/proc/inode.cif (task[i])
task58fs/proc/link.cif ((p = task[i]) && p->pid == pid)
task36fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
task37fs/proc/mem.ccr3 = task[i]->tss.cr3;
task85fs/proc/mem.cif (task[i] && task[i]->pid == pid) {
task86fs/proc/mem.ccr3 = task[i]->tss.cr3;
task114fs/proc/root.cif (task[i] && task[i]->pid == pid)
task158fs/proc/root.cp = task[nr];
task110include/linux/mm.hextern void oom(struct task_struct * task);
task57include/linux/sched.h#define FIRST_TASK task[0]
task58include/linux/sched.h#define LAST_TASK task[NR_TASKS-1]
task286include/linux/sched.hextern struct task_struct *task[NR_TASKS];
task466include/linux/sched.hentry->wait.task = current;
task97include/linux/shm.hstruct task_struct *task;     /* attacher */
task10include/linux/wait.hstruct task_struct * task;
task335ipc/shm.cunsigned long page_dir = shmd->task->tss.cr3;
task443ipc/shm.cshmd->task = current;
task552ipc/shm.ctmp->task = p2;
task693ipc/shm.cpte = PAGE_DIR_OFFSET(shmd->task->tss.cr3,tmp);
task712ipc/shm.cshmd->task->rss--;
task72kernel/exit.cif (tsk->p_pptr == task[1])
task89kernel/exit.cif (task[i] == p) {
task90kernel/exit.ctask[i] = NULL;
task111kernel/exit.cif (task[i] == p)
task130kernel/exit.cif (!task[i])
task132kernel/exit.cif (bad_task_ptr(task[i]->p_pptr))
task134kernel/exit.ctask[i]->pid);
task135kernel/exit.cif (bad_task_ptr(task[i]->p_cptr))
task137kernel/exit.ctask[i]->pid);
task138kernel/exit.cif (bad_task_ptr(task[i]->p_ysptr))
task140kernel/exit.ctask[i]->pid);
task141kernel/exit.cif (bad_task_ptr(task[i]->p_osptr))
task143kernel/exit.ctask[i]->pid);
task144kernel/exit.cif (task[i]->p_pptr == task[i])
task146kernel/exit.ctask[i]->pid);
task147kernel/exit.cif (task[i]->p_cptr == task[i])
task149kernel/exit.ctask[i]->pid);
task150kernel/exit.cif (task[i]->p_ysptr == task[i])
task152kernel/exit.ctask[i]->pid);
task153kernel/exit.cif (task[i]->p_osptr == task[i])
task155kernel/exit.ctask[i]->pid);
task156kernel/exit.cif (task[i]->p_osptr) {
task157kernel/exit.cif (task[i]->p_pptr != task[i]->p_osptr->p_pptr)
task160kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
task161kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
task162kernel/exit.cif (task[i]->p_osptr->p_ysptr != task[i])
task165kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid);
task167kernel/exit.cif (task[i]->p_ysptr) {
task168kernel/exit.cif (task[i]->p_pptr != task[i]->p_ysptr->p_pptr)
task171kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
task172kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
task173kernel/exit.cif (task[i]->p_ysptr->p_osptr != task[i])
task176kernel/exit.ctask[i]->pid, task[i]->p_ysptr->pid);
task178kernel/exit.cif (task[i]->p_cptr) {
task179kernel/exit.cif (task[i]->p_cptr->p_pptr != task[i])
task182kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
task183kernel/exit.cif (task[i]->p_cptr->p_ysptr)
task186kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
task344kernel/exit.cif (task[1])
task345kernel/exit.cp->p_opptr = task[1];
task347kernel/exit.cp->p_opptr = task[0];
task391kernel/exit.cif (task[i] == current) {
task432kernel/exit.cif (task[1])
task433kernel/exit.cp->p_pptr = task[1];
task435kernel/exit.cp->p_pptr = task[0];
task52kernel/fork.cif (!task[i]) {
task57kernel/fork.cif (task[i]->uid == current->uid)
task59kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid)
task136kernel/fork.ctask[nr] = p;
task224kernel/fork.ctask[nr] = NULL;
task66kernel/ldt.cif (task[i] == current) {
task29kernel/panic.cif (current == task[0])
task41kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
task42kernel/ptrace.creturn task[i];
task53kernel/ptrace.cstatic inline int get_stack_long(struct task_struct *task, int offset)
task57kernel/ptrace.cstack = (unsigned char *)task->tss.esp0;
task68kernel/ptrace.cstatic inline int put_stack_long(struct task_struct *task, int offset,
task73kernel/ptrace.cstack = (unsigned char *) task->tss.esp0;
task89kernel/sched.cstruct task_struct * task[NR_TASKS] = {&init_task, };
task306kernel/sched.cif ((p = tmp->task) != NULL) {
task333kernel/sched.cif ((p = tmp->task) != NULL) {
task358kernel/sched.cif (current == task[0])
task643kernel/sched.cif (prof_buffer && current != task[0]) {
task651kernel/sched.cif (current == task[0] || (--current->counter)<=0) {
task776kernel/sched.cif (task[i])
task777kernel/sched.cshow_task(i,task[i]);
task793kernel/sched.ctask[i] = NULL;
task240kernel/sys.csend_sig(SIGINT,task[1],1);
task477kernel/sys.cif (task[i] && (task[i]->pid == pid) &&
task478kernel/sys.c((task[i]->p_pptr == current) || 
task479kernel/sys.c(task[i]->p_opptr == current) || 
task480kernel/sys.c(task[i] == current))) {
task481kernel/sys.cif (task[i]->leader)
task483kernel/sys.cif ((task[i]->session != current->session) ||
task487kernel/sys.ctask[i]->pgrp = pgid;
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);
task127mm/memory.cif (tsk == task[0])
task165mm/memory.cif (tsk == task[0]) {
task326mm/swap.cp = task[swap_task];
task428mm/swap.cp = task[swap_task];
task622mm/swap.cp = task[nr];