tag | line | file | source code |
task | 66 | arch/i386/kernel/ldt.c | if (task[i] == current) { |
task | 141 | arch/i386/kernel/process.c | if (task[i] == current) { |
task | 43 | arch/i386/kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
task | 44 | arch/i386/kernel/ptrace.c | return task[i]; |
task | 55 | arch/i386/kernel/ptrace.c | static inline int get_stack_long(struct task_struct *task, int offset) |
task | 59 | arch/i386/kernel/ptrace.c | stack = (unsigned char *)task->tss.esp0; |
task | 70 | arch/i386/kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, int offset, |
task | 75 | arch/i386/kernel/ptrace.c | stack = (unsigned char *) task->tss.esp0; |
task | 41 | arch/mips/kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
task | 42 | arch/mips/kernel/ptrace.c | return task[i]; |
task | 53 | arch/mips/kernel/ptrace.c | static inline int get_stack_long(struct task_struct *task, int offset) |
task | 57 | arch/mips/kernel/ptrace.c | stack = (unsigned char *)task->tss.esp0; |
task | 68 | arch/mips/kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, int offset, |
task | 73 | arch/mips/kernel/ptrace.c | stack = (unsigned char *) task->tss.esp0; |
task | 853 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 896 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 946 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 1044 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 323 | drivers/scsi/scsi.c | scsi_result = ((current == task[0] || !shpnt->unchecked_isa_dma) |
task | 371 | drivers/scsi/scsi.c | if (current == task[0]) |
task | 422 | drivers/scsi/scsi.c | if (current == task[0]) |
task | 585 | drivers/scsi/scsi.c | if (current == task[0]) |
task | 870 | drivers/scsi/sd.c | if (current == task[0]){ |
task | 946 | drivers/scsi/sd.c | if (current == task[0]) |
task | 928 | drivers/scsi/sr.c | if (current == task[0]) |
task | 194 | fs/locks.c | if (dlock_wait->task != NULL) { |
task | 195 | fs/locks.c | if (dlock_wait->task->pid == blocked_pid) |
task | 197 | fs/locks.c | ret_val = locks_deadlocked(dlock_wait->task->pid,blocked_pid); |
task | 212 | fs/locks.c | void fcntl_remove_locks(struct task_struct *task, struct file *filp) |
task | 220 | fs/locks.c | while ((fl = *before) && task != fl->fl_owner) |
task | 225 | fs/locks.c | while ((fl = *before) && task == fl->fl_owner) |
task | 229 | fs/proc/array.c | idle = task[0]->utime + task[0]->stime; |
task | 330 | fs/proc/array.c | p = task; |
task | 331 | fs/proc/array.c | while (++p < task+NR_TASKS) { |
task | 109 | fs/proc/base.c | if (task[i] && task[i]->pid == pid) |
task | 135 | fs/proc/base.c | if (task[i] && task[i]->pid == pid) |
task | 102 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
task | 149 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
task | 126 | fs/proc/inode.c | p = task[0]; |
task | 128 | fs/proc/inode.c | if ((p = task[i]) && (p->pid == pid)) |
task | 136 | fs/proc/inode.c | if (task[i]) |
task | 84 | fs/proc/link.c | if ((p = task[i]) && p->pid == pid) |
task | 122 | fs/proc/link.c | if ((p = task[i]) && p->pid == pid) |
task | 44 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
task | 45 | fs/proc/mem.c | tsk = task[i]; |
task | 107 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
task | 108 | fs/proc/mem.c | tsk = task[i]; |
task | 189 | fs/proc/mem.c | if (task[i] && task[i]->pid == (inode->i_ino >> 16)) { |
task | 190 | fs/proc/mem.c | tsk = task[i]; |
task | 128 | fs/proc/root.c | if (task[i] && task[i]->pid == pid) |
task | 172 | fs/proc/root.c | p = task[nr]; |
task | 50 | include/linux/sched.h | #define FIRST_TASK task[0] |
task | 51 | include/linux/sched.h | #define LAST_TASK task[NR_TASKS-1] |
task | 248 | include/linux/sched.h | extern struct task_struct *task[NR_TASKS]; |
task | 358 | include/linux/sched.h | entry->wait.task = current; |
task | 12 | include/linux/wait.h | struct task_struct * task; |
task | 76 | kernel/exit.c | if (tsk->p_pptr == task[1]) |
task | 93 | kernel/exit.c | if (task[i] == p) { |
task | 94 | kernel/exit.c | task[i] = NULL; |
task | 117 | kernel/exit.c | if (task[i] == p) |
task | 136 | kernel/exit.c | if (!task[i]) |
task | 138 | kernel/exit.c | if (bad_task_ptr(task[i]->p_pptr)) |
task | 140 | kernel/exit.c | task[i]->pid); |
task | 141 | kernel/exit.c | if (bad_task_ptr(task[i]->p_cptr)) |
task | 143 | kernel/exit.c | task[i]->pid); |
task | 144 | kernel/exit.c | if (bad_task_ptr(task[i]->p_ysptr)) |
task | 146 | kernel/exit.c | task[i]->pid); |
task | 147 | kernel/exit.c | if (bad_task_ptr(task[i]->p_osptr)) |
task | 149 | kernel/exit.c | task[i]->pid); |
task | 150 | kernel/exit.c | if (task[i]->p_pptr == task[i]) |
task | 152 | kernel/exit.c | task[i]->pid); |
task | 153 | kernel/exit.c | if (task[i]->p_cptr == task[i]) |
task | 155 | kernel/exit.c | task[i]->pid); |
task | 156 | kernel/exit.c | if (task[i]->p_ysptr == task[i]) |
task | 158 | kernel/exit.c | task[i]->pid); |
task | 159 | kernel/exit.c | if (task[i]->p_osptr == task[i]) |
task | 161 | kernel/exit.c | task[i]->pid); |
task | 162 | kernel/exit.c | if (task[i]->p_osptr) { |
task | 163 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_osptr->p_pptr) |
task | 166 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 167 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 168 | kernel/exit.c | if (task[i]->p_osptr->p_ysptr != task[i]) |
task | 171 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid); |
task | 173 | kernel/exit.c | if (task[i]->p_ysptr) { |
task | 174 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_ysptr->p_pptr) |
task | 177 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 178 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 179 | kernel/exit.c | if (task[i]->p_ysptr->p_osptr != task[i]) |
task | 182 | kernel/exit.c | task[i]->pid, task[i]->p_ysptr->pid); |
task | 184 | kernel/exit.c | if (task[i]->p_cptr) { |
task | 185 | kernel/exit.c | if (task[i]->p_cptr->p_pptr != task[i]) |
task | 188 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 189 | kernel/exit.c | if (task[i]->p_cptr->p_ysptr) |
task | 192 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 350 | kernel/exit.c | if (task[1]) |
task | 351 | kernel/exit.c | p->p_opptr = task[1]; |
task | 353 | kernel/exit.c | p->p_opptr = task[0]; |
task | 422 | kernel/exit.c | if (task[1] && task[1] != current) |
task | 423 | kernel/exit.c | p->p_pptr = task[1]; |
task | 425 | kernel/exit.c | p->p_pptr = task[0]; |
task | 43 | kernel/fork.c | if (!task[i]) { |
task | 48 | kernel/fork.c | if (task[i]->uid == current->uid) |
task | 50 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid || |
task | 51 | kernel/fork.c | task[i]->session == last_pid) |
task | 204 | kernel/fork.c | task[nr] = p; |
task | 222 | kernel/fork.c | task[nr] = NULL; |
task | 27 | kernel/panic.c | if (current == task[0]) |
task | 90 | kernel/sched.c | struct task_struct * task[NR_TASKS] = {&init_task, }; |
task | 214 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 242 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 281 | kernel/sched.c | if (current == task[0]) |
task | 600 | kernel/sched.c | if (current != task[0]) { |
task | 613 | kernel/sched.c | if(current != task[0]) |
task | 616 | kernel/sched.c | if (prof_buffer && current != task[0]) { |
task | 642 | kernel/sched.c | if (current != task[0] && 0 > --current->counter) { |
task | 769 | kernel/sched.c | if (task[i]) |
task | 770 | kernel/sched.c | show_task(i,task[i]); |
task | 176 | kernel/sys.c | send_sig(SIGINT,task[1],1); |
task | 74 | mm/memory.c | void oom(struct task_struct * task) |
task | 77 | mm/memory.c | task->sigaction[SIGKILL-1].sa_handler = NULL; |
task | 78 | mm/memory.c | task->blocked &= ~(1<<(SIGKILL-1)); |
task | 79 | mm/memory.c | send_sig(SIGKILL,task,1); |
task | 158 | mm/memory.c | if (tsk == task[0]) |
task | 194 | mm/memory.c | if (tsk == task[0]) { |
task | 242 | mm/mmap.c | struct vm_area_struct * find_vma (struct task_struct * task, unsigned long addr) |
task | 247 | mm/mmap.c | for (vma = task->mm->mmap ; ; vma = vma->vm_next) { |
task | 257 | mm/mmap.c | for (tree = task->mm->mmap_avl ; ; ) { |
task | 273 | mm/mmap.c | struct vm_area_struct * find_vma_intersection (struct task_struct * task, unsigned long start_addr, unsigned long end_addr) |
task | 278 | mm/mmap.c | for (vma = task->mm->mmap; vma; vma = vma->vm_next) { |
task | 286 | mm/mmap.c | vma = find_vma(task,start_addr); |
task | 615 | mm/mmap.c | static void avl_check (struct task_struct * task, char *caller) |
task | 621 | mm/mmap.c | avl_checkheights(task->mm->mmap_avl); |
task | 622 | mm/mmap.c | avl_checkorder(task->mm->mmap_avl); |
task | 790 | mm/mmap.c | void build_mmap_avl(struct task_struct * task) |
task | 794 | mm/mmap.c | task->mm->mmap_avl = NULL; |
task | 795 | mm/mmap.c | for (vma = task->mm->mmap; vma; vma = vma->vm_next) |
task | 796 | mm/mmap.c | avl_insert(vma, &task->mm->mmap_avl); |
task | 800 | mm/mmap.c | void exit_mmap(struct task_struct * task) |
task | 804 | mm/mmap.c | mpnt = task->mm->mmap; |
task | 805 | mm/mmap.c | task->mm->mmap = NULL; |
task | 806 | mm/mmap.c | task->mm->mmap_avl = NULL; |
task | 899 | mm/mmap.c | void merge_segments (struct task_struct * task, unsigned long start_addr, unsigned long end_addr) |
task | 903 | mm/mmap.c | mpnt = find_vma(task, start_addr); |
task | 906 | mm/mmap.c | avl_neighbours(mpnt, task->mm->mmap_avl, &prev, &next); |
task | 950 | mm/mmap.c | avl_remove(mpnt, &task->mm->mmap_avl); |
task | 542 | mm/swap.c | p = task[swap_task]; |
task | 967 | mm/swap.c | if (task[nr]) { |
task | 968 | mm/swap.c | if (unuse_process(task[nr], type, page)) { |