tag | line | file | source code |
area | 30 | fs/msdos/mmap.c | struct vm_area_struct * area, |
area | 35 | fs/msdos/mmap.c | struct inode * inode = area->vm_inode; |
area | 41 | fs/msdos/mmap.c | pos = address - area->vm_start + area->vm_offset; |
area | 33 | fs/nfs/mmap.c | static unsigned long nfs_file_mmap_nopage(struct vm_area_struct * area, |
area | 36 | fs/nfs/mmap.c | struct inode * inode = area->vm_inode; |
area | 45 | fs/nfs/mmap.c | pos = address - area->vm_start + area->vm_offset; |
area | 48 | fs/nfs/mmap.c | if (address + PAGE_SIZE > area->vm_end) { |
area | 49 | fs/nfs/mmap.c | clear = address + PAGE_SIZE - area->vm_end; |
area | 33 | fs/smbfs/mmap.c | smb_file_mmap_nopage(struct vm_area_struct * area, |
area | 36 | fs/smbfs/mmap.c | struct inode * inode = area->vm_inode; |
area | 44 | fs/smbfs/mmap.c | pos = address - area->vm_start + area->vm_offset; |
area | 47 | fs/smbfs/mmap.c | if (address + PAGE_SIZE > area->vm_end) { |
area | 48 | fs/smbfs/mmap.c | clear = address + PAGE_SIZE - area->vm_end; |
area | 94 | include/linux/mm.h | void (*open)(struct vm_area_struct * area); |
area | 95 | include/linux/mm.h | void (*close)(struct vm_area_struct * area); |
area | 96 | include/linux/mm.h | void (*unmap)(struct vm_area_struct *area, unsigned long, size_t); |
area | 97 | include/linux/mm.h | void (*protect)(struct vm_area_struct *area, unsigned long, size_t, unsigned int newprot); |
area | 98 | include/linux/mm.h | void (*sync)(struct vm_area_struct *area, unsigned long, size_t, unsigned int flags); |
area | 99 | include/linux/mm.h | void (*advise)(struct vm_area_struct *area, unsigned long, size_t, unsigned int advise); |
area | 100 | include/linux/mm.h | unsigned long (*nopage)(struct vm_area_struct * area, unsigned long address, |
area | 102 | include/linux/mm.h | unsigned long (*wppage)(struct vm_area_struct * area, unsigned long address, |
area | 43 | mm/filemap.c | static unsigned long filemap_nopage(struct vm_area_struct * area, unsigned long address, |
area | 46 | mm/filemap.c | struct inode * inode = area->vm_inode; |
area | 49 | mm/filemap.c | multi_bmap(inode, (address & PAGE_MASK) - area->vm_start + area->vm_offset, nr, |
area | 908 | mm/memory.c | static int share_page(struct vm_area_struct * area, unsigned long address, |
area | 917 | mm/memory.c | if (!area || !(inode = area->vm_inode) || inode->i_count < 2) |
area | 921 | mm/memory.c | if (write_access && !(area->vm_flags & VM_SHARED)) { |
area | 926 | mm/memory.c | offset = address - area->vm_start + area->vm_offset; |
area | 929 | mm/memory.c | for (mpnt = area->vm_next_share; mpnt != area; mpnt = mpnt->vm_next_share) { |
area | 936 | mm/memory.c | if ((mpnt->vm_offset ^ area->vm_offset) & ~PAGE_MASK) |
area | 943 | mm/memory.c | if (!try_to_share(address, area, from_address, mpnt, give_page)) |
area | 635 | mm/mmap.c | void unmap_fixup(struct vm_area_struct *area, |
area | 641 | mm/mmap.c | if (addr < area->vm_start || addr >= area->vm_end || |
area | 642 | mm/mmap.c | end <= area->vm_start || end > area->vm_end || |
area | 646 | mm/mmap.c | area->vm_start, area->vm_end, addr, end); |
area | 651 | mm/mmap.c | if (addr == area->vm_start && end == area->vm_end) { |
area | 652 | mm/mmap.c | if (area->vm_ops && area->vm_ops->close) |
area | 653 | mm/mmap.c | area->vm_ops->close(area); |
area | 654 | mm/mmap.c | if (area->vm_inode) |
area | 655 | mm/mmap.c | iput(area->vm_inode); |
area | 660 | mm/mmap.c | if (end == area->vm_end) |
area | 661 | mm/mmap.c | area->vm_end = addr; |
area | 663 | mm/mmap.c | if (addr == area->vm_start) { |
area | 664 | mm/mmap.c | area->vm_offset += (end - area->vm_start); |
area | 665 | mm/mmap.c | area->vm_start = end; |
area | 674 | mm/mmap.c | *mpnt = *area; |
area | 675 | mm/mmap.c | mpnt->vm_offset += (end - area->vm_start); |
area | 681 | mm/mmap.c | area->vm_end = addr; /* Truncate area */ |
area | 689 | mm/mmap.c | *mpnt = *area; |
area | 692 | mm/mmap.c | if (area->vm_ops && area->vm_ops->close) { |
area | 693 | mm/mmap.c | area->vm_end = area->vm_start; |
area | 694 | mm/mmap.c | area->vm_ops->close(area); |
area | 234 | mm/vmalloc.c | struct vm_struct **p, *tmp, *area; |
area | 236 | mm/vmalloc.c | area = (struct vm_struct *) kmalloc(sizeof(*area), GFP_KERNEL); |
area | 237 | mm/vmalloc.c | if (!area) |
area | 240 | mm/vmalloc.c | area->size = size + PAGE_SIZE; |
area | 241 | mm/vmalloc.c | area->next = NULL; |
area | 247 | mm/vmalloc.c | area->addr = addr; |
area | 248 | mm/vmalloc.c | area->next = *p; |
area | 249 | mm/vmalloc.c | *p = area; |
area | 250 | mm/vmalloc.c | return area; |
area | 277 | mm/vmalloc.c | struct vm_struct *area; |
area | 282 | mm/vmalloc.c | area = get_vm_area(size); |
area | 283 | mm/vmalloc.c | if (!area) |
area | 285 | mm/vmalloc.c | addr = area->addr; |
area | 301 | mm/vmalloc.c | struct vm_struct * area; |
area | 310 | mm/vmalloc.c | area = get_vm_area(size); |
area | 311 | mm/vmalloc.c | if (!area) |
area | 313 | mm/vmalloc.c | addr = area->addr; |