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 | 214 | 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 | 42 | arch/mips/kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
task | 43 | arch/mips/kernel/ptrace.c | return task[i]; |
task | 54 | arch/mips/kernel/ptrace.c | static inline int get_stack_long(struct task_struct *task, int offset) |
task | 58 | arch/mips/kernel/ptrace.c | stack = (unsigned char *)task->tss.esp0; |
task | 69 | arch/mips/kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, int offset, |
task | 74 | arch/mips/kernel/ptrace.c | stack = (unsigned char *) task->tss.esp0; |
task | 191 | arch/mips/kernel/traps.c | if(task[i] && task[i]->pid >= 2) |
task | 193 | arch/mips/kernel/traps.c | printk("Process %d\n", task[i]->pid); |
task | 194 | arch/mips/kernel/traps.c | dump_list_process(task[i], pc); |
task | 257 | arch/mips/kernel/traps.c | if(task[i] && task[i]->pid >= 2) |
task | 259 | arch/mips/kernel/traps.c | printk("Process %d\n", task[i]->pid); |
task | 260 | arch/mips/kernel/traps.c | dump_list_process(task[i], 0x7ffff000); |
task | 26 | arch/ppc/kernel/mk_defs.c | struct task_struct task; |
task | 37 | arch/ppc/kernel/mk_defs.c | put_line(out, "STATE", (int)&task.state-(int)&task); |
task | 38 | arch/ppc/kernel/mk_defs.c | put_line(out, "COUNTER", (int)&task.counter-(int)&task); |
task | 39 | arch/ppc/kernel/mk_defs.c | put_line(out, "BLOCKED", (int)&task.blocked-(int)&task); |
task | 40 | arch/ppc/kernel/mk_defs.c | put_line(out, "SIGNAL", (int)&task.signal-(int)&task); |
task | 41 | arch/ppc/kernel/mk_defs.c | put_line(out, "KERNEL_STACK_PAGE", (int)&task.kernel_stack_page-(int)&task); |
task | 42 | arch/ppc/kernel/mk_defs.c | put_line(out, "TSS", (int)&task.tss-(int)&task); |
task | 410 | arch/ppc/mm/init.c | int va, pa, task; |
task | 572 | arch/ppc/mm/init.c | last_mappings[next_mapping].task = current; |
task | 642 | arch/ppc/mm/init.c | last_mappings[next_mapping].task); |
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 | 247 | fs/proc/array.c | idle = task[0]->utime + task[0]->stime; |
task | 298 | fs/proc/array.c | p = task; |
task | 299 | 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 | 171 | fs/proc/fd.c | if (p != task[task_nr] || p->pid != pid) |
task | 149 | fs/proc/inode.c | p = task[0]; |
task | 151 | fs/proc/inode.c | if ((p = task[i]) && (p->pid == pid)) |
task | 159 | fs/proc/inode.c | if (task[i]) |
task | 84 | 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 | 412 | fs/proc/root.c | if (task[i] && task[i]->pid == pid) |
task | 504 | fs/proc/root.c | struct task_struct * p = task[nr]; |
task | 250 | include/linux/mm.h | static inline struct vm_area_struct * find_vma (struct task_struct * task, unsigned long addr) |
task | 255 | include/linux/mm.h | if (!task->mm) |
task | 257 | include/linux/mm.h | for (tree = task->mm->mmap_avl ; ; ) { |
task | 272 | include/linux/mm.h | static inline struct vm_area_struct * find_vma_intersection (struct task_struct * task, unsigned long start_addr, unsigned long end_addr) |
task | 276 | include/linux/mm.h | vma = find_vma(task,start_addr); |
task | 65 | include/linux/sched.h | #define FIRST_TASK task[0] |
task | 66 | include/linux/sched.h | #define LAST_TASK task[NR_TASKS-1] |
task | 296 | include/linux/sched.h | extern struct task_struct *task[NR_TASKS]; |
task | 424 | include/linux/sched.h | entry->wait.task = current; |
task | 12 | include/linux/wait.h | struct task_struct * task; |
task | 520 | init/main.c | current_set[i]=task[i]; |
task | 75 | kernel/exit.c | if (tsk->p_pptr == task[smp_num_cpus]) /* Init */ |
task | 92 | kernel/exit.c | if (task[i] == p) { |
task | 94 | kernel/exit.c | task[i] = NULL; |
task | 121 | kernel/exit.c | if (task[i] == p) |
task | 140 | kernel/exit.c | if (!task[i]) |
task | 142 | kernel/exit.c | if (bad_task_ptr(task[i]->p_pptr)) |
task | 144 | kernel/exit.c | task[i]->pid); |
task | 145 | kernel/exit.c | if (bad_task_ptr(task[i]->p_cptr)) |
task | 147 | kernel/exit.c | task[i]->pid); |
task | 148 | kernel/exit.c | if (bad_task_ptr(task[i]->p_ysptr)) |
task | 150 | kernel/exit.c | task[i]->pid); |
task | 151 | kernel/exit.c | if (bad_task_ptr(task[i]->p_osptr)) |
task | 153 | kernel/exit.c | task[i]->pid); |
task | 154 | kernel/exit.c | if (task[i]->p_pptr == task[i]) |
task | 156 | kernel/exit.c | task[i]->pid); |
task | 157 | kernel/exit.c | if (task[i]->p_cptr == task[i]) |
task | 159 | kernel/exit.c | task[i]->pid); |
task | 160 | kernel/exit.c | if (task[i]->p_ysptr == task[i]) |
task | 162 | kernel/exit.c | task[i]->pid); |
task | 163 | kernel/exit.c | if (task[i]->p_osptr == task[i]) |
task | 165 | kernel/exit.c | task[i]->pid); |
task | 166 | kernel/exit.c | if (task[i]->p_osptr) { |
task | 167 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_osptr->p_pptr) |
task | 170 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 171 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 172 | kernel/exit.c | if (task[i]->p_osptr->p_ysptr != task[i]) |
task | 175 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid); |
task | 177 | kernel/exit.c | if (task[i]->p_ysptr) { |
task | 178 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_ysptr->p_pptr) |
task | 181 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 182 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 183 | kernel/exit.c | if (task[i]->p_ysptr->p_osptr != task[i]) |
task | 186 | kernel/exit.c | task[i]->pid, task[i]->p_ysptr->pid); |
task | 188 | kernel/exit.c | if (task[i]->p_cptr) { |
task | 189 | kernel/exit.c | if (task[i]->p_cptr->p_pptr != task[i]) |
task | 192 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 193 | kernel/exit.c | if (task[i]->p_cptr->p_ysptr) |
task | 196 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 354 | kernel/exit.c | if (task[smp_num_cpus]) /* init */ |
task | 355 | kernel/exit.c | p->p_opptr = task[smp_num_cpus]; |
task | 357 | kernel/exit.c | p->p_opptr = task[0]; |
task | 477 | kernel/exit.c | if (task[smp_num_cpus] && task[smp_num_cpus] != current) /* init */ |
task | 478 | kernel/exit.c | p->p_pptr = task[smp_num_cpus]; |
task | 480 | kernel/exit.c | p->p_pptr = task[0]; |
task | 53 | kernel/fork.c | if (!task[i]) |
task | 249 | kernel/fork.c | task[nr] = p; |
task | 284 | kernel/fork.c | task[nr] = NULL; |
task | 27 | kernel/panic.c | if (current == task[0]) |
task | 94 | kernel/sched.c | struct task_struct * task[NR_TASKS] = {&init_task, }; |
task | 370 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 395 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 431 | kernel/sched.c | if (current == task[0]) |
task | 993 | kernel/sched.c | if (task[i]) |
task | 994 | kernel/sched.c | show_task(i,task[i]); |
task | 84 | mm/memory.c | void oom(struct task_struct * task) |
task | 87 | mm/memory.c | task->sig->action[SIGKILL-1].sa_handler = NULL; |
task | 88 | mm/memory.c | task->blocked &= ~(1<<(SIGKILL-1)); |
task | 89 | mm/memory.c | send_sig(SIGKILL,task,1); |
task | 578 | mm/mmap.c | static void avl_check (struct task_struct * task, char *caller) |
task | 584 | mm/mmap.c | avl_checkheights(task->mm->mmap_avl); |
task | 585 | mm/mmap.c | avl_checkorder(task->mm->mmap_avl); |
task | 873 | mm/mmap.c | void merge_segments (struct task_struct * task, unsigned long start_addr, unsigned long end_addr) |
task | 877 | mm/mmap.c | mpnt = find_vma(task, start_addr); |
task | 880 | mm/mmap.c | avl_neighbours(mpnt, task->mm->mmap_avl, &prev, &next); |
task | 924 | mm/mmap.c | avl_remove(mpnt, &task->mm->mmap_avl); |
task | 639 | mm/swap.c | p = task[swap_task]; |
task | 1036 | mm/swap.c | if (task[nr]) { |
task | 1037 | mm/swap.c | if (unuse_process(task[nr], type, page)) { |