taglinefilesource code
area26fs/msdos/mmap.cstruct vm_area_struct * area,
area31fs/msdos/mmap.cstruct inode * inode = area->vm_inode;
area37fs/msdos/mmap.cpos = address - area->vm_start + area->vm_offset;
area29fs/nfs/mmap.cstatic unsigned long nfs_file_mmap_nopage(struct vm_area_struct * area,
area32fs/nfs/mmap.cstruct inode * inode = area->vm_inode;
area41fs/nfs/mmap.cpos = address - area->vm_start + area->vm_offset;
area44fs/nfs/mmap.cif (address + PAGE_SIZE > area->vm_end) {
area45fs/nfs/mmap.cclear = address + PAGE_SIZE - area->vm_end;
area78include/linux/mm.hvoid (*open)(struct vm_area_struct * area);
area79include/linux/mm.hvoid (*close)(struct vm_area_struct * area);
area80include/linux/mm.hvoid (*unmap)(struct vm_area_struct *area, unsigned long, size_t);
area81include/linux/mm.hvoid (*protect)(struct vm_area_struct *area, unsigned long, size_t, unsigned int newprot);
area82include/linux/mm.hvoid (*sync)(struct vm_area_struct *area, unsigned long, size_t, unsigned int flags);
area83include/linux/mm.hvoid (*advise)(struct vm_area_struct *area, unsigned long, size_t, unsigned int advise);
area84include/linux/mm.hunsigned long (*nopage)(struct vm_area_struct * area, unsigned long address,
area86include/linux/mm.hunsigned long (*wppage)(struct vm_area_struct * area, unsigned long address,
area30mm/filemap.cstatic unsigned long file_mmap_nopage(struct vm_area_struct * area, unsigned long address,
area33mm/filemap.cstruct inode * inode = area->vm_inode;
area39mm/filemap.cblock = address - area->vm_start + area->vm_offset;
area804mm/memory.cstatic int share_page(struct vm_area_struct * area, unsigned long address,
area813mm/memory.cif (!area || !(inode = area->vm_inode) || inode->i_count < 2)
area817mm/memory.cif ((area->vm_page_prot & PAGE_COW) && (error_code & PAGE_RW)) {
area822mm/memory.coffset = address - area->vm_start + area->vm_offset;
area825mm/memory.cfor (mpnt = area->vm_next_share; mpnt != area; mpnt = mpnt->vm_next_share) {
area832mm/memory.cif ((mpnt->vm_offset ^ area->vm_offset) & ~PAGE_MASK)
area839mm/memory.cif (!try_to_share(address, area, from_address, mpnt, give_page))
area220mm/mmap.cvoid unmap_fixup(struct vm_area_struct *area,
area226mm/mmap.cif (addr < area->vm_start || addr >= area->vm_end ||
area227mm/mmap.cend <= area->vm_start || end > area->vm_end ||
area231mm/mmap.carea->vm_start, area->vm_end, addr, end);
area236mm/mmap.cif (addr == area->vm_start && end == area->vm_end) {
area237mm/mmap.cif (area->vm_ops && area->vm_ops->close)
area238mm/mmap.carea->vm_ops->close(area);
area239mm/mmap.cif (area->vm_inode)
area240mm/mmap.ciput(area->vm_inode);
area245mm/mmap.cif (addr >= area->vm_start && end == area->vm_end)
area246mm/mmap.carea->vm_end = addr;
area247mm/mmap.cif (addr == area->vm_start && end <= area->vm_end) {
area248mm/mmap.carea->vm_offset += (end - area->vm_start);
area249mm/mmap.carea->vm_start = end;
area253mm/mmap.cif (addr > area->vm_start && end < area->vm_end)
area260mm/mmap.c*mpnt = *area;
area261mm/mmap.cmpnt->vm_offset += (end - area->vm_start);
area267mm/mmap.carea->vm_end = addr;  /* Truncate area */
area275mm/mmap.c*mpnt = *area;
area278mm/mmap.cif (area->vm_ops && area->vm_ops->close) {
area279mm/mmap.carea->vm_end = area->vm_start;
area280mm/mmap.carea->vm_ops->close(area);
area152mm/vmalloc.cstruct vm_struct **p, *tmp, *area;
area157mm/vmalloc.carea = (struct vm_struct *) kmalloc(sizeof(*area), GFP_KERNEL);
area158mm/vmalloc.cif (!area)
area161mm/vmalloc.carea->size = size + PAGE_SIZE;
area162mm/vmalloc.carea->next = NULL;
area168mm/vmalloc.carea->addr = addr;
area169mm/vmalloc.carea->next = *p;
area170mm/vmalloc.c*p = area;