tag | line | file | source code |
tsk | 187 | arch/i386/kernel/ptrace.c | static struct vm_area_struct * find_extend_vma(struct task_struct * tsk, unsigned long addr) |
tsk | 192 | arch/i386/kernel/ptrace.c | vma = find_vma(tsk,addr); |
tsk | 199 | arch/i386/kernel/ptrace.c | if (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur) |
tsk | 210 | arch/i386/kernel/ptrace.c | static int read_long(struct task_struct * tsk, unsigned long addr, |
tsk | 213 | arch/i386/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
tsk | 252 | arch/i386/kernel/ptrace.c | static int write_long(struct task_struct * tsk, unsigned long addr, |
tsk | 255 | arch/i386/kernel/ptrace.c | struct vm_area_struct * vma = find_extend_vma(tsk, addr); |
tsk | 37 | arch/i386/kernel/traps.c | #define DO_ERROR(trapnr, signr, str, name, tsk) \ |
tsk | 40 | arch/i386/kernel/traps.c | tsk->tss.error_code = error_code; \ |
tsk | 41 | arch/i386/kernel/traps.c | tsk->tss.trap_no = trapnr; \ |
tsk | 44 | 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, 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 | 33 | fs/proc/mem.c | struct task_struct * tsk; |
tsk | 42 | fs/proc/mem.c | tsk = NULL; |
tsk | 45 | fs/proc/mem.c | tsk = task[i]; |
tsk | 48 | fs/proc/mem.c | if (!tsk) |
tsk | 55 | fs/proc/mem.c | page_dir = pgd_offset(tsk,addr); |
tsk | 95 | fs/proc/mem.c | struct task_struct * tsk; |
tsk | 105 | fs/proc/mem.c | tsk = NULL; |
tsk | 108 | fs/proc/mem.c | tsk = task[i]; |
tsk | 111 | fs/proc/mem.c | if (!tsk) |
tsk | 117 | fs/proc/mem.c | page_dir = pgd_offset(tsk,addr); |
tsk | 177 | fs/proc/mem.c | struct task_struct *tsk; |
tsk | 187 | fs/proc/mem.c | tsk = NULL; |
tsk | 190 | fs/proc/mem.c | tsk = task[i]; |
tsk | 194 | fs/proc/mem.c | if (!tsk) |
tsk | 202 | fs/proc/mem.c | src_vma = tsk->mm->mmap; |
tsk | 210 | fs/proc/mem.c | src_dir = pgd_offset(tsk, stmp); |
tsk | 237 | fs/proc/mem.c | src_vma = tsk->mm->mmap; |
tsk | 245 | fs/proc/mem.c | src_dir = pgd_offset(tsk, stmp); |
tsk | 218 | include/asm-alpha/pgtable.h | extern inline void SET_PAGE_DIR(struct task_struct * tsk, pgd_t * pgdir) |
tsk | 221 | include/asm-alpha/pgtable.h | tsk->tss.ptbr = ((unsigned long) pgdir - PAGE_OFFSET) >> PAGE_SHIFT; |
tsk | 222 | include/asm-alpha/pgtable.h | if (tsk == current) |
tsk | 226 | include/asm-alpha/pgtable.h | #define PAGE_DIR_OFFSET(tsk,address) pgd_offset((tsk),(address)) |
tsk | 229 | include/asm-alpha/pgtable.h | extern inline pgd_t * pgd_offset(struct task_struct * tsk, unsigned long address) |
tsk | 231 | include/asm-alpha/pgtable.h | return (pgd_t *) ((tsk->tss.ptbr << PAGE_SHIFT) + PAGE_OFFSET) + |
tsk | 123 | include/asm-i386/pgtable.h | #define SET_PAGE_DIR(tsk,pgdir) \ |
tsk | 125 | include/asm-i386/pgtable.h | (tsk)->tss.cr3 = (unsigned long) (pgdir); \ |
tsk | 126 | include/asm-i386/pgtable.h | if ((tsk) == current) \ |
tsk | 127 | include/asm-i386/pgtable.h | __asm__ __volatile__("movl %0,%%cr3": :"a" ((tsk)->tss.cr3)); \ |
tsk | 206 | include/asm-i386/pgtable.h | extern inline pgd_t * pgd_offset(struct task_struct * tsk, unsigned long address) |
tsk | 208 | include/asm-i386/pgtable.h | return (pgd_t *) tsk->tss.cr3 + (address >> PGDIR_SHIFT); |
tsk | 50 | include/asm-i386/system.h | #define switch_to(tsk) do { \ |
tsk | 60 | include/asm-i386/system.h | :"m" (*(((char *)&tsk->tss.tr)-4)), \ |
tsk | 61 | include/asm-i386/system.h | "c" (tsk) \ |
tsk | 162 | include/asm-mips/page.h | #define PAGE_DIR_OFFSET(tsk,address) \ |
tsk | 163 | include/asm-mips/page.h | ((((unsigned long)(address)) >> PGDIR_SHIFT) + (pgd_t *) (tsk)->tss.pg_dir) |
tsk | 173 | include/asm-mips/page.h | #define SET_PAGE_DIR(tsk,pgdir) \ |
tsk | 175 | include/asm-mips/page.h | (tsk)->tss.pg_dir = (unsigned long) (pgdir); \ |
tsk | 176 | 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 | 140 | include/asm-sparc/pgtable.h | #define SET_PAGE_DIR(tsk,pgdir) |
tsk | 220 | include/asm-sparc/pgtable.h | #define PAGE_DIR_OFFSET(tsk,address) \ |
tsk | 221 | include/asm-sparc/pgtable.h | ((((unsigned long)(address)) >> 22) + (pgd_t *) (tsk)->tss.cr3) |
tsk | 224 | include/asm-sparc/pgtable.h | extern inline pgd_t * pgd_offset(struct task_struct * tsk, unsigned long address) |
tsk | 226 | include/asm-sparc/pgtable.h | return (pgd_t *) tsk->tss.cr3 + (address >> PGDIR_SHIFT); |
tsk | 171 | include/linux/mm.h | extern unsigned long put_dirty_page(struct task_struct * tsk,unsigned long page, |
tsk | 174 | include/linux/mm.h | extern void free_page_tables(struct task_struct * tsk); |
tsk | 175 | include/linux/mm.h | extern void clear_page_tables(struct task_struct * tsk); |
tsk | 189 | include/linux/mm.h | extern void oom(struct task_struct * tsk); |
tsk | 266 | 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[1]) |
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 | 85 | kernel/fork.c | static int dup_mmap(struct task_struct * tsk) |
tsk | 89 | kernel/fork.c | tsk->mm->mmap = NULL; |
tsk | 90 | kernel/fork.c | p = &tsk->mm->mmap; |
tsk | 94 | kernel/fork.c | exit_mmap(tsk); |
tsk | 98 | kernel/fork.c | tmp->vm_task = tsk; |
tsk | 112 | kernel/fork.c | build_mmap_avl(tsk); |
tsk | 151 | mm/memory.c | void clear_page_tables(struct task_struct * tsk) |
tsk | 156 | mm/memory.c | if (!tsk) |
tsk | 158 | mm/memory.c | if (tsk == task[0]) |
tsk | 160 | mm/memory.c | page_dir = pgd_offset(tsk, 0); |
tsk | 162 | mm/memory.c | printk("%s trying to clear kernel page-directory: not good\n", tsk->comm); |
tsk | 169 | mm/memory.c | oom(tsk); |
tsk | 174 | mm/memory.c | SET_PAGE_DIR(tsk, new_pg); |
tsk | 187 | mm/memory.c | void free_page_tables(struct task_struct * tsk) |
tsk | 192 | mm/memory.c | if (!tsk) |
tsk | 194 | mm/memory.c | if (tsk == task[0]) { |
tsk | 198 | mm/memory.c | page_dir = pgd_offset(tsk, 0); |
tsk | 200 | mm/memory.c | printk("%s trying to free kernel page-directory: not good\n", tsk->comm); |
tsk | 203 | mm/memory.c | SET_PAGE_DIR(tsk, swapper_pg_dir); |
tsk | 220 | mm/memory.c | int clone_page_tables(struct task_struct * tsk) |
tsk | 226 | mm/memory.c | SET_PAGE_DIR(tsk, pg_dir); |
tsk | 319 | mm/memory.c | int copy_page_tables(struct task_struct * tsk) |
tsk | 328 | mm/memory.c | SET_PAGE_DIR(tsk, new_pgd); |
tsk | 333 | mm/memory.c | free_page_tables(tsk); |
tsk | 581 | mm/memory.c | unsigned long put_dirty_page(struct task_struct * tsk, unsigned long page, unsigned long address) |
tsk | 591 | mm/memory.c | pgd = pgd_offset(tsk,address); |
tsk | 595 | mm/memory.c | oom(tsk); |
tsk | 601 | mm/memory.c | oom(tsk); |
tsk | 970 | mm/memory.c | static inline pte_t * get_empty_pgtable(struct task_struct * tsk,unsigned long address) |
tsk | 976 | mm/memory.c | pgd = pgd_offset(tsk, address); |
tsk | 979 | mm/memory.c | oom(tsk); |
tsk | 984 | mm/memory.c | oom(tsk); |