taglinefilesource code
tsk187arch/i386/kernel/ptrace.cstatic struct vm_area_struct * find_extend_vma(struct task_struct * tsk, unsigned long addr)
tsk192arch/i386/kernel/ptrace.cvma = find_vma(tsk,addr);
tsk199arch/i386/kernel/ptrace.cif (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur)
tsk210arch/i386/kernel/ptrace.cstatic int read_long(struct task_struct * tsk, unsigned long addr,
tsk213arch/i386/kernel/ptrace.cstruct vm_area_struct * vma = find_extend_vma(tsk, addr);
tsk252arch/i386/kernel/ptrace.cstatic int write_long(struct task_struct * tsk, unsigned long addr,
tsk255arch/i386/kernel/ptrace.cstruct vm_area_struct * vma = find_extend_vma(tsk, addr);
tsk37arch/i386/kernel/traps.c#define DO_ERROR(trapnr, signr, str, name, tsk) \
tsk40arch/i386/kernel/traps.ctsk->tss.error_code = error_code; \
tsk41arch/i386/kernel/traps.ctsk->tss.trap_no = trapnr; \
tsk44arch/i386/kernel/traps.csend_sig(signr, tsk, 1); \
tsk70arch/i386/kernel/vm86.cstatic void mark_screen_rdonly(struct task_struct * tsk)
tsk77arch/i386/kernel/vm86.cpgd = pgd_offset(tsk, 0xA0000);
tsk163arch/mips/kernel/ptrace.cstatic struct vm_area_struct * find_extend_vma(struct task_struct * tsk, unsigned long addr)
tsk168arch/mips/kernel/ptrace.cvma = find_vma(tsk, addr);
tsk175arch/mips/kernel/ptrace.cif (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur)
tsk186arch/mips/kernel/ptrace.cstatic int read_long(struct task_struct * tsk, unsigned long addr,
tsk189arch/mips/kernel/ptrace.cstruct vm_area_struct * vma = find_extend_vma(tsk, addr);
tsk228arch/mips/kernel/ptrace.cstatic int write_long(struct task_struct * tsk, unsigned long addr,
tsk231arch/mips/kernel/ptrace.cstruct vm_area_struct * vma = find_extend_vma(tsk, addr);
tsk33fs/proc/mem.cstruct task_struct * tsk;
tsk42fs/proc/mem.ctsk = NULL;
tsk45fs/proc/mem.ctsk = task[i];
tsk48fs/proc/mem.cif (!tsk)
tsk55fs/proc/mem.cpage_dir = pgd_offset(tsk,addr);
tsk95fs/proc/mem.cstruct task_struct * tsk;
tsk105fs/proc/mem.ctsk = NULL;
tsk108fs/proc/mem.ctsk = task[i];
tsk111fs/proc/mem.cif (!tsk)
tsk117fs/proc/mem.cpage_dir = pgd_offset(tsk,addr);
tsk177fs/proc/mem.cstruct task_struct *tsk;
tsk187fs/proc/mem.ctsk = NULL;
tsk190fs/proc/mem.ctsk = task[i];
tsk194fs/proc/mem.cif (!tsk)
tsk202fs/proc/mem.csrc_vma = tsk->mm->mmap;
tsk210fs/proc/mem.csrc_dir = pgd_offset(tsk, stmp);
tsk237fs/proc/mem.csrc_vma = tsk->mm->mmap;
tsk245fs/proc/mem.csrc_dir = pgd_offset(tsk, stmp);
tsk218include/asm-alpha/pgtable.hextern inline void SET_PAGE_DIR(struct task_struct * tsk, pgd_t * pgdir)
tsk221include/asm-alpha/pgtable.htsk->tss.ptbr = ((unsigned long) pgdir - PAGE_OFFSET) >> PAGE_SHIFT;
tsk222include/asm-alpha/pgtable.hif (tsk == current)
tsk226include/asm-alpha/pgtable.h#define PAGE_DIR_OFFSET(tsk,address) pgd_offset((tsk),(address))
tsk229include/asm-alpha/pgtable.hextern inline pgd_t * pgd_offset(struct task_struct * tsk, unsigned long address)
tsk231include/asm-alpha/pgtable.hreturn (pgd_t *) ((tsk->tss.ptbr << PAGE_SHIFT) + PAGE_OFFSET) +
tsk123include/asm-i386/pgtable.h#define SET_PAGE_DIR(tsk,pgdir) \
tsk125include/asm-i386/pgtable.h(tsk)->tss.cr3 = (unsigned long) (pgdir); \
tsk126include/asm-i386/pgtable.hif ((tsk) == current) \
tsk127include/asm-i386/pgtable.h__asm__ __volatile__("movl %0,%%cr3": :"a" ((tsk)->tss.cr3)); \
tsk206include/asm-i386/pgtable.hextern inline pgd_t * pgd_offset(struct task_struct * tsk, unsigned long address)
tsk208include/asm-i386/pgtable.hreturn (pgd_t *) tsk->tss.cr3 + (address >> PGDIR_SHIFT);
tsk50include/asm-i386/system.h#define switch_to(tsk) do { \
tsk60include/asm-i386/system.h:"m" (*(((char *)&tsk->tss.tr)-4)), \
tsk61include/asm-i386/system.h"c" (tsk) \
tsk162include/asm-mips/page.h#define PAGE_DIR_OFFSET(tsk,address) \
tsk163include/asm-mips/page.h((((unsigned long)(address)) >> PGDIR_SHIFT) + (pgd_t *) (tsk)->tss.pg_dir)
tsk173include/asm-mips/page.h#define SET_PAGE_DIR(tsk,pgdir) \
tsk175include/asm-mips/page.h(tsk)->tss.pg_dir = (unsigned long) (pgdir); \
tsk176include/asm-mips/page.hif ((tsk) == current) \
tsk199include/asm-mips/processor.hasmlinkage void resume(struct task_struct *tsk, int offset);
tsk140include/asm-sparc/pgtable.h#define SET_PAGE_DIR(tsk,pgdir)
tsk220include/asm-sparc/pgtable.h#define PAGE_DIR_OFFSET(tsk,address) \
tsk221include/asm-sparc/pgtable.h((((unsigned long)(address)) >> 22) + (pgd_t *) (tsk)->tss.cr3)
tsk224include/asm-sparc/pgtable.hextern inline pgd_t * pgd_offset(struct task_struct * tsk, unsigned long address)
tsk226include/asm-sparc/pgtable.hreturn (pgd_t *) tsk->tss.cr3 + (address >> PGDIR_SHIFT);
tsk171include/linux/mm.hextern unsigned long put_dirty_page(struct task_struct * tsk,unsigned long page,
tsk174include/linux/mm.hextern void free_page_tables(struct task_struct * tsk);
tsk175include/linux/mm.hextern void clear_page_tables(struct task_struct * tsk);
tsk189include/linux/mm.hextern void oom(struct task_struct * tsk);
tsk266include/linux/sched.hextern void notify_parent(struct task_struct * tsk);
tsk74kernel/exit.cvoid notify_parent(struct task_struct * tsk)
tsk76kernel/exit.cif (tsk->p_pptr == task[1])
tsk77kernel/exit.ctsk->exit_signal = SIGCHLD;
tsk78kernel/exit.csend_sig(tsk->exit_signal, tsk->p_pptr, 1);
tsk79kernel/exit.cwake_up_interruptible(&tsk->p_pptr->wait_chldexit);
tsk85kernel/fork.cstatic int dup_mmap(struct task_struct * tsk)
tsk89kernel/fork.ctsk->mm->mmap = NULL;
tsk90kernel/fork.cp = &tsk->mm->mmap;
tsk94kernel/fork.cexit_mmap(tsk);
tsk98kernel/fork.ctmp->vm_task = tsk;
tsk112kernel/fork.cbuild_mmap_avl(tsk);
tsk151mm/memory.cvoid clear_page_tables(struct task_struct * tsk)
tsk156mm/memory.cif (!tsk)
tsk158mm/memory.cif (tsk == task[0])
tsk160mm/memory.cpage_dir = pgd_offset(tsk, 0);
tsk162mm/memory.cprintk("%s trying to clear kernel page-directory: not good\n", tsk->comm);
tsk169mm/memory.coom(tsk);
tsk174mm/memory.cSET_PAGE_DIR(tsk, new_pg);
tsk187mm/memory.cvoid free_page_tables(struct task_struct * tsk)
tsk192mm/memory.cif (!tsk)
tsk194mm/memory.cif (tsk == task[0]) {
tsk198mm/memory.cpage_dir = pgd_offset(tsk, 0);
tsk200mm/memory.cprintk("%s trying to free kernel page-directory: not good\n", tsk->comm);
tsk203mm/memory.cSET_PAGE_DIR(tsk, swapper_pg_dir);
tsk220mm/memory.cint clone_page_tables(struct task_struct * tsk)
tsk226mm/memory.cSET_PAGE_DIR(tsk, pg_dir);
tsk319mm/memory.cint copy_page_tables(struct task_struct * tsk)
tsk328mm/memory.cSET_PAGE_DIR(tsk, new_pgd);
tsk333mm/memory.cfree_page_tables(tsk);
tsk581mm/memory.cunsigned long put_dirty_page(struct task_struct * tsk, unsigned long page, unsigned long address)
tsk591mm/memory.cpgd = pgd_offset(tsk,address);
tsk595mm/memory.coom(tsk);
tsk601mm/memory.coom(tsk);
tsk970mm/memory.cstatic inline pte_t * get_empty_pgtable(struct task_struct * tsk,unsigned long address)
tsk976mm/memory.cpgd = pgd_offset(tsk, address);
tsk979mm/memory.coom(tsk);
tsk984mm/memory.coom(tsk);