tag | line | file | source code |
task | 115 | arch/alpha/kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
task | 116 | arch/alpha/kernel/ptrace.c | return task[i]; |
task | 124 | arch/alpha/kernel/ptrace.c | static inline long get_reg(struct task_struct * task, long regno) |
task | 129 | arch/alpha/kernel/ptrace.c | addr = &task->tss.usp; |
task | 134 | arch/alpha/kernel/ptrace.c | addr = (long *) (task->kernel_stack_page + regoff[regno]); |
task | 142 | arch/alpha/kernel/ptrace.c | static inline int put_reg(struct task_struct *task, long regno, long data) |
task | 147 | arch/alpha/kernel/ptrace.c | addr = &task->tss.usp; |
task | 151 | arch/alpha/kernel/ptrace.c | addr = (long *) (task->kernel_stack_page + regoff[regno]); |
task | 66 | arch/i386/kernel/ldt.c | if (task[i] == current) { |
task | 143 | arch/i386/kernel/process.c | if (task[i] == current) { |
task | 42 | arch/i386/kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
task | 43 | arch/i386/kernel/ptrace.c | return task[i]; |
task | 54 | arch/i386/kernel/ptrace.c | static inline int get_stack_long(struct task_struct *task, int offset) |
task | 58 | arch/i386/kernel/ptrace.c | stack = (unsigned char *)task->tss.esp0; |
task | 69 | arch/i386/kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, int offset, |
task | 74 | 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 | 257 | arch/sparc/kernel/setup.c | task[counter] = NULL; |
task | 756 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 907 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 935 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 1000 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 1158 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 206 | fs/locks.c | void locks_remove_locks(struct task_struct *task, struct file *filp) |
task | 217 | fs/locks.c | if (((fl->fl_flags == F_POSIX) && (fl->fl_owner == task)) || |
task | 397 | fs/locks.c | if (dlock_wait->task != NULL) { |
task | 398 | fs/locks.c | if (dlock_wait->task == blocked_task) |
task | 400 | fs/locks.c | if (posix_locks_deadlock(dlock_wait->task, blocked_task)) |
task | 229 | fs/proc/array.c | idle = task[0]->utime + task[0]->stime; |
task | 280 | fs/proc/array.c | p = task; |
task | 281 | fs/proc/array.c | while (++p < task+NR_TASKS) { |
task | 102 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
task | 146 | fs/proc/fd.c | if ((p = task[task_nr]) && p->pid == pid) |
task | 169 | fs/proc/fd.c | if (p != task[task_nr] || p->pid != pid) |
task | 152 | fs/proc/inode.c | p = task[0]; |
task | 154 | fs/proc/inode.c | if ((p = task[i]) && (p->pid == pid)) |
task | 162 | 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 | 70 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
task | 71 | fs/proc/mem.c | tsk = task[i]; |
task | 136 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
task | 137 | fs/proc/mem.c | tsk = task[i]; |
task | 218 | fs/proc/mem.c | if (task[i] && task[i]->pid == (inode->i_ino >> 16)) { |
task | 219 | fs/proc/mem.c | tsk = task[i]; |
task | 394 | fs/proc/root.c | if (task[i] && task[i]->pid == pid) |
task | 486 | fs/proc/root.c | struct task_struct * p = task[nr]; |
task | 67 | include/asm-i386/page.h | #define invalidate_task(task) \ |
task | 68 | include/asm-i386/page.h | do { if ((task)->mm == current->mm) invalidate(); } while (0) |
task | 69 | include/asm-i386/page.h | #define invalidate_page(task,addr) \ |
task | 70 | include/asm-i386/page.h | do { if ((task)->mm == current->mm) invalidate(); } while (0) |
task | 52 | include/linux/sched.h | #define FIRST_TASK task[0] |
task | 53 | include/linux/sched.h | #define LAST_TASK task[NR_TASKS-1] |
task | 265 | include/linux/sched.h | extern struct task_struct *task[NR_TASKS]; |
task | 378 | 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 | 95 | kernel/exit.c | task[i] = NULL; |
task | 118 | kernel/exit.c | if (task[i] == p) |
task | 137 | kernel/exit.c | if (!task[i]) |
task | 139 | kernel/exit.c | if (bad_task_ptr(task[i]->p_pptr)) |
task | 141 | kernel/exit.c | task[i]->pid); |
task | 142 | kernel/exit.c | if (bad_task_ptr(task[i]->p_cptr)) |
task | 144 | kernel/exit.c | task[i]->pid); |
task | 145 | kernel/exit.c | if (bad_task_ptr(task[i]->p_ysptr)) |
task | 147 | kernel/exit.c | task[i]->pid); |
task | 148 | kernel/exit.c | if (bad_task_ptr(task[i]->p_osptr)) |
task | 150 | kernel/exit.c | task[i]->pid); |
task | 151 | kernel/exit.c | if (task[i]->p_pptr == task[i]) |
task | 153 | kernel/exit.c | task[i]->pid); |
task | 154 | kernel/exit.c | if (task[i]->p_cptr == task[i]) |
task | 156 | kernel/exit.c | task[i]->pid); |
task | 157 | kernel/exit.c | if (task[i]->p_ysptr == task[i]) |
task | 159 | kernel/exit.c | task[i]->pid); |
task | 160 | kernel/exit.c | if (task[i]->p_osptr == task[i]) |
task | 162 | kernel/exit.c | task[i]->pid); |
task | 163 | kernel/exit.c | if (task[i]->p_osptr) { |
task | 164 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_osptr->p_pptr) |
task | 167 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 168 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 169 | kernel/exit.c | if (task[i]->p_osptr->p_ysptr != task[i]) |
task | 172 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid); |
task | 174 | kernel/exit.c | if (task[i]->p_ysptr) { |
task | 175 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_ysptr->p_pptr) |
task | 178 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 179 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 180 | kernel/exit.c | if (task[i]->p_ysptr->p_osptr != task[i]) |
task | 183 | kernel/exit.c | task[i]->pid, task[i]->p_ysptr->pid); |
task | 185 | kernel/exit.c | if (task[i]->p_cptr) { |
task | 186 | kernel/exit.c | if (task[i]->p_cptr->p_pptr != task[i]) |
task | 189 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 190 | kernel/exit.c | if (task[i]->p_cptr->p_ysptr) |
task | 193 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 351 | kernel/exit.c | if (task[1]) |
task | 352 | kernel/exit.c | p->p_opptr = task[1]; |
task | 354 | kernel/exit.c | p->p_opptr = task[0]; |
task | 442 | kernel/exit.c | if (task[1] && task[1] != current) |
task | 443 | kernel/exit.c | p->p_pptr = task[1]; |
task | 445 | kernel/exit.c | p->p_pptr = task[0]; |
task | 64 | kernel/fork.c | if (!task[i]) { |
task | 69 | kernel/fork.c | if (task[i]->uid == current->uid) |
task | 71 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid || |
task | 72 | kernel/fork.c | task[i]->session == last_pid) |
task | 233 | kernel/fork.c | task[nr] = p; |
task | 253 | kernel/fork.c | task[nr] = NULL; |
task | 27 | kernel/panic.c | if (current == task[0]) |
task | 95 | kernel/sched.c | struct task_struct * task[NR_TASKS] = {&init_task, }; |
task | 274 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 299 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 335 | kernel/sched.c | if (current == task[0]) |
task | 651 | kernel/sched.c | if (current != task[0]) { |
task | 664 | kernel/sched.c | if(current != task[0]) |
task | 667 | kernel/sched.c | if (prof_buffer && current != task[0]) { |
task | 694 | kernel/sched.c | if (current != task[0] && 0 > --current->counter) { |
task | 836 | kernel/sched.c | if (task[i]) |
task | 837 | kernel/sched.c | show_task(i,task[i]); |
task | 176 | kernel/sys.c | send_sig(SIGINT,task[1],1); |
task | 73 | mm/memory.c | void oom(struct task_struct * task) |
task | 76 | mm/memory.c | task->sigaction[SIGKILL-1].sa_handler = NULL; |
task | 77 | mm/memory.c | task->blocked &= ~(1<<(SIGKILL-1)); |
task | 78 | mm/memory.c | send_sig(SIGKILL,task,1); |
task | 155 | mm/memory.c | if (tsk == task[0]) |
task | 191 | mm/memory.c | if (tsk == task[0]) { |
task | 227 | mm/mmap.c | struct vm_area_struct * find_vma (struct task_struct * task, unsigned long addr) |
task | 232 | mm/mmap.c | for (vma = task->mm->mmap ; ; vma = vma->vm_next) { |
task | 242 | mm/mmap.c | for (tree = task->mm->mmap_avl ; ; ) { |
task | 258 | mm/mmap.c | struct vm_area_struct * find_vma_intersection (struct task_struct * task, unsigned long start_addr, unsigned long end_addr) |
task | 263 | mm/mmap.c | for (vma = task->mm->mmap; vma; vma = vma->vm_next) { |
task | 271 | mm/mmap.c | vma = find_vma(task,start_addr); |
task | 600 | mm/mmap.c | static void avl_check (struct task_struct * task, char *caller) |
task | 606 | mm/mmap.c | avl_checkheights(task->mm->mmap_avl); |
task | 607 | mm/mmap.c | avl_checkorder(task->mm->mmap_avl); |
task | 775 | mm/mmap.c | void build_mmap_avl(struct task_struct * task) |
task | 779 | mm/mmap.c | task->mm->mmap_avl = NULL; |
task | 780 | mm/mmap.c | for (vma = task->mm->mmap; vma; vma = vma->vm_next) |
task | 781 | mm/mmap.c | avl_insert(vma, &task->mm->mmap_avl); |
task | 785 | mm/mmap.c | void exit_mmap(struct task_struct * task) |
task | 789 | mm/mmap.c | mpnt = task->mm->mmap; |
task | 790 | mm/mmap.c | task->mm->mmap = NULL; |
task | 791 | mm/mmap.c | task->mm->mmap_avl = NULL; |
task | 884 | mm/mmap.c | void merge_segments (struct task_struct * task, unsigned long start_addr, unsigned long end_addr) |
task | 888 | mm/mmap.c | mpnt = find_vma(task, start_addr); |
task | 891 | mm/mmap.c | avl_neighbours(mpnt, task->mm->mmap_avl, &prev, &next); |
task | 935 | mm/mmap.c | avl_remove(mpnt, &task->mm->mmap_avl); |
task | 579 | mm/swap.c | p = task[swap_task]; |
task | 981 | mm/swap.c | if (task[nr]) { |
task | 982 | mm/swap.c | if (unuse_process(task[nr], type, page)) { |