tag | line | file | source code |
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 | 754 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 905 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 933 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 998 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 1156 | 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 | 423 | drivers/scsi/scsi.c | if (current == task[0]) |
task | 586 | drivers/scsi/scsi.c | if (current == task[0]) |
task | 868 | drivers/scsi/sd.c | if (current == task[0]){ |
task | 944 | 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 | 43 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
task | 44 | fs/proc/mem.c | tsk = task[i]; |
task | 106 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
task | 107 | fs/proc/mem.c | tsk = task[i]; |
task | 188 | fs/proc/mem.c | if (task[i] && task[i]->pid == (inode->i_ino >> 16)) { |
task | 189 | 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 | 52 | include/linux/sched.h | #define FIRST_TASK task[0] |
task | 53 | include/linux/sched.h | #define LAST_TASK task[NR_TASKS-1] |
task | 252 | include/linux/sched.h | extern struct task_struct *task[NR_TASKS]; |
task | 362 | 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 | 423 | kernel/exit.c | if (task[1] && task[1] != current) |
task | 424 | kernel/exit.c | p->p_pptr = task[1]; |
task | 426 | kernel/exit.c | p->p_pptr = task[0]; |
task | 45 | kernel/fork.c | if (!task[i]) { |
task | 50 | kernel/fork.c | if (task[i]->uid == current->uid) |
task | 52 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid || |
task | 53 | kernel/fork.c | task[i]->session == last_pid) |
task | 206 | kernel/fork.c | task[nr] = p; |
task | 225 | kernel/fork.c | task[nr] = NULL; |
task | 27 | kernel/panic.c | if (current == task[0]) |
task | 91 | kernel/sched.c | struct task_struct * task[NR_TASKS] = {&init_task, }; |
task | 220 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 248 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 287 | kernel/sched.c | if (current == task[0]) |
task | 606 | kernel/sched.c | if (current != task[0]) { |
task | 619 | kernel/sched.c | if(current != task[0]) |
task | 622 | kernel/sched.c | if (prof_buffer && current != task[0]) { |
task | 648 | kernel/sched.c | if (current != task[0] && 0 > --current->counter) { |
task | 775 | kernel/sched.c | if (task[i]) |
task | 776 | 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 | 157 | mm/memory.c | if (tsk == task[0]) |
task | 193 | 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 | 541 | mm/swap.c | p = task[swap_task]; |
task | 966 | mm/swap.c | if (task[nr]) { |
task | 967 | mm/swap.c | if (unuse_process(task[nr], type, page)) { |