taglinefilesource code
tsk26fs/nfs/mmap.cextern int share_page(struct vm_area_struct * area, struct task_struct * tsk,
tsk30fs/nfs/mmap.cextern unsigned long put_page(struct task_struct * tsk,unsigned long page,
tsk91include/linux/mm.hextern unsigned long put_dirty_page(struct task_struct * tsk,unsigned long page,
tsk93include/linux/mm.hextern void free_page_tables(struct task_struct * tsk);
tsk94include/linux/mm.hextern void clear_page_tables(struct task_struct * tsk);
tsk102include/linux/mm.hstruct task_struct *tsk, unsigned long user_esp);
tsk104include/linux/mm.hstruct task_struct *tsk, unsigned long user_esp);
tsk305include/linux/sched.hextern void notify_parent(struct task_struct * tsk);
tsk344include/linux/sched.h#define switch_to(tsk) \
tsk356include/linux/sched.h:"m" (*(((char *)&tsk->tss.tr)-4)), \
tsk357include/linux/sched.h"c" (tsk) \
tsk70kernel/exit.cvoid notify_parent(struct task_struct * tsk)
tsk72kernel/exit.cif (tsk->p_pptr == task[1])
tsk73kernel/exit.ctsk->exit_signal = SIGCHLD;
tsk74kernel/exit.csend_sig(tsk->exit_signal, tsk->p_pptr, 1);
tsk75kernel/exit.cwake_up_interruptible(&tsk->p_pptr->wait_chldexit);
tsk90kernel/fork.cint dup_mmap(struct task_struct * tsk)
tsk94kernel/fork.ctsk->mmap = NULL;
tsk95kernel/fork.ctsk->stk_vma = NULL;
tsk96kernel/fork.cp = &tsk->mmap;
tsk102kernel/fork.ctmp->vm_task = tsk;
tsk109kernel/fork.ctsk->stk_vma = tmp;
tsk88kernel/ptrace.cstatic unsigned long get_long(struct task_struct * tsk,
tsk94kernel/ptrace.cpage = *PAGE_DIR_OFFSET(tsk->tss.cr3,addr);
tsk101kernel/ptrace.cdo_no_page(0,addr,tsk,0);
tsk118kernel/ptrace.cstatic void put_long(struct task_struct * tsk, unsigned long addr,
tsk125kernel/ptrace.cpage = *PAGE_DIR_OFFSET(tsk->tss.cr3,addr);
tsk133kernel/ptrace.cdo_no_page(0 /* PAGE_RW */ ,addr,tsk,0);
tsk139kernel/ptrace.cdo_wp_page(PAGE_RW | PAGE_PRESENT,addr,tsk,0);
tsk157kernel/ptrace.cstatic int read_long(struct task_struct * tsk, unsigned long addr,
tsk165kernel/ptrace.clow = get_long(tsk,addr & ~(sizeof(long)-1));
tsk166kernel/ptrace.chigh = get_long(tsk,(addr+sizeof(long)) & ~(sizeof(long)-1));
tsk183kernel/ptrace.c*result = get_long(tsk,addr);
tsk191kernel/ptrace.cstatic int write_long(struct task_struct * tsk, unsigned long addr,
tsk199kernel/ptrace.clow = get_long(tsk,addr & ~(sizeof(long)-1));
tsk200kernel/ptrace.chigh = get_long(tsk,(addr+sizeof(long)) & ~(sizeof(long)-1));
tsk224kernel/ptrace.cput_long(tsk,addr & ~(sizeof(long)-1),low);
tsk225kernel/ptrace.cput_long(tsk,(addr+sizeof(long)) & ~(sizeof(long)-1),high);
tsk227kernel/ptrace.cput_long(tsk,addr,data);
tsk146kernel/sys.cstatic void mark_screen_rdonly(struct task_struct * tsk)
tsk151kernel/sys.cif ((tmp = tsk->tss.cr3) != 0) {
tsk119mm/memory.cvoid clear_page_tables(struct task_struct * tsk)
tsk125mm/memory.cif (!tsk)
tsk127mm/memory.cif (tsk == task[0])
tsk129mm/memory.cpg_dir = tsk->tss.cr3;
tsk139mm/memory.coom(tsk);
tsk145mm/memory.ctsk->tss.cr3 = (unsigned long) new_pg;
tsk157mm/memory.cvoid free_page_tables(struct task_struct * tsk)
tsk163mm/memory.cif (!tsk)
tsk165mm/memory.cif (tsk == task[0]) {
tsk169mm/memory.cpg_dir = tsk->tss.cr3;
tsk174mm/memory.ctsk->tss.cr3 = (unsigned long) swapper_pg_dir;
tsk175mm/memory.cif (tsk == current)
tsk176mm/memory.c__asm__ __volatile__("movl %0,%%cr3": :"a" (tsk->tss.cr3));
tsk194mm/memory.cint clone_page_tables(struct task_struct * tsk)
tsk200mm/memory.ctsk->tss.cr3 = pg_dir;
tsk209mm/memory.cint copy_page_tables(struct task_struct * tsk)
tsk218mm/memory.ctsk->tss.cr3 = new_pg_dir;
tsk240mm/memory.cfree_page_tables(tsk);
tsk470mm/memory.cunsigned long put_page(struct task_struct * tsk,unsigned long page,
tsk481mm/memory.cpage_table = PAGE_DIR_OFFSET(tsk->tss.cr3,address);
tsk486mm/memory.coom(tsk);
tsk507mm/memory.cunsigned long put_dirty_page(struct task_struct * tsk, unsigned long page, unsigned long address)
tsk515mm/memory.cpage_table = PAGE_DIR_OFFSET(tsk->tss.cr3,address);
tsk552mm/memory.cstruct task_struct * tsk, unsigned long user_esp)
tsk558mm/memory.cpde = PAGE_DIR_OFFSET(tsk->tss.cr3,address);
tsk573mm/memory.ctsk->min_flt++;
tsk579mm/memory.c++tsk->rss;
tsk587mm/memory.coom(tsk);
tsk600mm/memory.csend_sig(SIGKILL, tsk, 1);
tsk605mm/memory.csend_sig(SIGKILL, tsk, 1);
tsk617mm/memory.cstruct task_struct * tsk, unsigned long user_esp)
tsk622mm/memory.cpg_table = PAGE_DIR_OFFSET(tsk->tss.cr3,address);
tsk634mm/memory.cif (user_esp && tsk == current) {
tsk636mm/memory.csend_sig(SIGSEGV, tsk, 1);
tsk645mm/memory.c__do_wp_page(error_code, address, tsk, user_esp);
tsk676mm/memory.cstatic inline void get_empty_page(struct task_struct * tsk, unsigned long address)
tsk681mm/memory.coom(tsk);
tsk684mm/memory.cif (!put_page(tsk,tmp,address,PAGE_PRIVATE))
tsk702mm/memory.cstatic int try_to_share(unsigned long address, struct task_struct * tsk,
tsk711mm/memory.cto_page = (unsigned long)PAGE_DIR_OFFSET(tsk->tss.cr3,address);
tsk761mm/memory.cint share_page(struct vm_area_struct * area, struct task_struct * tsk,
tsk772mm/memory.cif (tsk == *p)
tsk791mm/memory.cif (try_to_share(address,tsk,*p,error_code,newpage))
tsk800mm/memory.cstatic inline unsigned long get_empty_pgtable(struct task_struct * tsk,unsigned long address)
tsk805mm/memory.cp = PAGE_DIR_OFFSET(tsk->tss.cr3,address);
tsk813mm/memory.cp = PAGE_DIR_OFFSET(tsk->tss.cr3,address);
tsk832mm/memory.cstruct task_struct *tsk, unsigned long user_esp)
tsk838mm/memory.cpage = get_empty_pgtable(tsk,address);
tsk846mm/memory.c++tsk->rss;
tsk848mm/memory.c++tsk->maj_flt;
tsk854mm/memory.cfor (mpnt = tsk->mmap; mpnt != NULL; mpnt = mpnt->vm_next) {
tsk862mm/memory.c++tsk->min_flt;
tsk863mm/memory.cget_empty_page(tsk,address);
tsk869mm/memory.c++tsk->min_flt;
tsk870mm/memory.cget_empty_page(tsk,address);
tsk871mm/memory.cif (tsk != current)
tsk873mm/memory.cif (address >= tsk->end_data && address < tsk->brk)
tsk875mm/memory.cif (mpnt && mpnt == tsk->stk_vma &&
tsk877mm/memory.ctsk->rlim[RLIMIT_STACK].rlim_cur > mpnt->vm_end - address) {
tsk881mm/memory.ctsk->tss.cr2 = address;
tsk882mm/memory.csend_sig(SIGSEGV,tsk,1);