taglinefilesource code
tsk235arch/alpha/kernel/ptrace.cstatic struct vm_area_struct * find_extend_vma(struct task_struct * tsk, unsigned long addr)
tsk240arch/alpha/kernel/ptrace.cvma = find_vma(tsk,addr);
tsk247arch/alpha/kernel/ptrace.cif (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur)
tsk258arch/alpha/kernel/ptrace.cstatic int read_long(struct task_struct * tsk, unsigned long addr,
tsk261arch/alpha/kernel/ptrace.cstruct vm_area_struct * vma = find_extend_vma(tsk, addr);
tsk323arch/alpha/kernel/ptrace.cstatic int write_long(struct task_struct * tsk, unsigned long addr,
tsk326arch/alpha/kernel/ptrace.cstruct vm_area_struct * vma = find_extend_vma(tsk, addr);
tsk399arch/alpha/kernel/ptrace.cstatic int read_int(struct task_struct * tsk, unsigned long addr, unsigned int *data)
tsk407arch/alpha/kernel/ptrace.cres = read_long(tsk, addr, &l);
tsk425arch/alpha/kernel/ptrace.cstatic int write_int(struct task_struct * tsk, unsigned long addr, unsigned int data)
tsk433arch/alpha/kernel/ptrace.cres = read_long(tsk, addr, &l);
tsk442arch/alpha/kernel/ptrace.creturn write_long(tsk, addr, l);
tsk186arch/i386/kernel/ptrace.cstatic struct vm_area_struct * find_extend_vma(struct task_struct * tsk, unsigned long addr)
tsk191arch/i386/kernel/ptrace.cvma = find_vma(tsk,addr);
tsk198arch/i386/kernel/ptrace.cif (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur)
tsk209arch/i386/kernel/ptrace.cstatic int read_long(struct task_struct * tsk, unsigned long addr,
tsk212arch/i386/kernel/ptrace.cstruct vm_area_struct * vma = find_extend_vma(tsk, addr);
tsk251arch/i386/kernel/ptrace.cstatic int write_long(struct task_struct * tsk, unsigned long addr,
tsk254arch/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);
tsk217arch/sparc/mm/srmmu.csrmmu_pgd_offset(struct task_struct * tsk, unsigned long address)
tsk219arch/sparc/mm/srmmu.creturn ((pgd_t *) tsk->tss.pgd_ptr) +
tsk241arch/sparc/mm/srmmu.csrmmu_update_rootmmu_dir(struct task_struct *tsk, pgd_t *pgdir) 
tsk244arch/sparc/mm/srmmu.cif(tsk->tss.context != -1) {
tsk247arch/sparc/mm/srmmu.cctable_ptr += tsk->tss.context;
tsk253arch/sparc/mm/srmmu.ctsk->tss.pgd_ptr = (unsigned long) pgdir;
tsk108arch/sparc/mm/sun4c.csun4c_update_rootmmu_dir(struct task_struct *tsk, pgd_t *pgdir)
tsk110arch/sparc/mm/sun4c.c(tsk)->tss.pgd_ptr = (unsigned long) (pgdir);
tsk207arch/sparc/mm/sun4c.csun4c_pgd_offset(struct task_struct * tsk, unsigned long address)
tsk209arch/sparc/mm/sun4c.creturn ((pgd_t *) (tsk->tss.pgd_ptr)) +
tsk32fs/proc/mem.cstruct task_struct * tsk;
tsk41fs/proc/mem.ctsk = NULL;
tsk44fs/proc/mem.ctsk = task[i];
tsk47fs/proc/mem.cif (!tsk)
tsk54fs/proc/mem.cpage_dir = pgd_offset(tsk,addr);
tsk94fs/proc/mem.cstruct task_struct * tsk;
tsk104fs/proc/mem.ctsk = NULL;
tsk107fs/proc/mem.ctsk = task[i];
tsk110fs/proc/mem.cif (!tsk)
tsk116fs/proc/mem.cpage_dir = pgd_offset(tsk,addr);
tsk176fs/proc/mem.cstruct task_struct *tsk;
tsk186fs/proc/mem.ctsk = NULL;
tsk189fs/proc/mem.ctsk = task[i];
tsk193fs/proc/mem.cif (!tsk)
tsk201fs/proc/mem.csrc_vma = tsk->mm->mmap;
tsk209fs/proc/mem.csrc_dir = pgd_offset(tsk, stmp);
tsk236fs/proc/mem.csrc_vma = tsk->mm->mmap;
tsk244fs/proc/mem.csrc_dir = pgd_offset(tsk, stmp);
tsk236include/asm-alpha/pgtable.hextern inline void SET_PAGE_DIR(struct task_struct * tsk, pgd_t * pgdir)
tsk239include/asm-alpha/pgtable.htsk->tss.ptbr = ((unsigned long) pgdir - PAGE_OFFSET) >> PAGE_SHIFT;
tsk240include/asm-alpha/pgtable.hif (tsk == current)
tsk245include/asm-alpha/pgtable.h: "r" (&tsk->tss), "i" (PAL_swpctx)
tsk249include/asm-alpha/pgtable.h#define PAGE_DIR_OFFSET(tsk,address) pgd_offset((tsk),(address))
tsk252include/asm-alpha/pgtable.hextern inline pgd_t * pgd_offset(struct task_struct * tsk, unsigned long address)
tsk254include/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);
tsk178include/asm-sparc/pgtable.h#define SET_PAGE_DIR(tsk,pgdir) \
tsk179include/asm-sparc/pgtable.hdo { sparc_update_rootmmu_dir(tsk, pgdir); } while (0)
tsk172include/linux/mm.hextern unsigned long put_dirty_page(struct task_struct * tsk,unsigned long page,
tsk175include/linux/mm.hextern void free_page_tables(struct task_struct * tsk);
tsk176include/linux/mm.hextern void clear_page_tables(struct task_struct * tsk);
tsk190include/linux/mm.hextern void oom(struct task_struct * tsk);
tsk278include/linux/sched.hextern void wake_up_process(struct task_struct * tsk);
tsk280include/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);
tsk150mm/memory.cvoid clear_page_tables(struct task_struct * tsk)
tsk155mm/memory.cif (!tsk)
tsk157mm/memory.cif (tsk == task[0])
tsk159mm/memory.cpage_dir = pgd_offset(tsk, 0);
tsk161mm/memory.cprintk("%s trying to clear kernel page-directory: not good\n", tsk->comm);
tsk168mm/memory.coom(tsk);
tsk173mm/memory.cSET_PAGE_DIR(tsk, new_pg);
tsk186mm/memory.cvoid free_page_tables(struct task_struct * tsk)
tsk191mm/memory.cif (!tsk)
tsk193mm/memory.cif (tsk == task[0]) {
tsk197mm/memory.cpage_dir = pgd_offset(tsk, 0);
tsk199mm/memory.cprintk("%s trying to free kernel page-directory: not good\n", tsk->comm);
tsk202mm/memory.cSET_PAGE_DIR(tsk, swapper_pg_dir);
tsk219mm/memory.cint clone_page_tables(struct task_struct * tsk)
tsk225mm/memory.cSET_PAGE_DIR(tsk, pg_dir);
tsk318mm/memory.cint copy_page_tables(struct task_struct * tsk)
tsk327mm/memory.cSET_PAGE_DIR(tsk, new_pgd);
tsk332mm/memory.cfree_page_tables(tsk);
tsk576mm/memory.cunsigned long put_dirty_page(struct task_struct * tsk, unsigned long page, unsigned long address)
tsk586mm/memory.cpgd = pgd_offset(tsk,address);
tsk590mm/memory.coom(tsk);
tsk596mm/memory.coom(tsk);
tsk957mm/memory.cstatic inline pte_t * get_empty_pgtable(struct task_struct * tsk,unsigned long address)
tsk963mm/memory.cpgd = pgd_offset(tsk, address);
tsk966mm/memory.coom(tsk);
tsk971mm/memory.coom(tsk);