tag | line | file | source code |
task | 755 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 783 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 813 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 875 | drivers/block/sbpcd.c | if (current == task[0]) |
task | 817 | drivers/scsi/sd.c | if (current == task[0]){ |
task | 890 | drivers/scsi/sd.c | if (current == task[0]) |
task | 722 | drivers/scsi/sr.c | if (current == task[0]) |
task | 546 | fs/exec.c | if (task[i] == current) { |
task | 194 | fs/locks.c | if (dlock_wait->task != NULL) { |
task | 195 | fs/locks.c | if (dlock_wait->task->pid == blocked_pid) return -EDEADLOCK; |
task | 196 | fs/locks.c | ret_val = locks_deadlocked(dlock_wait->task->pid,blocked_pid); |
task | 210 | fs/locks.c | void fcntl_remove_locks(struct task_struct *task, struct file *filp, |
task | 219 | fs/locks.c | while ((fl = *before) && (task != fl->fl_owner || fd != fl->fl_fd)) |
task | 224 | fs/locks.c | while ((fl = *before) && task == fl->fl_owner && fd == fl->fl_fd) |
task | 150 | fs/proc/array.c | idle = task[0]->utime + task[0]->stime; |
task | 183 | fs/proc/array.c | p = task; |
task | 184 | fs/proc/array.c | while (++p < task+NR_TASKS) { |
task | 118 | fs/proc/base.c | if (task[i] && task[i]->pid == pid) |
task | 144 | fs/proc/base.c | if (task[i] && task[i]->pid == pid) |
task | 103 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
task | 151 | fs/proc/fd.c | if ((p = task[i]) && p->pid == pid) |
task | 91 | fs/proc/inode.c | p = task[0]; |
task | 93 | fs/proc/inode.c | if ((p = task[i]) && (p->pid == pid)) |
task | 101 | fs/proc/inode.c | if (task[i]) |
task | 62 | fs/proc/link.c | if ((p = task[i]) && p->pid == pid) |
task | 38 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
task | 39 | fs/proc/mem.c | cr3 = task[i]->tss.cr3; |
task | 87 | fs/proc/mem.c | if (task[i] && task[i]->pid == pid) { |
task | 88 | fs/proc/mem.c | cr3 = task[i]->tss.cr3; |
task | 155 | fs/proc/mem.c | if (task[i] && task[i]->pid == (inode->i_ino >> 16)) { |
task | 156 | fs/proc/mem.c | cr3 = task[i]->tss.cr3; |
task | 157 | fs/proc/mem.c | src_vma = task[i]->mm->mmap; |
task | 192 | fs/proc/mem.c | src_vma = task[i]->mm->mmap; |
task | 120 | fs/proc/root.c | if (task[i] && task[i]->pid == pid) |
task | 164 | fs/proc/root.c | p = task[nr]; |
task | 177 | include/linux/mm.h | extern void oom(struct task_struct * task); |
task | 14 | include/linux/ncp.h | unsigned char task __attribute__ ((packed)); |
task | 24 | include/linux/ncp.h | unsigned char task __attribute__ ((packed)); |
task | 36 | include/linux/ncp.h | unsigned char task __attribute__ ((packed)); |
task | 82 | include/linux/sched.h | #define FIRST_TASK task[0] |
task | 83 | include/linux/sched.h | #define LAST_TASK task[NR_TASKS-1] |
task | 357 | include/linux/sched.h | extern struct task_struct *task[NR_TASKS]; |
task | 531 | include/linux/sched.h | entry->wait.task = current; |
task | 97 | include/linux/shm.h | struct task_struct *task; /* attacher */ |
task | 12 | include/linux/wait.h | struct task_struct * task; |
task | 336 | ipc/shm.c | unsigned long page_dir = shmd->task->tss.cr3; |
task | 494 | ipc/shm.c | shmd->task = current; |
task | 607 | ipc/shm.c | tmp->task = p2; |
task | 745 | ipc/shm.c | pte = PAGE_DIR_OFFSET(shmd->task->tss.cr3,tmp); |
task | 764 | ipc/shm.c | shmd->task->mm->rss--; |
task | 77 | kernel/exit.c | if (tsk->p_pptr == task[1]) |
task | 94 | 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 | 453 | kernel/exit.c | if (task[1] && task[1] != current) |
task | 454 | kernel/exit.c | p->p_pptr = task[1]; |
task | 456 | kernel/exit.c | p->p_pptr = task[0]; |
task | 52 | kernel/fork.c | if (!task[i]) { |
task | 57 | kernel/fork.c | if (task[i]->uid == current->uid) |
task | 59 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid || |
task | 60 | kernel/fork.c | task[i]->session == last_pid) |
task | 180 | kernel/fork.c | task[nr] = p; |
task | 258 | kernel/fork.c | task[nr] = NULL; |
task | 66 | kernel/ldt.c | if (task[i] == current) { |
task | 27 | kernel/panic.c | if (current == task[0]) |
task | 41 | kernel/ptrace.c | if (task[i] != NULL && (task[i]->pid == pid)) |
task | 42 | kernel/ptrace.c | return task[i]; |
task | 53 | kernel/ptrace.c | static inline int get_stack_long(struct task_struct *task, int offset) |
task | 57 | kernel/ptrace.c | stack = (unsigned char *)task->tss.esp0; |
task | 68 | kernel/ptrace.c | static inline int put_stack_long(struct task_struct *task, int offset, |
task | 73 | kernel/ptrace.c | stack = (unsigned char *) task->tss.esp0; |
task | 101 | kernel/sched.c | struct task_struct * task[NR_TASKS] = {&init_task, }; |
task | 280 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 308 | kernel/sched.c | if ((p = tmp->task) != NULL) { |
task | 347 | kernel/sched.c | if (current == task[0]) |
task | 654 | kernel/sched.c | if (current != task[0]) { |
task | 667 | kernel/sched.c | if(current != task[0]) |
task | 670 | kernel/sched.c | if (prof_buffer && current != task[0]) { |
task | 678 | kernel/sched.c | if (current != task[0] && 0 > --current->counter) { |
task | 803 | kernel/sched.c | if (task[i]) |
task | 804 | kernel/sched.c | show_task(i,task[i]); |
task | 821 | kernel/sched.c | task[i] = NULL; |
task | 191 | kernel/sys.c | send_sig(SIGINT,task[1],1); |
task | 86 | mm/memory.c | void oom(struct task_struct * task) |
task | 89 | mm/memory.c | task->sigaction[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 | 139 | mm/memory.c | if (tsk == task[0]) |
task | 177 | mm/memory.c | if (tsk == task[0]) { |
task | 445 | mm/swap.c | p = task[swap_task]; |
task | 689 | mm/swap.c | p = task[nr]; |