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) {
task214arch/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;
task42arch/mips/kernel/ptrace.cif (task[i] != NULL && (task[i]->pid == pid))
task43arch/mips/kernel/ptrace.creturn task[i];
task54arch/mips/kernel/ptrace.cstatic inline int get_stack_long(struct task_struct *task, int offset)
task58arch/mips/kernel/ptrace.cstack = (unsigned char *)task->tss.esp0;
task69arch/mips/kernel/ptrace.cstatic inline int put_stack_long(struct task_struct *task, int offset,
task74arch/mips/kernel/ptrace.cstack = (unsigned char *) task->tss.esp0;
task191arch/mips/kernel/traps.cif(task[i] && task[i]->pid >= 2)
task193arch/mips/kernel/traps.cprintk("Process %d\n", task[i]->pid);
task194arch/mips/kernel/traps.cdump_list_process(task[i], pc);
task257arch/mips/kernel/traps.cif(task[i] && task[i]->pid >= 2)
task259arch/mips/kernel/traps.cprintk("Process %d\n", task[i]->pid);
task260arch/mips/kernel/traps.cdump_list_process(task[i], 0x7ffff000);
task26arch/ppc/kernel/mk_defs.cstruct task_struct task;
task37arch/ppc/kernel/mk_defs.cput_line(out, "STATE", (int)&task.state-(int)&task);
task38arch/ppc/kernel/mk_defs.cput_line(out, "COUNTER", (int)&task.counter-(int)&task);
task39arch/ppc/kernel/mk_defs.cput_line(out, "BLOCKED", (int)&task.blocked-(int)&task);
task40arch/ppc/kernel/mk_defs.cput_line(out, "SIGNAL", (int)&task.signal-(int)&task);
task41arch/ppc/kernel/mk_defs.cput_line(out, "KERNEL_STACK_PAGE", (int)&task.kernel_stack_page-(int)&task);
task42arch/ppc/kernel/mk_defs.cput_line(out, "TSS", (int)&task.tss-(int)&task);
task410arch/ppc/mm/init.cint va, pa, task;
task572arch/ppc/mm/init.clast_mappings[next_mapping].task = current;
task642arch/ppc/mm/init.clast_mappings[next_mapping].task);
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))
task247fs/proc/array.cidle = task[0]->utime + task[0]->stime;
task298fs/proc/array.cp = task;
task299fs/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)
task171fs/proc/fd.cif (p != task[task_nr] || p->pid != pid)
task149fs/proc/inode.cp = task[0];
task151fs/proc/inode.cif ((p = task[i]) && (p->pid == pid))
task159fs/proc/inode.cif (task[i])
task84fs/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];
task412fs/proc/root.cif (task[i] && task[i]->pid == pid)
task504fs/proc/root.cstruct task_struct * p = task[nr];
task250include/linux/mm.hstatic inline struct vm_area_struct * find_vma (struct task_struct * task, unsigned long addr)
task255include/linux/mm.hif (!task->mm)
task257include/linux/mm.hfor (tree = task->mm->mmap_avl ; ; ) {
task272include/linux/mm.hstatic inline struct vm_area_struct * find_vma_intersection (struct task_struct * task, unsigned long start_addr, unsigned long end_addr)
task276include/linux/mm.hvma = find_vma(task,start_addr);
task65include/linux/sched.h#define FIRST_TASK task[0]
task66include/linux/sched.h#define LAST_TASK task[NR_TASKS-1]
task296include/linux/sched.hextern struct task_struct *task[NR_TASKS];
task424include/linux/sched.hentry->wait.task = current;
task12include/linux/wait.hstruct task_struct * task;
task520init/main.ccurrent_set[i]=task[i];
task75kernel/exit.cif (tsk->p_pptr == task[smp_num_cpus])    /* Init */
task92kernel/exit.cif (task[i] == p) {
task94kernel/exit.ctask[i] = NULL;
task121kernel/exit.cif (task[i] == p)
task140kernel/exit.cif (!task[i])
task142kernel/exit.cif (bad_task_ptr(task[i]->p_pptr))
task144kernel/exit.ctask[i]->pid);
task145kernel/exit.cif (bad_task_ptr(task[i]->p_cptr))
task147kernel/exit.ctask[i]->pid);
task148kernel/exit.cif (bad_task_ptr(task[i]->p_ysptr))
task150kernel/exit.ctask[i]->pid);
task151kernel/exit.cif (bad_task_ptr(task[i]->p_osptr))
task153kernel/exit.ctask[i]->pid);
task154kernel/exit.cif (task[i]->p_pptr == task[i])
task156kernel/exit.ctask[i]->pid);
task157kernel/exit.cif (task[i]->p_cptr == task[i])
task159kernel/exit.ctask[i]->pid);
task160kernel/exit.cif (task[i]->p_ysptr == task[i])
task162kernel/exit.ctask[i]->pid);
task163kernel/exit.cif (task[i]->p_osptr == task[i])
task165kernel/exit.ctask[i]->pid);
task166kernel/exit.cif (task[i]->p_osptr) {
task167kernel/exit.cif (task[i]->p_pptr != task[i]->p_osptr->p_pptr)
task170kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
task171kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
task172kernel/exit.cif (task[i]->p_osptr->p_ysptr != task[i])
task175kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid);
task177kernel/exit.cif (task[i]->p_ysptr) {
task178kernel/exit.cif (task[i]->p_pptr != task[i]->p_ysptr->p_pptr)
task181kernel/exit.ctask[i]->pid, task[i]->p_osptr->pid,
task182kernel/exit.ctask[i]->p_osptr->p_pptr->pid);
task183kernel/exit.cif (task[i]->p_ysptr->p_osptr != task[i])
task186kernel/exit.ctask[i]->pid, task[i]->p_ysptr->pid);
task188kernel/exit.cif (task[i]->p_cptr) {
task189kernel/exit.cif (task[i]->p_cptr->p_pptr != task[i])
task192kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
task193kernel/exit.cif (task[i]->p_cptr->p_ysptr)
task196kernel/exit.ctask[i]->pid, task[i]->p_cptr->pid);
task354kernel/exit.cif (task[smp_num_cpus])  /* init */
task355kernel/exit.cp->p_opptr = task[smp_num_cpus];
task357kernel/exit.cp->p_opptr = task[0];
task477kernel/exit.cif (task[smp_num_cpus] && task[smp_num_cpus] != current) /* init */
task478kernel/exit.cp->p_pptr = task[smp_num_cpus];
task480kernel/exit.cp->p_pptr = task[0];
task53kernel/fork.cif (!task[i])
task249kernel/fork.ctask[nr] = p;
task284kernel/fork.ctask[nr] = NULL;
task27kernel/panic.cif (current == task[0])
task94kernel/sched.cstruct task_struct * task[NR_TASKS] = {&init_task, };
task370kernel/sched.cif ((p = tmp->task) != NULL) {
task395kernel/sched.cif ((p = tmp->task) != NULL) {
task431kernel/sched.cif (current == task[0])
task993kernel/sched.cif (task[i])
task994kernel/sched.cshow_task(i,task[i]);
task84mm/memory.cvoid oom(struct task_struct * task)
task87mm/memory.ctask->sig->action[SIGKILL-1].sa_handler = NULL;
task88mm/memory.ctask->blocked &= ~(1<<(SIGKILL-1));
task89mm/memory.csend_sig(SIGKILL,task,1);
task578mm/mmap.cstatic void avl_check (struct task_struct * task, char *caller)
task584mm/mmap.cavl_checkheights(task->mm->mmap_avl);
task585mm/mmap.cavl_checkorder(task->mm->mmap_avl);
task873mm/mmap.cvoid merge_segments (struct task_struct * task, unsigned long start_addr, unsigned long end_addr)
task877mm/mmap.cmpnt = find_vma(task, start_addr);
task880mm/mmap.cavl_neighbours(mpnt, task->mm->mmap_avl, &prev, &next);
task924mm/mmap.cavl_remove(mpnt, &task->mm->mmap_avl);
task639mm/swap.cp = task[swap_task];
task1036mm/swap.cif (task[nr]) {
task1037mm/swap.cif (unuse_process(task[nr], type, page)) {