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 | 84 | arch/i386/kernel/ldt.c | if (task[i] == current) { |
task | 252 | 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 | 406 | arch/ppc/mm/init.c | int va, pa, task; |
task | 568 | arch/ppc/mm/init.c | last_mappings[next_mapping].task = current; |
task | 638 | arch/ppc/mm/init.c | last_mappings[next_mapping].task); |
task | 84 | arch/sparc/kernel/setup.c | if(current != task[0]) { |
task | 627 | arch/sparc/mm/sun4c.c | struct task_struct task; |
task | 261 | fs/locks.c | void locks_remove_locks(struct task_struct *task, struct file *filp) |
task | 272 | fs/locks.c | if (((fl->fl_flags == F_POSIX) && (fl->fl_owner == task)) || |
task | 457 | fs/locks.c | if (dlock_wait->task != NULL) { |
task | 458 | fs/locks.c | if (dlock_wait->task == blocked_task) |
task | 460 | fs/locks.c | if (posix_locks_deadlock(dlock_wait->task, blocked_task)) |
task | 494 | fs/ncpfs/sock.c | reply.task, |
task | 603 | fs/ncpfs/sock.c | h->task = (current->pid) & 0xff; |
task | 639 | fs/ncpfs/sock.c | h->task = (current->pid) & 0xff; |
task | 664 | fs/ncpfs/sock.c | h->task = (current->pid) & 0xff; |
task | 246 | fs/proc/array.c | idle = task[0]->utime + task[0]->stime; |
task | 324 | fs/proc/array.c | p = task; |
task | 325 | fs/proc/array.c | while (++p < task+NR_TASKS) { |
task | 104 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
task | 148 | fs/proc/fd.c | if ((p = task[task_nr]) && p->pid == pid) |
task | 173 | 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 | 86 | 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 | 474 | fs/proc/root.c | if (task[i] && task[i]->pid == pid) |
task | 566 | fs/proc/root.c | struct task_struct * p = task[nr]; |
task | 263 | include/linux/mm.h | static inline struct vm_area_struct * find_vma (struct task_struct * task, unsigned long addr) |
task | 268 | include/linux/mm.h | if (!task->mm) |
task | 270 | include/linux/mm.h | for (tree = task->mm->mmap_avl ; ; ) { |
task | 285 | 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 | 289 | include/linux/mm.h | vma = find_vma(task,start_addr); |
task | 25 | include/linux/ncp.h | __u8 task __attribute__ ((packed)); |
task | 38 | include/linux/ncp.h | __u8 task __attribute__ ((packed)); |
task | 33 | include/linux/ncp_fs_sb.h | u8 task; |
task | 67 | include/linux/sched.h | #define FIRST_TASK task[0] |
task | 68 | include/linux/sched.h | #define LAST_TASK task[NR_TASKS-1] |
task | 316 | include/linux/sched.h | extern struct task_struct *task[NR_TASKS]; |
task | 476 | include/linux/sched.h | entry->wait.task = current; |
task | 12 | include/linux/wait.h | struct task_struct * task; |
task | 602 | init/main.c | current_set[i]=task[cpu_number_map[i]]; |
task | 77 | kernel/exit.c | if (tsk->p_pptr == task[smp_num_cpus]) /* Init */ |
task | 94 | kernel/exit.c | if (task[i] == p) { |
task | 96 | kernel/exit.c | task[i] = NULL; |
task | 123 | kernel/exit.c | if (task[i] == p) |
task | 142 | kernel/exit.c | if (!task[i]) |
task | 144 | kernel/exit.c | if (bad_task_ptr(task[i]->p_pptr)) |
task | 146 | kernel/exit.c | task[i]->pid); |
task | 147 | kernel/exit.c | if (bad_task_ptr(task[i]->p_cptr)) |
task | 149 | kernel/exit.c | task[i]->pid); |
task | 150 | kernel/exit.c | if (bad_task_ptr(task[i]->p_ysptr)) |
task | 152 | kernel/exit.c | task[i]->pid); |
task | 153 | kernel/exit.c | if (bad_task_ptr(task[i]->p_osptr)) |
task | 155 | kernel/exit.c | task[i]->pid); |
task | 156 | kernel/exit.c | if (task[i]->p_pptr == task[i]) |
task | 158 | kernel/exit.c | task[i]->pid); |
task | 159 | kernel/exit.c | if (task[i]->p_cptr == task[i]) |
task | 161 | kernel/exit.c | task[i]->pid); |
task | 162 | kernel/exit.c | if (task[i]->p_ysptr == task[i]) |
task | 164 | kernel/exit.c | task[i]->pid); |
task | 165 | kernel/exit.c | if (task[i]->p_osptr == task[i]) |
task | 167 | kernel/exit.c | task[i]->pid); |
task | 168 | kernel/exit.c | if (task[i]->p_osptr) { |
task | 169 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_osptr->p_pptr) |
task | 172 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 173 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 174 | kernel/exit.c | if (task[i]->p_osptr->p_ysptr != task[i]) |
task | 177 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid); |
task | 179 | kernel/exit.c | if (task[i]->p_ysptr) { |
task | 180 | kernel/exit.c | if (task[i]->p_pptr != task[i]->p_ysptr->p_pptr) |
task | 183 | kernel/exit.c | task[i]->pid, task[i]->p_osptr->pid, |
task | 184 | kernel/exit.c | task[i]->p_osptr->p_pptr->pid); |
task | 185 | kernel/exit.c | if (task[i]->p_ysptr->p_osptr != task[i]) |
task | 188 | kernel/exit.c | task[i]->pid, task[i]->p_ysptr->pid); |
task | 190 | kernel/exit.c | if (task[i]->p_cptr) { |
task | 191 | kernel/exit.c | if (task[i]->p_cptr->p_pptr != task[i]) |
task | 194 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 195 | kernel/exit.c | if (task[i]->p_cptr->p_ysptr) |
task | 198 | kernel/exit.c | task[i]->pid, task[i]->p_cptr->pid); |
task | 356 | kernel/exit.c | if (task[smp_num_cpus]) /* init */ |
task | 357 | kernel/exit.c | p->p_opptr = task[smp_num_cpus]; |
task | 359 | kernel/exit.c | p->p_opptr = task[0]; |
task | 479 | kernel/exit.c | if (task[smp_num_cpus] && task[smp_num_cpus] != current) /* init */ |
task | 480 | kernel/exit.c | p->p_pptr = task[smp_num_cpus]; |
task | 482 | kernel/exit.c | p->p_pptr = task[0]; |
task | 53 | kernel/fork.c | if (!task[i]) |
task | 250 | kernel/fork.c | task[nr] = p; |
task | 285 | kernel/fork.c | task[nr] = NULL; |
task | 40 | kernel/panic.c | if (current == task[0]) |
task | 98 | kernel/sched.c | struct task_struct * task[NR_TASKS] = {&init_task, }; |
task | 411 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 436 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 472 | kernel/sched.c | if (current == task[0]) |
task | 1362 | kernel/sched.c | if (task[i]) |
task | 1363 | kernel/sched.c | show_task(i,task[i]); |
task | 86 | mm/memory.c | void oom(struct task_struct * task) |
task | 89 | mm/memory.c | task->sig->action[SIGKILL-1].sa_handler = NULL; |
task | 90 | mm/memory.c | task->blocked &= ~(1<<(SIGKILL-1)); |
task | 91 | mm/memory.c | send_sig(SIGKILL,task,1); |
task | 576 | mm/mmap.c | static void avl_check (struct task_struct * task, char *caller) |
task | 582 | mm/mmap.c | avl_checkheights(task->mm->mmap_avl); |
task | 583 | mm/mmap.c | avl_checkorder(task->mm->mmap_avl); |
task | 871 | mm/mmap.c | void merge_segments (struct task_struct * task, unsigned long start_addr, unsigned long end_addr) |
task | 875 | mm/mmap.c | mpnt = find_vma(task, start_addr); |
task | 878 | mm/mmap.c | avl_neighbours(mpnt, task->mm->mmap_avl, &prev, &next); |
task | 922 | mm/mmap.c | avl_remove(mpnt, &task->mm->mmap_avl); |
task | 299 | mm/swapfile.c | if (task[nr]) { |
task | 300 | mm/swapfile.c | if (unuse_process(task[nr], type, page)) { |
task | 294 | mm/vmscan.c | p = task[swap_task]; |