tag | line | file | source code |
tsk | 163 | arch/alpha/kernel/ptrace.c | static unsigned long get_long(struct task_struct * tsk, |
tsk | 175 | arch/alpha/kernel/ptrace.c | do_no_page(tsk, vma, addr, 0); |
tsk | 185 | arch/alpha/kernel/ptrace.c | do_no_page(tsk, vma, addr, 0); |
tsk | 195 | arch/alpha/kernel/ptrace.c | do_no_page(tsk, vma, addr, 0); |
tsk | 215 | arch/alpha/kernel/ptrace.c | static void put_long(struct task_struct * tsk, struct vm_area_struct * vma, |
tsk | 226 | arch/alpha/kernel/ptrace.c | do_no_page(tsk, vma, addr, 1); |
tsk | 236 | arch/alpha/kernel/ptrace.c | do_no_page(tsk, vma, addr, 1); |
tsk | 246 | arch/alpha/kernel/ptrace.c | do_no_page(tsk, vma, addr, 1); |
tsk | 251 | arch/alpha/kernel/ptrace.c | do_wp_page(tsk, vma, addr, 1); |
tsk | 263 | arch/alpha/kernel/ptrace.c | static struct vm_area_struct * find_extend_vma(struct task_struct * tsk, |
tsk | 269 | arch/alpha/kernel/ptrace.c | vma = find_vma(tsk,addr); |
tsk | 276 | arch/alpha/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
tsk | 287 | arch/alpha/kernel/ptrace.c | static int read_long(struct task_struct * tsk, unsigned long addr, |
tsk | 290 | arch/alpha/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
tsk | 308 | arch/alpha/kernel/ptrace.c | low = get_long(tsk, vma, addr); |
tsk | 312 | arch/alpha/kernel/ptrace.c | high = get_long(tsk, vma_high, addr + sizeof(long)); |
tsk | 318 | arch/alpha/kernel/ptrace.c | long l = get_long(tsk, vma, addr); |
tsk | 330 | arch/alpha/kernel/ptrace.c | static int write_long(struct task_struct * tsk, unsigned long addr, |
tsk | 333 | arch/alpha/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
tsk | 348 | arch/alpha/kernel/ptrace.c | low = get_long(tsk, vma, addr); |
tsk | 349 | arch/alpha/kernel/ptrace.c | high = get_long(tsk, vma_high, addr + sizeof(long)); |
tsk | 354 | arch/alpha/kernel/ptrace.c | put_long(tsk, vma, addr, low); |
tsk | 355 | arch/alpha/kernel/ptrace.c | put_long(tsk, vma_high, addr + sizeof(long), high); |
tsk | 357 | arch/alpha/kernel/ptrace.c | put_long(tsk, vma, addr, data); |
tsk | 364 | arch/alpha/kernel/ptrace.c | static int read_int(struct task_struct * tsk, unsigned long addr, |
tsk | 373 | arch/alpha/kernel/ptrace.c | res = read_long(tsk, addr, &l); |
tsk | 391 | arch/alpha/kernel/ptrace.c | static int write_int(struct task_struct * tsk, unsigned long addr, |
tsk | 400 | arch/alpha/kernel/ptrace.c | res = read_long(tsk, addr, &l); |
tsk | 409 | arch/alpha/kernel/ptrace.c | return write_long(tsk, addr, l); |
tsk | 86 | arch/i386/kernel/ptrace.c | static unsigned long get_long(struct task_struct * tsk, |
tsk | 97 | arch/i386/kernel/ptrace.c | do_no_page(tsk, vma, addr, 0); |
tsk | 107 | arch/i386/kernel/ptrace.c | do_no_page(tsk, vma, addr, 0); |
tsk | 117 | arch/i386/kernel/ptrace.c | do_no_page(tsk, vma, addr, 0); |
tsk | 137 | arch/i386/kernel/ptrace.c | static void put_long(struct task_struct * tsk, struct vm_area_struct * vma, unsigned long addr, |
tsk | 148 | arch/i386/kernel/ptrace.c | do_no_page(tsk, vma, addr, 1); |
tsk | 158 | arch/i386/kernel/ptrace.c | do_no_page(tsk, vma, addr, 1); |
tsk | 168 | arch/i386/kernel/ptrace.c | do_no_page(tsk, vma, addr, 1); |
tsk | 173 | arch/i386/kernel/ptrace.c | do_wp_page(tsk, vma, addr, 1); |
tsk | 185 | arch/i386/kernel/ptrace.c | static struct vm_area_struct * find_extend_vma(struct task_struct * tsk, unsigned long addr) |
tsk | 190 | arch/i386/kernel/ptrace.c | vma = find_vma(tsk,addr); |
tsk | 197 | arch/i386/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
tsk | 208 | arch/i386/kernel/ptrace.c | static int read_long(struct task_struct * tsk, unsigned long addr, |
tsk | 211 | arch/i386/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
tsk | 224 | arch/i386/kernel/ptrace.c | low = get_long(tsk, vma, addr & ~(sizeof(long)-1)); |
tsk | 225 | arch/i386/kernel/ptrace.c | high = get_long(tsk, vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1)); |
tsk | 242 | arch/i386/kernel/ptrace.c | *result = get_long(tsk, vma, addr); |
tsk | 250 | arch/i386/kernel/ptrace.c | static int write_long(struct task_struct * tsk, unsigned long addr, |
tsk | 253 | arch/i386/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
tsk | 266 | arch/i386/kernel/ptrace.c | low = get_long(tsk, vma, addr & ~(sizeof(long)-1)); |
tsk | 267 | arch/i386/kernel/ptrace.c | high = get_long(tsk, vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1)); |
tsk | 291 | arch/i386/kernel/ptrace.c | put_long(tsk, vma, addr & ~(sizeof(long)-1),low); |
tsk | 292 | arch/i386/kernel/ptrace.c | put_long(tsk, vma_high, (addr+sizeof(long)) & ~(sizeof(long)-1),high); |
tsk | 294 | arch/i386/kernel/ptrace.c | put_long(tsk, vma, addr, data); |
tsk | 38 | arch/i386/kernel/traps.c | #define DO_ERROR(trapnr, signr, str, name, tsk) \ |
tsk | 41 | arch/i386/kernel/traps.c | tsk->tss.error_code = error_code; \ |
tsk | 42 | arch/i386/kernel/traps.c | tsk->tss.trap_no = trapnr; \ |
tsk | 45 | arch/i386/kernel/traps.c | send_sig(signr, tsk, 1); \ |
tsk | 70 | arch/i386/kernel/vm86.c | static void mark_screen_rdonly(struct task_struct * tsk) |
tsk | 77 | arch/i386/kernel/vm86.c | pgd = pgd_offset(tsk->mm, 0xA0000); |
tsk | 163 | arch/mips/kernel/ptrace.c | static struct vm_area_struct * find_extend_vma(struct task_struct * tsk, unsigned long addr) |
tsk | 168 | arch/mips/kernel/ptrace.c | vma = find_vma(tsk, addr); |
tsk | 175 | arch/mips/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
tsk | 186 | arch/mips/kernel/ptrace.c | static int read_long(struct task_struct * tsk, unsigned long addr, |
tsk | 189 | arch/mips/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
tsk | 228 | arch/mips/kernel/ptrace.c | static int write_long(struct task_struct * tsk, unsigned long addr, |
tsk | 231 | arch/mips/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
tsk | 217 | arch/sparc/mm/srmmu.c | srmmu_pgd_offset(struct task_struct * tsk, unsigned long address) |
tsk | 219 | arch/sparc/mm/srmmu.c | return ((pgd_t *) tsk->tss.pgd_ptr) + |
tsk | 241 | arch/sparc/mm/srmmu.c | srmmu_update_rootmmu_dir(struct task_struct *tsk, pgd_t *pgdir) |
tsk | 244 | arch/sparc/mm/srmmu.c | if(tsk->tss.context != -1) { |
tsk | 247 | arch/sparc/mm/srmmu.c | ctable_ptr += tsk->tss.context; |
tsk | 253 | arch/sparc/mm/srmmu.c | tsk->tss.pgd_ptr = (unsigned long) pgdir; |
tsk | 108 | arch/sparc/mm/sun4c.c | sun4c_update_rootmmu_dir(struct task_struct *tsk, pgd_t *pgdir) |
tsk | 110 | arch/sparc/mm/sun4c.c | (tsk)->tss.pgd_ptr = (unsigned long) (pgdir); |
tsk | 207 | arch/sparc/mm/sun4c.c | sun4c_pgd_offset(struct task_struct * tsk, unsigned long address) |
tsk | 209 | arch/sparc/mm/sun4c.c | return ((pgd_t *) (tsk->tss.pgd_ptr)) + |
tsk | 405 | fs/proc/array.c | struct task_struct ** p = get_task(pid), *tsk; |
tsk | 411 | fs/proc/array.c | if (!p || (tsk = *p) == NULL) |
tsk | 413 | fs/proc/array.c | if (tsk->state < 0 || tsk->state > 5) |
tsk | 416 | fs/proc/array.c | state = "RSDZTD"[tsk->state]; |
tsk | 418 | fs/proc/array.c | if (tsk->mm) { |
tsk | 419 | fs/proc/array.c | vsize = tsk->kernel_stack_page; |
tsk | 423 | fs/proc/array.c | vsize = tsk->mm->brk - tsk->mm->start_code + PAGE_SIZE-1; |
tsk | 428 | fs/proc/array.c | wchan = get_wchan(tsk); |
tsk | 429 | fs/proc/array.c | if (tsk->sig) { |
tsk | 432 | fs/proc/array.c | switch((unsigned long) tsk->sig->action[i].sa_handler) { |
tsk | 444 | fs/proc/array.c | if (tsk->tty) |
tsk | 445 | fs/proc/array.c | tty_pgrp = tsk->tty->pgrp; |
tsk | 452 | fs/proc/array.c | tsk->comm, |
tsk | 454 | fs/proc/array.c | tsk->p_pptr->pid, |
tsk | 455 | fs/proc/array.c | tsk->pgrp, |
tsk | 456 | fs/proc/array.c | tsk->session, |
tsk | 457 | fs/proc/array.c | tsk->tty ? kdev_t_to_nr(tsk->tty->device) : 0, |
tsk | 459 | fs/proc/array.c | tsk->flags, |
tsk | 460 | fs/proc/array.c | tsk->min_flt, |
tsk | 461 | fs/proc/array.c | tsk->cmin_flt, |
tsk | 462 | fs/proc/array.c | tsk->maj_flt, |
tsk | 463 | fs/proc/array.c | tsk->cmaj_flt, |
tsk | 464 | fs/proc/array.c | tsk->utime, |
tsk | 465 | fs/proc/array.c | tsk->stime, |
tsk | 466 | fs/proc/array.c | tsk->cutime, |
tsk | 467 | fs/proc/array.c | tsk->cstime, |
tsk | 468 | fs/proc/array.c | tsk->counter, /* this is the kernel priority --- |
tsk | 470 | fs/proc/array.c | tsk->priority, /* this is the nice value --- |
tsk | 472 | fs/proc/array.c | tsk->timeout, |
tsk | 473 | fs/proc/array.c | tsk->it_real_value, |
tsk | 474 | fs/proc/array.c | tsk->start_time, |
tsk | 476 | fs/proc/array.c | tsk->mm ? tsk->mm->rss : 0, /* you might want to shift this left 3 */ |
tsk | 477 | fs/proc/array.c | tsk->rlim ? tsk->rlim[RLIMIT_RSS].rlim_cur : 0, |
tsk | 478 | fs/proc/array.c | tsk->mm ? tsk->mm->start_code : 0, |
tsk | 479 | fs/proc/array.c | tsk->mm ? tsk->mm->end_code : 0, |
tsk | 480 | fs/proc/array.c | tsk->mm ? tsk->mm->start_stack : 0, |
tsk | 483 | fs/proc/array.c | tsk->signal, |
tsk | 484 | fs/proc/array.c | tsk->blocked, |
tsk | 565 | fs/proc/array.c | struct task_struct ** p = get_task(pid), *tsk; |
tsk | 568 | fs/proc/array.c | if (!p || (tsk = *p) == NULL) |
tsk | 570 | fs/proc/array.c | if (tsk->mm) { |
tsk | 571 | fs/proc/array.c | struct vm_area_struct * vma = tsk->mm->mmap; |
tsk | 574 | fs/proc/array.c | pgd_t *pgd = pgd_offset(tsk->mm, vma->vm_start); |
tsk | 26 | fs/proc/mem.c | static int check_range(struct task_struct * tsk, unsigned long addr, int count) |
tsk | 31 | fs/proc/mem.c | vma = find_vma(tsk, addr); |
tsk | 59 | fs/proc/mem.c | struct task_struct * tsk; |
tsk | 68 | fs/proc/mem.c | tsk = NULL; |
tsk | 71 | fs/proc/mem.c | tsk = task[i]; |
tsk | 74 | fs/proc/mem.c | if (!tsk) |
tsk | 77 | fs/proc/mem.c | count = check_range(tsk, addr, count); |
tsk | 84 | fs/proc/mem.c | page_dir = pgd_offset(tsk->mm,addr); |
tsk | 124 | fs/proc/mem.c | struct task_struct * tsk; |
tsk | 134 | fs/proc/mem.c | tsk = NULL; |
tsk | 137 | fs/proc/mem.c | tsk = task[i]; |
tsk | 140 | fs/proc/mem.c | if (!tsk) |
tsk | 146 | fs/proc/mem.c | page_dir = pgd_offset(tsk,addr); |
tsk | 206 | fs/proc/mem.c | struct task_struct *tsk; |
tsk | 216 | fs/proc/mem.c | tsk = NULL; |
tsk | 219 | fs/proc/mem.c | tsk = task[i]; |
tsk | 223 | fs/proc/mem.c | if (!tsk) |
tsk | 231 | fs/proc/mem.c | src_vma = tsk->mm->mmap; |
tsk | 239 | fs/proc/mem.c | src_dir = pgd_offset(tsk->mm, stmp); |
tsk | 266 | fs/proc/mem.c | src_vma = tsk->mm->mmap; |
tsk | 274 | fs/proc/mem.c | src_dir = pgd_offset(tsk->mm, stmp); |
tsk | 287 | fs/proc/mem.c | do_no_page(tsk, src_vma, stmp, 1); |
tsk | 290 | fs/proc/mem.c | do_wp_page(tsk, src_vma, stmp, 1); |
tsk | 231 | include/asm-alpha/pgtable.h | extern inline void SET_PAGE_DIR(struct task_struct * tsk, pgd_t * pgdir) |
tsk | 234 | include/asm-alpha/pgtable.h | tsk->tss.ptbr = ((unsigned long) pgdir - PAGE_OFFSET) >> PAGE_SHIFT; |
tsk | 235 | include/asm-alpha/pgtable.h | if (tsk == current) |
tsk | 240 | include/asm-alpha/pgtable.h | : "r" (&tsk->tss), "i" (PAL_swpctx) |
tsk | 244 | include/asm-alpha/pgtable.h | #define PAGE_DIR_OFFSET(tsk,address) pgd_offset((tsk),(address)) |
tsk | 137 | include/asm-i386/pgtable.h | #define SET_PAGE_DIR(tsk,pgdir) \ |
tsk | 139 | include/asm-i386/pgtable.h | (tsk)->tss.cr3 = (unsigned long) (pgdir); \ |
tsk | 140 | include/asm-i386/pgtable.h | if ((tsk) == current) \ |
tsk | 141 | include/asm-i386/pgtable.h | __asm__ __volatile__("movl %0,%%cr3": :"a" ((tsk)->tss.cr3)); \ |
tsk | 68 | include/asm-i386/system.h | #define switch_to(tsk) do { \ |
tsk | 89 | include/asm-i386/system.h | :"m" (*(((char *)&tsk->tss.tr)-4)), \ |
tsk | 90 | include/asm-i386/system.h | "c" (tsk) \ |
tsk | 103 | include/asm-i386/system.h | #define switch_to(tsk) do { \ |
tsk | 113 | include/asm-i386/system.h | :"m" (*(((char *)&tsk->tss.tr)-4)), \ |
tsk | 114 | include/asm-i386/system.h | "c" (tsk) \ |
tsk | 168 | include/asm-mips/page.h | #define PAGE_DIR_OFFSET(tsk,address) \ |
tsk | 169 | include/asm-mips/page.h | ((((unsigned long)(address)) >> PGDIR_SHIFT) + (pgd_t *) (tsk)->tss.pg_dir) |
tsk | 179 | include/asm-mips/page.h | #define SET_PAGE_DIR(tsk,pgdir) \ |
tsk | 181 | include/asm-mips/page.h | (tsk)->tss.pg_dir = (unsigned long) (pgdir); \ |
tsk | 182 | include/asm-mips/page.h | if ((tsk) == current) \ |
tsk | 199 | include/asm-mips/processor.h | asmlinkage void resume(struct task_struct *tsk, int offset); |
tsk | 178 | include/asm-sparc/pgtable.h | #define SET_PAGE_DIR(tsk,pgdir) \ |
tsk | 179 | include/asm-sparc/pgtable.h | do { sparc_update_rootmmu_dir(tsk, pgdir); } while (0) |
tsk | 175 | include/linux/mm.h | extern unsigned long put_dirty_page(struct task_struct * tsk,unsigned long page, |
tsk | 178 | include/linux/mm.h | extern void free_page_tables(struct task_struct * tsk); |
tsk | 179 | include/linux/mm.h | extern void clear_page_tables(struct task_struct * tsk); |
tsk | 180 | include/linux/mm.h | extern int new_page_tables(struct task_struct * tsk); |
tsk | 190 | include/linux/mm.h | extern void do_wp_page(struct task_struct * tsk, struct vm_area_struct * vma, unsigned long address, int write_access); |
tsk | 191 | include/linux/mm.h | extern void do_no_page(struct task_struct * tsk, struct vm_area_struct * vma, unsigned long address, int write_access); |
tsk | 196 | include/linux/mm.h | extern void oom(struct task_struct * tsk); |
tsk | 312 | include/linux/sched.h | extern void wake_up_process(struct task_struct * tsk); |
tsk | 314 | include/linux/sched.h | extern void notify_parent(struct task_struct * tsk); |
tsk | 74 | kernel/exit.c | void notify_parent(struct task_struct * tsk) |
tsk | 76 | kernel/exit.c | if (tsk->p_pptr == task[smp_num_cpus]) /* Init */ |
tsk | 77 | kernel/exit.c | tsk->exit_signal = SIGCHLD; |
tsk | 78 | kernel/exit.c | send_sig(tsk->exit_signal, tsk->p_pptr, 1); |
tsk | 79 | kernel/exit.c | wake_up_interruptible(&tsk->p_pptr->wait_chldexit); |
tsk | 362 | kernel/exit.c | void exit_files(struct task_struct *tsk) |
tsk | 364 | kernel/exit.c | struct files_struct * files = tsk->files; |
tsk | 367 | kernel/exit.c | tsk->files = NULL; |
tsk | 382 | kernel/exit.c | void exit_fs(struct task_struct *tsk) |
tsk | 384 | kernel/exit.c | struct fs_struct * fs = tsk->fs; |
tsk | 387 | kernel/exit.c | tsk->fs = NULL; |
tsk | 396 | kernel/exit.c | void exit_sighand(struct task_struct *tsk) |
tsk | 398 | kernel/exit.c | struct signal_struct * sig = tsk->sig; |
tsk | 401 | kernel/exit.c | tsk->sig = NULL; |
tsk | 114 | kernel/fork.c | static int copy_mm(unsigned long clone_flags, struct task_struct * tsk) |
tsk | 117 | kernel/fork.c | SET_PAGE_DIR(tsk, current->mm->pgd); |
tsk | 121 | kernel/fork.c | tsk->mm = kmalloc(sizeof(*tsk->mm), GFP_KERNEL); |
tsk | 122 | kernel/fork.c | if (!tsk->mm) |
tsk | 124 | kernel/fork.c | *tsk->mm = *current->mm; |
tsk | 125 | kernel/fork.c | tsk->mm->count = 1; |
tsk | 126 | kernel/fork.c | tsk->min_flt = tsk->maj_flt = 0; |
tsk | 127 | kernel/fork.c | tsk->cmin_flt = tsk->cmaj_flt = 0; |
tsk | 128 | kernel/fork.c | tsk->nswap = tsk->cnswap = 0; |
tsk | 129 | kernel/fork.c | if (new_page_tables(tsk)) |
tsk | 131 | kernel/fork.c | if (dup_mmap(tsk->mm)) { |
tsk | 132 | kernel/fork.c | free_page_tables(tsk); |
tsk | 138 | kernel/fork.c | static int copy_fs(unsigned long clone_flags, struct task_struct * tsk) |
tsk | 144 | kernel/fork.c | tsk->fs = kmalloc(sizeof(*tsk->fs), GFP_KERNEL); |
tsk | 145 | kernel/fork.c | if (!tsk->fs) |
tsk | 147 | kernel/fork.c | tsk->fs->count = 1; |
tsk | 148 | kernel/fork.c | tsk->fs->umask = current->fs->umask; |
tsk | 149 | kernel/fork.c | if ((tsk->fs->root = current->fs->root)) |
tsk | 150 | kernel/fork.c | tsk->fs->root->i_count++; |
tsk | 151 | kernel/fork.c | if ((tsk->fs->pwd = current->fs->pwd)) |
tsk | 152 | kernel/fork.c | tsk->fs->pwd->i_count++; |
tsk | 156 | kernel/fork.c | static int copy_files(unsigned long clone_flags, struct task_struct * tsk) |
tsk | 164 | kernel/fork.c | tsk->files = kmalloc(sizeof(*tsk->files), GFP_KERNEL); |
tsk | 165 | kernel/fork.c | if (!tsk->files) |
tsk | 167 | kernel/fork.c | tsk->files->count = 1; |
tsk | 168 | kernel/fork.c | memcpy(&tsk->files->close_on_exec, ¤t->files->close_on_exec, |
tsk | 169 | kernel/fork.c | sizeof(tsk->files->close_on_exec)); |
tsk | 174 | kernel/fork.c | tsk->files->fd[i] = f; |
tsk | 179 | kernel/fork.c | static int copy_sighand(unsigned long clone_flags, struct task_struct * tsk) |
tsk | 185 | kernel/fork.c | tsk->sig = kmalloc(sizeof(*tsk->sig), GFP_KERNEL); |
tsk | 186 | kernel/fork.c | if (!tsk->sig) |
tsk | 188 | kernel/fork.c | tsk->sig->count = 1; |
tsk | 189 | kernel/fork.c | memcpy(tsk->sig->action, current->sig->action, sizeof(tsk->sig->action)); |
tsk | 122 | mm/memory.c | int new_page_tables(struct task_struct * tsk) |
tsk | 132 | mm/memory.c | SET_PAGE_DIR(tsk, new_pg); |
tsk | 133 | mm/memory.c | tsk->mm->pgd = new_pg; |
tsk | 144 | mm/memory.c | void clear_page_tables(struct task_struct * tsk) |
tsk | 149 | mm/memory.c | if (!tsk) |
tsk | 151 | mm/memory.c | if (tsk == task[0]) |
tsk | 153 | mm/memory.c | page_dir = pgd_offset(tsk->mm, 0); |
tsk | 155 | mm/memory.c | printk("%s trying to clear NULL page-directory: not good\n", tsk->comm); |
tsk | 159 | mm/memory.c | if (new_page_tables(tsk)) |
tsk | 160 | mm/memory.c | oom(tsk); |
tsk | 165 | mm/memory.c | printk("%s trying to clear kernel page-directory: not good\n", tsk->comm); |
tsk | 177 | mm/memory.c | void free_page_tables(struct task_struct * tsk) |
tsk | 182 | mm/memory.c | page_dir = tsk->mm->pgd; |
tsk | 184 | mm/memory.c | printk("%s trying to free kernel page-directory: not good\n", tsk->comm); |
tsk | 187 | mm/memory.c | SET_PAGE_DIR(tsk, swapper_pg_dir); |
tsk | 192 | mm/memory.c | tsk->mm->pgd = swapper_pg_dir; /* or else... */ |
tsk | 553 | mm/memory.c | unsigned long put_dirty_page(struct task_struct * tsk, unsigned long page, unsigned long address) |
tsk | 563 | mm/memory.c | pgd = pgd_offset(tsk->mm,address); |
tsk | 567 | mm/memory.c | oom(tsk); |
tsk | 573 | mm/memory.c | oom(tsk); |
tsk | 603 | mm/memory.c | void do_wp_page(struct task_struct * tsk, struct vm_area_struct * vma, |
tsk | 631 | mm/memory.c | tsk->min_flt++; |
tsk | 647 | mm/memory.c | oom(tsk); |
tsk | 658 | mm/memory.c | send_sig(SIGKILL, tsk, 1); |
tsk | 662 | mm/memory.c | send_sig(SIGKILL, tsk, 1); |
tsk | 666 | mm/memory.c | send_sig(SIGKILL, tsk, 1); |
tsk | 755 | mm/memory.c | static inline void get_empty_page(struct task_struct * tsk, struct vm_area_struct * vma, pte_t * page_table) |
tsk | 760 | mm/memory.c | oom(tsk); |
tsk | 934 | mm/memory.c | static inline pte_t * get_empty_pgtable(struct task_struct * tsk,unsigned long address) |
tsk | 940 | mm/memory.c | pgd = pgd_offset(tsk->mm, address); |
tsk | 943 | mm/memory.c | oom(tsk); |
tsk | 948 | mm/memory.c | oom(tsk); |
tsk | 954 | mm/memory.c | static inline void do_swap_page(struct task_struct * tsk, |
tsk | 961 | mm/memory.c | swap_in(tsk, vma, page_table, pte_val(entry), write_access); |
tsk | 972 | mm/memory.c | ++tsk->maj_flt; |
tsk | 983 | mm/memory.c | void do_no_page(struct task_struct * tsk, struct vm_area_struct * vma, |
tsk | 990 | mm/memory.c | page_table = get_empty_pgtable(tsk, address); |
tsk | 997 | mm/memory.c | do_swap_page(tsk, vma, address, page_table, entry, write_access); |
tsk | 1003 | mm/memory.c | ++tsk->min_flt; |
tsk | 1004 | mm/memory.c | get_empty_page(tsk, vma, page_table); |
tsk | 1010 | mm/memory.c | ++tsk->min_flt; |
tsk | 1014 | mm/memory.c | oom(tsk); |
tsk | 1018 | mm/memory.c | ++tsk->maj_flt; |
tsk | 375 | mm/swap.c | void swap_in(struct task_struct * tsk, struct vm_area_struct * vma, |
tsk | 387 | mm/swap.c | oom(tsk); |
tsk | 396 | mm/swap.c | tsk->maj_flt++; |
tsk | 417 | mm/swap.c | static inline int try_to_swap_out(struct task_struct * tsk, struct vm_area_struct* vma, |
tsk | 449 | mm/swap.c | pid_t pid = tsk->pid; |
tsk | 461 | mm/swap.c | tsk->nswap++; |
tsk | 501 | mm/swap.c | static inline int swap_out_pmd(struct task_struct * tsk, struct vm_area_struct * vma, |
tsk | 523 | mm/swap.c | tsk->swap_address = address + PAGE_SIZE; |
tsk | 524 | mm/swap.c | result = try_to_swap_out(tsk, vma, address, pte, limit); |
tsk | 533 | mm/swap.c | static inline int swap_out_pgd(struct task_struct * tsk, struct vm_area_struct * vma, |
tsk | 554 | mm/swap.c | int result = swap_out_pmd(tsk, vma, pmd, address, end, limit); |
tsk | 563 | mm/swap.c | static int swap_out_vma(struct task_struct * tsk, struct vm_area_struct * vma, |
tsk | 580 | mm/swap.c | int result = swap_out_pgd(tsk, vma, pgdir, start, end, limit); |
tsk | 573 | net/unix/af_unix.c | unix_socket *newsk, *tsk; |
tsk | 615 | net/unix/af_unix.c | tsk=skb->sk; |
tsk | 618 | net/unix/af_unix.c | newsk->protinfo.af_unix.other=tsk; |
tsk | 619 | net/unix/af_unix.c | tsk->protinfo.af_unix.other=newsk; |
tsk | 620 | net/unix/af_unix.c | tsk->state=TCP_ESTABLISHED; |
tsk | 624 | net/unix/af_unix.c | tsk->protinfo.af_unix.locks++; /* Back lock */ |
tsk | 626 | net/unix/af_unix.c | tsk->state_change(tsk); /* Wake up any sleeping connect */ |
tsk | 627 | net/unix/af_unix.c | sock_wake_async(tsk->socket, 0); |