taglinefilesource code
vma164arch/alpha/kernel/ptrace.cstruct vm_area_struct * vma, unsigned long addr)
vma173arch/alpha/kernel/ptrace.cpgdir = pgd_offset(vma->vm_mm, addr);
vma175arch/alpha/kernel/ptrace.cdo_no_page(tsk, vma, addr, 0);
vma185arch/alpha/kernel/ptrace.cdo_no_page(tsk, vma, addr, 0);
vma195arch/alpha/kernel/ptrace.cdo_no_page(tsk, vma, addr, 0);
vma215arch/alpha/kernel/ptrace.cstatic void put_long(struct task_struct * tsk, struct vm_area_struct * vma,
vma224arch/alpha/kernel/ptrace.cpgdir = pgd_offset(vma->vm_mm, addr);
vma226arch/alpha/kernel/ptrace.cdo_no_page(tsk, vma, addr, 1);
vma236arch/alpha/kernel/ptrace.cdo_no_page(tsk, vma, addr, 1);
vma246arch/alpha/kernel/ptrace.cdo_no_page(tsk, vma, addr, 1);
vma251arch/alpha/kernel/ptrace.cdo_wp_page(tsk, vma, addr, 1);
vma259arch/alpha/kernel/ptrace.cset_pte(pgtable, pte_mkdirty(mk_pte(page, vma->vm_page_prot)));
vma266arch/alpha/kernel/ptrace.cstruct vm_area_struct * vma;
vma269arch/alpha/kernel/ptrace.cvma = find_vma(tsk,addr);
vma270arch/alpha/kernel/ptrace.cif (!vma)
vma272arch/alpha/kernel/ptrace.cif (vma->vm_start <= addr)
vma273arch/alpha/kernel/ptrace.creturn vma;
vma274arch/alpha/kernel/ptrace.cif (!(vma->vm_flags & VM_GROWSDOWN))
vma276arch/alpha/kernel/ptrace.cif (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur)
vma278arch/alpha/kernel/ptrace.cvma->vm_offset -= vma->vm_start - addr;
vma279arch/alpha/kernel/ptrace.cvma->vm_start = addr;
vma280arch/alpha/kernel/ptrace.creturn vma;
vma290arch/alpha/kernel/ptrace.cstruct vm_area_struct * vma = find_extend_vma(tsk, addr);
vma293arch/alpha/kernel/ptrace.cif (!vma) {
vma298arch/alpha/kernel/ptrace.cstruct vm_area_struct * vma_high = vma;
vma301arch/alpha/kernel/ptrace.cif (addr + sizeof(long) >= vma->vm_end) {
vma302arch/alpha/kernel/ptrace.cvma_high = vma->vm_next;
vma303arch/alpha/kernel/ptrace.cif (!vma_high || vma_high->vm_start != vma->vm_end)
vma308arch/alpha/kernel/ptrace.clow = get_long(tsk, vma, addr);
vma318arch/alpha/kernel/ptrace.clong l = get_long(tsk, vma, addr);
vma333arch/alpha/kernel/ptrace.cstruct vm_area_struct * vma = find_extend_vma(tsk, addr);
vma335arch/alpha/kernel/ptrace.cif (!vma)
vma339arch/alpha/kernel/ptrace.cstruct vm_area_struct * vma_high = vma;
vma341arch/alpha/kernel/ptrace.cif (addr + sizeof(long) >= vma->vm_end) {
vma342arch/alpha/kernel/ptrace.cvma_high = vma->vm_next;
vma343arch/alpha/kernel/ptrace.cif (!vma_high || vma_high->vm_start != vma->vm_end)
vma348arch/alpha/kernel/ptrace.clow  = get_long(tsk, vma, addr);
vma354arch/alpha/kernel/ptrace.cput_long(tsk, vma, addr, low);
vma357arch/alpha/kernel/ptrace.cput_long(tsk, vma, addr, data);
vma44arch/alpha/mm/fault.cstruct vm_area_struct * vma;
vma46arch/alpha/mm/fault.cvma = find_vma(current, address);
vma47arch/alpha/mm/fault.cif (!vma)
vma49arch/alpha/mm/fault.cif (vma->vm_start <= address)
vma51arch/alpha/mm/fault.cif (!(vma->vm_flags & VM_GROWSDOWN))
vma53arch/alpha/mm/fault.cif (expand_stack(vma, address))
vma61arch/alpha/mm/fault.cif (!(vma->vm_flags & VM_EXEC))
vma65arch/alpha/mm/fault.cif (!(vma->vm_flags & (VM_READ | VM_WRITE)))
vma68arch/alpha/mm/fault.cif (!(vma->vm_flags & VM_WRITE))
vma72arch/alpha/mm/fault.chandle_mm_fault(vma, address, cause > 0);
vma87arch/i386/kernel/ptrace.cstruct vm_area_struct * vma, unsigned long addr)
vma95arch/i386/kernel/ptrace.cpgdir = pgd_offset(vma->vm_mm, addr);
vma97arch/i386/kernel/ptrace.cdo_no_page(tsk, vma, addr, 0);
vma107arch/i386/kernel/ptrace.cdo_no_page(tsk, vma, addr, 0);
vma117arch/i386/kernel/ptrace.cdo_no_page(tsk, vma, addr, 0);
vma137arch/i386/kernel/ptrace.cstatic void put_long(struct task_struct * tsk, struct vm_area_struct * vma, unsigned long addr,
vma146arch/i386/kernel/ptrace.cpgdir = pgd_offset(vma->vm_mm, addr);
vma148arch/i386/kernel/ptrace.cdo_no_page(tsk, vma, addr, 1);
vma158arch/i386/kernel/ptrace.cdo_no_page(tsk, vma, addr, 1);
vma168arch/i386/kernel/ptrace.cdo_no_page(tsk, vma, addr, 1);
vma173arch/i386/kernel/ptrace.cdo_wp_page(tsk, vma, addr, 1);
vma181arch/i386/kernel/ptrace.cset_pte(pgtable, pte_mkdirty(mk_pte(page, vma->vm_page_prot)));
vma187arch/i386/kernel/ptrace.cstruct vm_area_struct * vma;
vma190arch/i386/kernel/ptrace.cvma = find_vma(tsk,addr);
vma191arch/i386/kernel/ptrace.cif (!vma)
vma193arch/i386/kernel/ptrace.cif (vma->vm_start <= addr)
vma194arch/i386/kernel/ptrace.creturn vma;
vma195arch/i386/kernel/ptrace.cif (!(vma->vm_flags & VM_GROWSDOWN))
vma197arch/i386/kernel/ptrace.cif (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur)
vma199arch/i386/kernel/ptrace.cvma->vm_offset -= vma->vm_start - addr;
vma200arch/i386/kernel/ptrace.cvma->vm_start = addr;
vma201arch/i386/kernel/ptrace.creturn vma;
vma211arch/i386/kernel/ptrace.cstruct vm_area_struct * vma = find_extend_vma(tsk, addr);
vma213arch/i386/kernel/ptrace.cif (!vma)
vma217arch/i386/kernel/ptrace.cstruct vm_area_struct * vma_high = vma;
vma219arch/i386/kernel/ptrace.cif (addr + sizeof(long) >= vma->vm_end) {
vma220arch/i386/kernel/ptrace.cvma_high = vma->vm_next;
vma221arch/i386/kernel/ptrace.cif (!vma_high || vma_high->vm_start != vma->vm_end)
vma224arch/i386/kernel/ptrace.clow = get_long(tsk, vma, addr & ~(sizeof(long)-1));
vma242arch/i386/kernel/ptrace.c*result = get_long(tsk, vma, addr);
vma253arch/i386/kernel/ptrace.cstruct vm_area_struct * vma = find_extend_vma(tsk, addr);
vma255arch/i386/kernel/ptrace.cif (!vma)
vma259arch/i386/kernel/ptrace.cstruct vm_area_struct * vma_high = vma;
vma261arch/i386/kernel/ptrace.cif (addr + sizeof(long) >= vma->vm_end) {
vma262arch/i386/kernel/ptrace.cvma_high = vma->vm_next;
vma263arch/i386/kernel/ptrace.cif (!vma_high || vma_high->vm_start != vma->vm_end)
vma266arch/i386/kernel/ptrace.clow = get_long(tsk, vma, addr & ~(sizeof(long)-1));
vma291arch/i386/kernel/ptrace.cput_long(tsk, vma, addr & ~(sizeof(long)-1),low);
vma294arch/i386/kernel/ptrace.cput_long(tsk, vma, addr, data);
vma36arch/i386/mm/fault.cstruct vm_area_struct * vma;
vma42arch/i386/mm/fault.cvma = find_vma(current, address);
vma43arch/i386/mm/fault.cif (!vma)
vma45arch/i386/mm/fault.cif (vma->vm_start <= address)
vma47arch/i386/mm/fault.cif (!(vma->vm_flags & VM_GROWSDOWN))
vma59arch/i386/mm/fault.cif (expand_stack(vma, address))
vma70arch/i386/mm/fault.cif (!(vma->vm_flags & VM_WRITE))
vma76arch/i386/mm/fault.cif (!(vma->vm_flags & (VM_READ | VM_EXEC)))
vma92arch/i386/mm/fault.cdo_wp_page(current, vma, address, error_code & 2);
vma95arch/i386/mm/fault.cdo_no_page(current, vma, address, error_code & 2);
vma86arch/mips/kernel/ptrace.cstatic unsigned long get_long(struct vm_area_struct * vma, unsigned long addr)
vma93arch/mips/kernel/ptrace.cpgdir = PAGE_DIR_OFFSET(vma->vm_mm, addr);
vma95arch/mips/kernel/ptrace.cdo_no_page(vma, addr, 0);
vma105arch/mips/kernel/ptrace.cdo_no_page(vma, addr, 0);
vma125arch/mips/kernel/ptrace.cstatic void put_long(struct vm_area_struct * vma, unsigned long addr,
vma133arch/mips/kernel/ptrace.cpgdir = PAGE_DIR_OFFSET(vma->vm_mm, addr);
vma135arch/mips/kernel/ptrace.cdo_no_page(vma, addr, 1);
vma145arch/mips/kernel/ptrace.cdo_no_page(vma, addr, 1);
vma150arch/mips/kernel/ptrace.cdo_wp_page(vma, addr, 1);
vma158arch/mips/kernel/ptrace.cset_pte(pgtable, pte_mkdirty(mk_pte(page, vma->vm_page_prot)));
vma164arch/mips/kernel/ptrace.cstruct vm_area_struct * vma;
vma167arch/mips/kernel/ptrace.cvma = find_vma(tsk, addr);
vma168arch/mips/kernel/ptrace.cif (!vma)
vma170arch/mips/kernel/ptrace.cif (vma->vm_start <= addr)
vma171arch/mips/kernel/ptrace.creturn vma;
vma172arch/mips/kernel/ptrace.cif (!(vma->vm_flags & VM_GROWSDOWN))
vma174arch/mips/kernel/ptrace.cif (vma->vm_end - addr > tsk->rlim[RLIMIT_STACK].rlim_cur)
vma176arch/mips/kernel/ptrace.cvma->vm_offset -= vma->vm_start - addr;
vma177arch/mips/kernel/ptrace.cvma->vm_start = addr;
vma178arch/mips/kernel/ptrace.creturn vma;
vma188arch/mips/kernel/ptrace.cstruct vm_area_struct * vma = find_extend_vma(tsk, addr);
vma190arch/mips/kernel/ptrace.cif (!vma)
vma194arch/mips/kernel/ptrace.cstruct vm_area_struct * vma_high = vma;
vma196arch/mips/kernel/ptrace.cif (addr + sizeof(long) >= vma->vm_end) {
vma197arch/mips/kernel/ptrace.cvma_high = vma->vm_next;
vma198arch/mips/kernel/ptrace.cif (!vma_high || vma_high->vm_start != vma->vm_end)
vma201arch/mips/kernel/ptrace.clow = get_long(vma, addr & ~(sizeof(long)-1));
vma219arch/mips/kernel/ptrace.c*result = get_long(vma, addr);
vma230arch/mips/kernel/ptrace.cstruct vm_area_struct * vma = find_extend_vma(tsk, addr);
vma232arch/mips/kernel/ptrace.cif (!vma)
vma236arch/mips/kernel/ptrace.cstruct vm_area_struct * vma_high = vma;
vma238arch/mips/kernel/ptrace.cif (addr + sizeof(long) >= vma->vm_end) {
vma239arch/mips/kernel/ptrace.cvma_high = vma->vm_next;
vma240arch/mips/kernel/ptrace.cif (!vma_high || vma_high->vm_start != vma->vm_end)
vma243arch/mips/kernel/ptrace.clow = get_long(vma, addr & ~(sizeof(long)-1));
vma268arch/mips/kernel/ptrace.cput_long(vma, addr & ~(sizeof(long)-1),low);
vma271arch/mips/kernel/ptrace.cput_long(vma, addr, data);
vma36arch/mips/kernel/sysmips.cstruct vm_area_struct * vma;
vma38arch/mips/kernel/sysmips.cvma = find_vma(current, address);
vma39arch/mips/kernel/sysmips.cif (!vma || vma->vm_start > address || !(vma->vm_flags & VM_READ))
vma41arch/mips/kernel/sysmips.caddress = vma->vm_end - address;
vma44arch/mips/kernel/sysmips.cif (vma->vm_next && vma->vm_next->vm_start == vma->vm_end &&
vma45arch/mips/kernel/sysmips.c(vma->vm_next->vm_flags & VM_READ))
vma31arch/mips/mm/fault.cstruct vm_area_struct * vma;
vma38arch/mips/mm/fault.cvma = find_vma(current, address);
vma39arch/mips/mm/fault.cif (!vma)
vma41arch/mips/mm/fault.cif (vma->vm_start <= address)
vma43arch/mips/mm/fault.cif (!(vma->vm_flags & VM_GROWSDOWN))
vma45arch/mips/mm/fault.cif (expand_stack(vma, address))
vma53arch/mips/mm/fault.cif (!(vma->vm_flags & VM_WRITE))
vma56arch/mips/mm/fault.cif (!(vma->vm_flags & (VM_READ | VM_EXEC)))
vma59arch/mips/mm/fault.chandle_mm_fault(vma, address, writeaccess);
vma185arch/ppc/mm/fault.cstruct vm_area_struct * vma;
vma190arch/ppc/mm/fault.cfor (vma = current->mm->mmap ; ; vma = vma->vm_next)
vma192arch/ppc/mm/fault.cif (!vma)
vma198arch/ppc/mm/fault.cif (vma->vm_end > address)
vma202arch/ppc/mm/fault.cvma = find_vma(current, address);
vma203arch/ppc/mm/fault.cif (!vma)
vma208arch/ppc/mm/fault.cif (vma->vm_start <= address){
vma211arch/ppc/mm/fault.cif (!(vma->vm_flags & VM_GROWSDOWN))
vma217arch/ppc/mm/fault.cif (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur)
vma219arch/ppc/mm/fault.cprintk("stack2: vma->vm_end-addres %x rlim %x\n", vma->vm_end - address,
vma221arch/ppc/mm/fault.cprintk("stack2: vm_end %x address = %x\n", vma->vm_end,address);
vma226arch/ppc/mm/fault.cvma->vm_offset -= vma->vm_start - (address & PAGE_MASK);
vma227arch/ppc/mm/fault.cvma->vm_start = (address & PAGE_MASK);
vma238arch/ppc/mm/fault.cif (!(vma->vm_flags & VM_WRITE))
vma242arch/ppc/mm/fault.ccurrent,address,vma->vm_flags,current->mm,vma,vma->vm_start,vma->vm_end);
vma252arch/ppc/mm/fault.cif (!(vma->vm_flags & (VM_READ | VM_EXEC)))
vma255arch/ppc/mm/fault.c_printk("vma = %x\n", vma);
vma256arch/ppc/mm/fault.c_printk("vma->vm_flags = %x\n", vma->vm_flags);      
vma261arch/ppc/mm/fault.cvma, VM_READ,VM_EXEC);
vma263arch/ppc/mm/fault.cvma->vm_start, vma->vm_end);
vma266arch/ppc/mm/fault.cprintk("vma->vm_flags = %x\n", vma->vm_flags);
vma273arch/ppc/mm/fault.chandle_mm_fault(vma, address, error_code & 2); 
vma296arch/ppc/mm/fault.ccurrent,address,vma->vm_flags,current->mm,vma,vma->vm_start,vma->vm_end);
vma130arch/sparc/mm/fault.cstruct vm_area_struct *vma;
vma157arch/sparc/mm/fault.cvma = find_vma(current, address);
vma158arch/sparc/mm/fault.cif(!vma)
vma160arch/sparc/mm/fault.cif(vma->vm_start <= address)
vma162arch/sparc/mm/fault.cif(!(vma->vm_flags & VM_GROWSDOWN))
vma164arch/sparc/mm/fault.cif(expand_stack(vma, address))
vma172arch/sparc/mm/fault.cif(!(vma->vm_flags & VM_WRITE))
vma176arch/sparc/mm/fault.cif(!(vma->vm_flags & (VM_READ | VM_EXEC)))
vma179arch/sparc/mm/fault.chandle_mm_fault(vma, address, error_code & FAULT_CODE_WRITE);
vma32arch/sparc/mm/loadmmu.cvoid (*update_mmu_cache)(struct vm_area_struct *vma, unsigned long address, pte_t pte);
vma805arch/sparc/mm/srmmu.cvoid srmmu_update_mmu_cache(struct vm_area_struct * vma,
vma681arch/sparc/mm/sun4c.cvoid sun4c_update_mmu_cache(struct vm_area_struct * vma,
vma95drivers/char/mem.cstatic int mmap_mem(struct inode * inode, struct file * file, struct vm_area_struct * vma)
vma97drivers/char/mem.cif (vma->vm_offset & ~PAGE_MASK)
vma106drivers/char/mem.cif (x86 > 3 && vma->vm_offset >= high_memory)
vma107drivers/char/mem.cpgprot_val(vma->vm_page_prot) |= _PAGE_PCD;
vma109drivers/char/mem.cif (remap_page_range(vma->vm_start, vma->vm_offset, vma->vm_end - vma->vm_start, vma->vm_page_prot))
vma111drivers/char/mem.cvma->vm_inode = inode;
vma179drivers/char/mem.cstatic int mmap_zero(struct inode * inode, struct file * file, struct vm_area_struct * vma)
vma181drivers/char/mem.cif (vma->vm_flags & VM_SHARED)
vma183drivers/char/mem.cif (zeromap_page_range(vma->vm_start, vma->vm_end - vma->vm_start, vma->vm_page_prot))
vma240drivers/sound/soundcard.csound_mmap (inode_handle * inode, file_handle * file, vm_area_handle * vma)
vma259drivers/sound/soundcard.cif ((vma_get_flags (vma) & (VM_READ | VM_WRITE)) == (VM_READ | VM_WRITE))
vma265drivers/sound/soundcard.cif (vma_get_flags (vma) & VM_READ)
vma269drivers/sound/soundcard.celse if (vma_get_flags (vma) & VM_WRITE)
vma297drivers/sound/soundcard.cif (vma_get_offset (vma) != 0)
vma303drivers/sound/soundcard.csize = vma_get_end (vma) - vma_get_start (vma);
vma312drivers/sound/soundcard.cif (remap_page_range (vma_get_start (vma), dmap->raw_buf_phys,
vma313drivers/sound/soundcard.cvma_get_end (vma) - vma_get_start (vma),
vma314drivers/sound/soundcard.cvma_get_page_prot (vma)))
vma317drivers/sound/soundcard.cvma_set_inode (vma, inode);
vma851fs/binfmt_elf.cstatic inline int maydump(struct vm_area_struct *vma)
vma854fs/binfmt_elf.cif (vma->vm_flags & (VM_WRITE|VM_GROWSUP|VM_GROWSDOWN))
vma856fs/binfmt_elf.cif (vma->vm_flags & (VM_READ|VM_EXEC|VM_EXECUTABLE|VM_SHARED))
vma952fs/binfmt_elf.cstruct vm_area_struct *vma;
vma973fs/binfmt_elf.cfor(vma = current->mm->mmap; vma != NULL; vma = vma->vm_next) {
vma974fs/binfmt_elf.cint sz = vma->vm_end-vma->vm_start;
vma976fs/binfmt_elf.cif (!maydump(vma))
vma1156fs/binfmt_elf.cfor(vma = current->mm->mmap, i = 0;
vma1157fs/binfmt_elf.ci < segs && vma != NULL; vma = vma->vm_next) {
vma1161fs/binfmt_elf.cif (!maydump(vma))
vma1165fs/binfmt_elf.csz = vma->vm_end - vma->vm_start;
vma1169fs/binfmt_elf.cphdr.p_vaddr = vma->vm_start;
vma1174fs/binfmt_elf.cphdr.p_flags = vma->vm_flags & VM_READ ? PF_R : 0;
vma1175fs/binfmt_elf.cif (vma->vm_flags & VM_WRITE) phdr.p_flags |= PF_W;
vma1176fs/binfmt_elf.cif (vma->vm_flags & VM_EXEC) phdr.p_flags |= PF_X;
vma1190fs/binfmt_elf.cfor(i = 0, vma = current->mm->mmap;
vma1191fs/binfmt_elf.ci < segs && vma != NULL;
vma1192fs/binfmt_elf.cvma = vma->vm_next) {
vma1193fs/binfmt_elf.cunsigned long addr = vma->vm_start;
vma1194fs/binfmt_elf.cunsigned long len = vma->vm_end - vma->vm_start;
vma1196fs/binfmt_elf.cif (!maydump(vma))
vma94fs/msdos/mmap.cint msdos_mmap(struct inode * inode, struct file * file, struct vm_area_struct * vma)
vma96fs/msdos/mmap.cif (vma->vm_flags & VM_SHARED)  /* only PAGE_COW or read-only supported now */
vma98fs/msdos/mmap.cif (vma->vm_offset & (inode->i_sb->s_blocksize - 1))
vma107fs/msdos/mmap.cvma->vm_inode = inode;
vma109fs/msdos/mmap.cvma->vm_ops = &msdos_file_mmap;
vma31fs/namei.cstruct vm_area_struct * vma;
vma35fs/namei.cvma = find_vma(current, address);
vma36fs/namei.cif (!vma || vma->vm_start > address || !(vma->vm_flags & VM_READ))
vma38fs/namei.caddress = vma->vm_end - address;
vma41fs/namei.cif (vma->vm_next && vma->vm_next->vm_start == vma->vm_end &&
vma42fs/namei.c(vma->vm_next->vm_flags & VM_READ))
vma132fs/ncpfs/mmap.cncp_mmap(struct inode * inode, struct file * file, struct vm_area_struct * vma)
vma137fs/ncpfs/mmap.cif (vma->vm_flags & VM_SHARED)  
vma146fs/ncpfs/mmap.cvma->vm_inode = inode;
vma148fs/ncpfs/mmap.cvma->vm_ops = &ncp_file_mmap;
vma100fs/nfs/mmap.cint nfs_mmap(struct inode * inode, struct file * file, struct vm_area_struct * vma)
vma102fs/nfs/mmap.cif (vma->vm_flags & VM_SHARED)  /* only PAGE_COW or read-only supported now */
vma111fs/nfs/mmap.cvma->vm_inode = inode;
vma113fs/nfs/mmap.cvma->vm_ops = &nfs_file_mmap;
vma475fs/proc/array.cstruct vm_area_struct *vma = tsk->mm->mmap;
vma476fs/proc/array.cwhile (vma) {
vma477fs/proc/array.cvsize += vma->vm_end - vma->vm_start;
vma478fs/proc/array.cvma = vma->vm_next;
vma634fs/proc/array.cstruct vm_area_struct * vma = tsk->mm->mmap;
vma636fs/proc/array.cwhile (vma) {
vma637fs/proc/array.cpgd_t *pgd = pgd_offset(tsk->mm, vma->vm_start);
vma640fs/proc/array.cstatm_pgd_range(pgd, vma->vm_start, vma->vm_end, &pages, &shared, &dirty, &total);
vma645fs/proc/array.cif (vma->vm_flags & VM_EXECUTABLE)
vma647fs/proc/array.celse if (vma->vm_flags & VM_GROWSDOWN)
vma649fs/proc/array.celse if (vma->vm_end > 0x60000000)
vma653fs/proc/array.cvma = vma->vm_next;
vma105fs/proc/link.cstruct vm_area_struct * vma;
vma108fs/proc/link.cvma = p->mm->mmap;
vma109fs/proc/link.cwhile (vma) {
vma110fs/proc/link.cif (vma->vm_flags & VM_EXECUTABLE) {
vma111fs/proc/link.cnew_inode = vma->vm_inode;
vma114fs/proc/link.cvma = vma->vm_next;
vma28fs/proc/mem.cstruct vm_area_struct *vma;
vma31fs/proc/mem.cvma = find_vma(tsk, addr);
vma32fs/proc/mem.cif (!vma)
vma34fs/proc/mem.cif (vma->vm_start > addr)
vma36fs/proc/mem.cif (!(vma->vm_flags & VM_READ))
vma38fs/proc/mem.cwhile ((retval = vma->vm_end - addr) < count) {
vma39fs/proc/mem.cstruct vm_area_struct *next = vma->vm_next;
vma42fs/proc/mem.cif (vma->vm_end != next->vm_start)
vma46fs/proc/mem.cvma = next;
vma204fs/proc/mem.cstruct vm_area_struct * vma)
vma232fs/proc/mem.cstmp = vma->vm_offset;
vma233fs/proc/mem.cwhile (stmp < vma->vm_offset + (vma->vm_end - vma->vm_start)) {
vma267fs/proc/mem.cstmp    = vma->vm_offset;
vma268fs/proc/mem.cdtmp    = vma->vm_start;
vma270fs/proc/mem.cwhile (dtmp < vma->vm_end) {
vma289fs/proc/mem.cif ((vma->vm_flags & VM_WRITE) && !pte_write(*src_table))
vma300fs/proc/mem.cinvalidate_range(vma->vm_mm, vma->vm_start, vma->vm_end);
vma104fs/smbfs/mmap.csmb_mmap(struct inode * inode, struct file * file, struct vm_area_struct * vma)
vma109fs/smbfs/mmap.cif (vma->vm_flags & VM_SHARED)  
vma118fs/smbfs/mmap.cvma->vm_inode = inode;
vma120fs/smbfs/mmap.cvma->vm_ops = &smb_file_mmap;
vma677fs/super.cstruct vm_area_struct * vma;
vma683fs/super.cvma = find_vma(current, (unsigned long) data);
vma684fs/super.cif (!vma || (unsigned long) data < vma->vm_start)
vma686fs/super.ci = vma->vm_end - (unsigned long) data;
vma50include/asm-alpha/pgtable.hstatic inline void invalidate_page(struct vm_area_struct *vma,
vma53include/asm-alpha/pgtable.hstruct mm_struct * mm = vma->vm_mm;
vma58include/asm-alpha/pgtable.htbi(2 + ((vma->vm_flags & VM_EXEC) != 0), addr);
vma465include/asm-alpha/pgtable.hextern inline void update_mmu_cache(struct vm_area_struct * vma,
vma56include/asm-i386/pgtable.hstatic inline void invalidate_page(struct vm_area_struct *vma,
vma59include/asm-i386/pgtable.hif (vma->vm_mm == current->mm)
vma92include/asm-i386/pgtable.hstatic inline void invalidate_page(struct vm_area_struct *vma,
vma430include/asm-i386/pgtable.hextern inline void update_mmu_cache(struct vm_area_struct * vma,
vma551include/asm-mips/pgtable.hextern void update_mmu_cache(struct vm_area_struct * vma,
vma483include/asm-ppc/pgtable.hextern inline void update_mmu_cache(struct vm_area_struct * vma,
vma487include/asm-ppc/pgtable.hprintk("Update MMU cache - VMA: %x, Addr: %x, PTE: %x\n", vma, address, *(long *)&_pte);
vma488include/asm-ppc/pgtable.h_printk("Update MMU cache - VMA: %x, Addr: %x, PTE: %x\n", vma, address, *(long *)&_pte);
vma270include/asm-sparc/pgtable.hextern void (*update_mmu_cache)(struct vm_area_struct *vma, unsigned long address, pte_t pte);
vma189include/linux/mm.hextern int copy_page_range(struct mm_struct *dst, struct mm_struct *src, struct vm_area_struct *vma);
vma194include/linux/mm.hextern void handle_mm_fault(struct vm_area_struct *vma, unsigned long address, int write_access);
vma195include/linux/mm.hextern void do_wp_page(struct task_struct * tsk, struct vm_area_struct * vma, unsigned long address, int write_access);
vma196include/linux/mm.hextern void do_no_page(struct task_struct * tsk, struct vm_area_struct * vma, unsigned long address, int write_access);
vma242include/linux/mm.hstatic inline int expand_stack(struct vm_area_struct * vma, unsigned long address)
vma247include/linux/mm.hif (vma->vm_end - address > current->rlim[RLIMIT_STACK].rlim_cur)
vma249include/linux/mm.hgrow = vma->vm_start - address;
vma250include/linux/mm.hvma->vm_start = address;
vma251include/linux/mm.hvma->vm_offset -= grow;
vma252include/linux/mm.hvma->vm_mm->total_vm += grow >> PAGE_SHIFT;
vma253include/linux/mm.hif (vma->vm_flags & VM_LOCKED)
vma254include/linux/mm.hvma->vm_mm->locked_vm += grow >> PAGE_SHIFT;
vma283include/linux/mm.hstruct vm_area_struct * vma;
vma285include/linux/mm.hvma = find_vma(task,start_addr);
vma286include/linux/mm.hif (!vma || end_addr <= vma->vm_start)
vma288include/linux/mm.hreturn vma;
vma159include/linux/ncp_fs.hint ncp_mmap(struct inode * inode, struct file * file, struct vm_area_struct * vma);
vma121include/linux/nfs_fs.hextern int nfs_mmap(struct inode * inode, struct file * file, struct vm_area_struct * vma);
vma177include/linux/smb_fs.hint smb_mmap(struct inode * inode, struct file * file, struct vm_area_struct * vma);
vma441mm/filemap.cstatic int filemap_write_page(struct vm_area_struct * vma,
vma462mm/filemap.cinode = vma->vm_inode;
vma502mm/filemap.cint filemap_swapout(struct vm_area_struct * vma,
vma512mm/filemap.cinvalidate_page(vma, (offset + vma->vm_start - vma->vm_offset));
vma513mm/filemap.cerror = filemap_write_page(vma, offset, page);
vma525mm/filemap.cstatic pte_t filemap_swapin(struct vm_area_struct * vma,
vma533mm/filemap.creturn mk_pte(page,vma->vm_page_prot);
vma537mm/filemap.cstatic inline int filemap_sync_pte(pte_t * ptep, struct vm_area_struct *vma,
vma550mm/filemap.cinvalidate_page(vma, address);
vma557mm/filemap.cinvalidate_page(vma, address);
vma568mm/filemap.cerror = filemap_write_page(vma, address - vma->vm_start + vma->vm_offset, page);
vma575mm/filemap.cstruct vm_area_struct *vma, unsigned long offset, unsigned int flags)
vma596mm/filemap.cerror |= filemap_sync_pte(pte, vma, address + offset, flags);
vma605mm/filemap.cstruct vm_area_struct *vma, unsigned int flags)
vma626mm/filemap.cerror |= filemap_sync_pte_range(pmd, address, end - address, vma, offset, flags);
vma633mm/filemap.cstatic int filemap_sync(struct vm_area_struct * vma, unsigned long address,
vma642mm/filemap.cerror |= filemap_sync_pmd_range(dir, address, end - address, vma, flags);
vma646mm/filemap.cinvalidate_range(vma->vm_mm, end - size, end);
vma653mm/filemap.cstatic void filemap_unmap(struct vm_area_struct *vma, unsigned long start, size_t len)
vma655mm/filemap.cfilemap_sync(vma, start, len, MS_ASYNC);
vma696mm/filemap.cint generic_mmap(struct inode * inode, struct file * file, struct vm_area_struct * vma)
vma700mm/filemap.cif ((vma->vm_flags & VM_SHARED) && (vma->vm_flags & VM_MAYWRITE)) {
vma704mm/filemap.cif (vma->vm_offset & (PAGE_SIZE - 1))
vma708mm/filemap.cif (vma->vm_offset & (inode->i_sb->s_blocksize - 1))
vma719mm/filemap.cvma->vm_inode = inode;
vma721mm/filemap.cvma->vm_ops = ops;
vma730mm/filemap.cstatic int msync_interval(struct vm_area_struct * vma,
vma733mm/filemap.cif (!vma->vm_inode)
vma735mm/filemap.cif (vma->vm_ops->sync) {
vma737mm/filemap.cerror = vma->vm_ops->sync(vma, start, end-start, flags);
vma741mm/filemap.creturn file_fsync(vma->vm_inode, NULL);
vma750mm/filemap.cstruct vm_area_struct * vma;
vma767mm/filemap.cvma = find_vma(current, start);
vma771mm/filemap.cif (!vma)
vma774mm/filemap.cif (start < vma->vm_start) {
vma776mm/filemap.cstart = vma->vm_start;
vma779mm/filemap.cif (end <= vma->vm_end) {
vma781mm/filemap.cerror = msync_interval(vma, start, end, flags);
vma788mm/filemap.cerror = msync_interval(vma, start, vma->vm_end, flags);
vma791mm/filemap.cstart = vma->vm_end;
vma792mm/filemap.cvma = vma->vm_next;
vma287mm/memory.cstruct vm_area_struct *vma)
vma290mm/memory.cunsigned long address = vma->vm_start;
vma291mm/memory.cunsigned long end = vma->vm_end;
vma294mm/memory.ccow = (vma->vm_flags & (VM_SHARED | VM_WRITE)) == VM_WRITE;
vma304mm/memory.cinvalidate_range(src, vma->vm_start, vma->vm_end);
vma305mm/memory.cinvalidate_range(dst, vma->vm_start, vma->vm_end);
vma592mm/memory.cvoid do_wp_page(struct task_struct * tsk, struct vm_area_struct * vma,
vma601mm/memory.cpage_dir = pgd_offset(vma->vm_mm, address);
vma627mm/memory.c++vma->vm_mm->rss;
vma629mm/memory.cset_pte(page_table, pte_mkwrite(pte_mkdirty(mk_pte(new_page, vma->vm_page_prot))));
vma631mm/memory.cinvalidate_page(vma, address);
vma637mm/memory.cinvalidate_page(vma, address);
vma641mm/memory.cinvalidate_page(vma, address);
vma667mm/memory.cstruct vm_area_struct * vma;
vma677mm/memory.cvma = find_vma(current, start);
vma678mm/memory.cif (!vma)
vma680mm/memory.cif (vma->vm_start <= start)
vma682mm/memory.cif (!(vma->vm_flags & VM_GROWSDOWN))
vma684mm/memory.cif (expand_stack(vma, start))
vma692mm/memory.cif (!(vma->vm_flags & VM_READ))
vma694mm/memory.cif (vma->vm_end - start >= size)
vma696mm/memory.cnext = vma->vm_next;
vma697mm/memory.cif (!next || vma->vm_end != next->vm_start)
vma699mm/memory.cvma = next;
vma703mm/memory.cif (!(vma->vm_flags & VM_WRITE))
vma708mm/memory.cif (vma->vm_end - start >= size)
vma710mm/memory.cif (!vma->vm_next || vma->vm_end != vma->vm_next->vm_start)
vma712mm/memory.cvma = vma->vm_next;
vma713mm/memory.cif (!(vma->vm_flags & VM_WRITE))
vma725mm/memory.cdo_wp_page(current, vma, start, 1);
vma730mm/memory.cif (start < vma->vm_end)
vma732mm/memory.cvma = vma->vm_next;
vma733mm/memory.cif (!vma || vma->vm_start != start)
vma735mm/memory.cif (!(vma->vm_flags & VM_WRITE))
vma744mm/memory.cstatic inline void get_empty_page(struct task_struct * tsk, struct vm_area_struct * vma, pte_t * page_table)
vma753mm/memory.cput_page(page_table, pte_mkwrite(mk_pte(tmp, vma->vm_page_prot)));
vma759mm/memory.cstatic void partial_clear(struct vm_area_struct *vma, unsigned long address)
vma765mm/memory.cpage_dir = pgd_offset(vma->vm_mm, address);
vma857mm/memory.cstruct vm_area_struct * vma, unsigned long address,
vma862mm/memory.cif (!vma->vm_ops || !vma->vm_ops->swapin) {
vma863mm/memory.cswap_in(tsk, vma, page_table, pte_val(entry), write_access);
vma866mm/memory.cpage = vma->vm_ops->swapin(vma, address - vma->vm_start + vma->vm_offset, pte_val(entry));
vma871mm/memory.cif (mem_map[MAP_NR(pte_page(page))].count > 1 && !(vma->vm_flags & VM_SHARED))
vma873mm/memory.c++vma->vm_mm->rss;
vma885mm/memory.cvoid do_no_page(struct task_struct * tsk, struct vm_area_struct * vma,
vma899mm/memory.cdo_swap_page(tsk, vma, address, page_table, entry, write_access);
vma903mm/memory.cif (!vma->vm_ops || !vma->vm_ops->nopage) {
vma904mm/memory.c++vma->vm_mm->rss;
vma906mm/memory.cget_empty_page(tsk, vma, page_table);
vma910mm/memory.c++vma->vm_mm->rss;
vma916mm/memory.cpage = vma->vm_ops->nopage(vma, address, write_access && !(vma->vm_flags & VM_SHARED));
vma932mm/memory.centry = mk_pte(page, vma->vm_page_prot);
vma935mm/memory.c} else if (mem_map[MAP_NR(page)].count > 1 && !(vma->vm_flags & VM_SHARED))
vma953mm/memory.cstatic inline void handle_pte_fault(struct vm_area_struct * vma, unsigned long address,
vma957mm/memory.cdo_no_page(current, vma, address, write_access);
vma967mm/memory.cdo_wp_page(current, vma, address, write_access);
vma970mm/memory.cvoid handle_mm_fault(struct vm_area_struct * vma, unsigned long address,
vma977mm/memory.cpgd = pgd_offset(vma->vm_mm, address);
vma984mm/memory.chandle_pte_fault(vma, address, write_access, pte);
vma985mm/memory.cupdate_mmu_cache(vma, address, *pte);
vma20mm/mlock.cstatic inline int mlock_fixup_all(struct vm_area_struct * vma, int newflags)
vma22mm/mlock.cvma->vm_flags = newflags;
vma26mm/mlock.cstatic inline int mlock_fixup_start(struct vm_area_struct * vma,
vma34mm/mlock.c*n = *vma;
vma35mm/mlock.cvma->vm_start = end;
vma37mm/mlock.cvma->vm_offset += vma->vm_start - n->vm_start;
vma47mm/mlock.cstatic inline int mlock_fixup_end(struct vm_area_struct * vma,
vma55mm/mlock.c*n = *vma;
vma56mm/mlock.cvma->vm_end = start;
vma58mm/mlock.cn->vm_offset += n->vm_start - vma->vm_start;
vma68mm/mlock.cstatic inline int mlock_fixup_middle(struct vm_area_struct * vma,
vma81mm/mlock.c*left = *vma;
vma82mm/mlock.c*right = *vma;
vma84mm/mlock.cvma->vm_start = start;
vma85mm/mlock.cvma->vm_end = end;
vma87mm/mlock.cvma->vm_offset += vma->vm_start - left->vm_start;
vma89mm/mlock.cvma->vm_flags = newflags;
vma90mm/mlock.cif (vma->vm_inode)
vma91mm/mlock.cvma->vm_inode->i_count += 2;
vma92mm/mlock.cif (vma->vm_ops && vma->vm_ops->open) {
vma93mm/mlock.cvma->vm_ops->open(left);
vma94mm/mlock.cvma->vm_ops->open(right);
vma101mm/mlock.cstatic int mlock_fixup(struct vm_area_struct * vma, 
vma106mm/mlock.cif (newflags == vma->vm_flags)
vma113mm/mlock.cvma->vm_mm->locked_vm += pages;
vma115mm/mlock.cif (start == vma->vm_start) {
vma116mm/mlock.cif (end == vma->vm_end)
vma117mm/mlock.cretval = mlock_fixup_all(vma, newflags);
vma119mm/mlock.cretval = mlock_fixup_start(vma, end, newflags);
vma121mm/mlock.cif (end == vma->vm_end)
vma122mm/mlock.cretval = mlock_fixup_end(vma, start, newflags);
vma124mm/mlock.cretval = mlock_fixup_middle(vma, start, end, newflags);
vma139mm/mlock.cstruct vm_area_struct * vma, * next;
vma150mm/mlock.cvma = find_vma(current, start);
vma151mm/mlock.cif (!vma || vma->vm_start > start)
vma159mm/mlock.cnewflags = vma->vm_flags | VM_LOCKED;
vma163mm/mlock.cif (vma->vm_end >= end) {
vma164mm/mlock.cerror = mlock_fixup(vma, nstart, end, newflags);
vma168mm/mlock.ctmp = vma->vm_end;
vma169mm/mlock.cnext = vma->vm_next;
vma170mm/mlock.cerror = mlock_fixup(vma, nstart, tmp, newflags);
vma174mm/mlock.cvma = next;
vma175mm/mlock.cif (!vma || vma->vm_start != nstart) {
vma221mm/mlock.cstruct vm_area_struct * vma;
vma232mm/mlock.cfor (vma = current->mm->mmap; vma ; vma = vma->vm_next) {
vma235mm/mlock.cnewflags = vma->vm_flags | VM_LOCKED;
vma238mm/mlock.cerror = mlock_fixup(vma, vma->vm_start, vma->vm_end, newflags);
vma24mm/mmap.cstatic inline int anon_map(struct inode *ino, struct file * file, struct vm_area_struct * vma)
vma26mm/mmap.cif (zeromap_page_range(vma->vm_start, vma->vm_end - vma->vm_start, vma->vm_page_prot))
vma57mm/mmap.cstruct vm_area_struct * vma;
vma128mm/mmap.cvma = (struct vm_area_struct *)kmalloc(sizeof(struct vm_area_struct),
vma130mm/mmap.cif (!vma)
vma133mm/mmap.cvma->vm_mm = current->mm;
vma134mm/mmap.cvma->vm_start = addr;
vma135mm/mmap.cvma->vm_end = addr + len;
vma136mm/mmap.cvma->vm_flags = prot & (VM_READ | VM_WRITE | VM_EXEC);
vma137mm/mmap.cvma->vm_flags |= flags & (VM_GROWSDOWN | VM_DENYWRITE | VM_EXECUTABLE);
vma138mm/mmap.cvma->vm_flags |= current->mm->def_flags;
vma142mm/mmap.cvma->vm_flags |= VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC;
vma144mm/mmap.cvma->vm_flags |= VM_SHARED | VM_MAYSHARE;
vma156mm/mmap.cvma->vm_flags &= ~(VM_MAYWRITE | VM_SHARED);
vma159mm/mmap.cvma->vm_flags |= VM_MAYREAD | VM_MAYWRITE | VM_MAYEXEC;
vma160mm/mmap.cvma->vm_page_prot = protection_map[vma->vm_flags & 0x0f];
vma161mm/mmap.cvma->vm_ops = NULL;
vma162mm/mmap.cvma->vm_offset = off;
vma163mm/mmap.cvma->vm_inode = NULL;
vma164mm/mmap.cvma->vm_pte = 0;
vma169mm/mmap.cerror = file->f_op->mmap(file->f_inode, file, vma);
vma171mm/mmap.cerror = anon_map(NULL, NULL, vma);
vma174mm/mmap.ckfree(vma);
vma177mm/mmap.cinsert_vm_struct(current, vma);
vma178mm/mmap.cmerge_segments(current, vma->vm_start, vma->vm_end);
vma180mm/mmap.cif (vma->vm_flags & VM_LOCKED) {
vma181mm/mmap.cunsigned long start = vma->vm_start;
vma182mm/mmap.cunsigned long end = vma->vm_end;
vma490mm/mmap.cstatic void printk_list (struct vm_area_struct * vma)
vma493mm/mmap.cwhile (vma) {
vma494mm/mmap.cprintk("%08lX-%08lX", vma->vm_start, vma->vm_end);
vma495mm/mmap.cvma = vma->vm_next;
vma496mm/mmap.cif (!vma)
vma758mm/mmap.cstruct vm_area_struct * vma;
vma761mm/mmap.cfor (vma = mm->mmap; vma; vma = vma->vm_next)
vma762mm/mmap.cavl_insert(vma, &mm->mmap_avl);
vma87mm/mprotect.cstatic inline int mprotect_fixup_all(struct vm_area_struct * vma,
vma90mm/mprotect.cvma->vm_flags = newflags;
vma91mm/mprotect.cvma->vm_page_prot = prot;
vma95mm/mprotect.cstatic inline int mprotect_fixup_start(struct vm_area_struct * vma,
vma104mm/mprotect.c*n = *vma;
vma105mm/mprotect.cvma->vm_start = end;
vma107mm/mprotect.cvma->vm_offset += vma->vm_start - n->vm_start;
vma118mm/mprotect.cstatic inline int mprotect_fixup_end(struct vm_area_struct * vma,
vma127mm/mprotect.c*n = *vma;
vma128mm/mprotect.cvma->vm_end = start;
vma130mm/mprotect.cn->vm_offset += n->vm_start - vma->vm_start;
vma141mm/mprotect.cstatic inline int mprotect_fixup_middle(struct vm_area_struct * vma,
vma155mm/mprotect.c*left = *vma;
vma156mm/mprotect.c*right = *vma;
vma158mm/mprotect.cvma->vm_start = start;
vma159mm/mprotect.cvma->vm_end = end;
vma161mm/mprotect.cvma->vm_offset += vma->vm_start - left->vm_start;
vma163mm/mprotect.cvma->vm_flags = newflags;
vma164mm/mprotect.cvma->vm_page_prot = prot;
vma165mm/mprotect.cif (vma->vm_inode)
vma166mm/mprotect.cvma->vm_inode->i_count += 2;
vma167mm/mprotect.cif (vma->vm_ops && vma->vm_ops->open) {
vma168mm/mprotect.cvma->vm_ops->open(left);
vma169mm/mprotect.cvma->vm_ops->open(right);
vma176mm/mprotect.cstatic int mprotect_fixup(struct vm_area_struct * vma, 
vma182mm/mprotect.cif (newflags == vma->vm_flags)
vma185mm/mprotect.cif (start == vma->vm_start)
vma186mm/mprotect.cif (end == vma->vm_end)
vma187mm/mprotect.cerror = mprotect_fixup_all(vma, newflags, newprot);
vma189mm/mprotect.cerror = mprotect_fixup_start(vma, end, newflags, newprot);
vma190mm/mprotect.celse if (end == vma->vm_end)
vma191mm/mprotect.cerror = mprotect_fixup_end(vma, start, newflags, newprot);
vma193mm/mprotect.cerror = mprotect_fixup_middle(vma, start, end, newflags, newprot);
vma205mm/mprotect.cstruct vm_area_struct * vma, * next;
vma218mm/mprotect.cvma = find_vma(current, start);
vma219mm/mprotect.cif (!vma || vma->vm_start > start)
vma227mm/mprotect.cnewflags = prot | (vma->vm_flags & ~(PROT_READ | PROT_WRITE | PROT_EXEC));
vma233mm/mprotect.cif (vma->vm_end >= end) {
vma234mm/mprotect.cerror = mprotect_fixup(vma, nstart, end, newflags);
vma238mm/mprotect.ctmp = vma->vm_end;
vma239mm/mprotect.cnext = vma->vm_next;
vma240mm/mprotect.cerror = mprotect_fixup(vma, nstart, tmp, newflags);
vma244mm/mprotect.cvma = next;
vma245mm/mprotect.cif (!vma || vma->vm_start != nstart) {
vma274mm/page_alloc.cvoid swap_in(struct task_struct * tsk, struct vm_area_struct * vma,
vma294mm/page_alloc.cvma->vm_mm->rss++;
vma297mm/page_alloc.cset_pte(page_table, mk_pte(page, vma->vm_page_prot));
vma300mm/page_alloc.cset_pte(page_table, pte_mkwrite(pte_mkdirty(mk_pte(page, vma->vm_page_prot))));
vma127mm/swapfile.cstatic inline int unuse_pte(struct vm_area_struct * vma, unsigned long address,
vma153mm/swapfile.cset_pte(dir, pte_mkwrite(pte_mkdirty(mk_pte(page, vma->vm_page_prot))));
vma154mm/swapfile.c++vma->vm_mm->rss;
vma159mm/swapfile.cstatic inline int unuse_pmd(struct vm_area_struct * vma, pmd_t *dir,
vma180mm/swapfile.cif (unuse_pte(vma, offset+address-vma->vm_start, pte, type, page))
vma188mm/swapfile.cstatic inline int unuse_pgd(struct vm_area_struct * vma, pgd_t *dir,
vma209mm/swapfile.cif (unuse_pmd(vma, pmd, address, end - address, offset, type, page))
vma217mm/swapfile.cstatic int unuse_vma(struct vm_area_struct * vma, pgd_t *pgdir,
vma222mm/swapfile.cif (unuse_pgd(vma, pgdir, start, end - start, type, page))
vma232mm/swapfile.cstruct vm_area_struct* vma;
vma239mm/swapfile.cvma = p->mm->mmap;
vma240mm/swapfile.cwhile (vma) {
vma241mm/swapfile.cpgd_t * pgd = pgd_offset(p->mm, vma->vm_start);
vma242mm/swapfile.cif (unuse_vma(vma, pgd, vma->vm_start, vma->vm_end, type, page))
vma244mm/swapfile.cvma = vma->vm_next;
vma70mm/vmscan.cstatic inline int try_to_swap_out(struct task_struct * tsk, struct vm_area_struct* vma,
vma103mm/vmscan.cif (vma->vm_ops && vma->vm_ops->swapout) {
vma105mm/vmscan.cvma->vm_mm->rss--;
vma106mm/vmscan.cif (vma->vm_ops->swapout(vma, address - vma->vm_start + vma->vm_offset, page_table))
vma113mm/vmscan.cvma->vm_mm->rss--;
vma115mm/vmscan.cinvalidate_page(vma, address);
vma128mm/vmscan.cvma->vm_mm->rss--;
vma130mm/vmscan.cinvalidate_page(vma, address);
vma134mm/vmscan.cvma->vm_mm->rss--;
vma136mm/vmscan.cinvalidate_page(vma, address);
vma156mm/vmscan.cstatic inline int swap_out_pmd(struct task_struct * tsk, struct vm_area_struct * vma,
vma179mm/vmscan.cresult = try_to_swap_out(tsk, vma, address, pte, limit);
vma188mm/vmscan.cstatic inline int swap_out_pgd(struct task_struct * tsk, struct vm_area_struct * vma,
vma209mm/vmscan.cint result = swap_out_pmd(tsk, vma, pmd, address, end, limit);
vma218mm/vmscan.cstatic int swap_out_vma(struct task_struct * tsk, struct vm_area_struct * vma,
vma225mm/vmscan.cif (vma->vm_flags & (VM_SHM | VM_LOCKED))
vma228mm/vmscan.cend = vma->vm_end;
vma230mm/vmscan.cint result = swap_out_pgd(tsk, vma, pgdir, start, end, limit);
vma242mm/vmscan.cstruct vm_area_struct* vma;
vma253mm/vmscan.cvma = find_vma(p, address);
vma254mm/vmscan.cif (!vma)
vma256mm/vmscan.cif (address < vma->vm_start)
vma257mm/vmscan.caddress = vma->vm_start;
vma260mm/vmscan.cint result = swap_out_vma(p, vma, pgd_offset(p->mm, address), address, limit);
vma263mm/vmscan.cvma = vma->vm_next;
vma264mm/vmscan.cif (!vma)
vma266mm/vmscan.caddress = vma->vm_start;