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 | 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 | 32 | mm/filemap.c | static unsigned long filemap_nopage(struct vm_area_struct * area, unsigned long address, |
area | 35 | mm/filemap.c | struct inode * inode = area->vm_inode; |
area | 41 | mm/filemap.c | block = address - area->vm_start + area->vm_offset; |
area | 921 | mm/memory.c | static int share_page(struct vm_area_struct * area, unsigned long address, |
area | 930 | mm/memory.c | if (!area || !(inode = area->vm_inode) || inode->i_count < 2) |
area | 934 | mm/memory.c | if (write_access && !(area->vm_flags & VM_SHARED)) { |
area | 939 | mm/memory.c | offset = address - area->vm_start + area->vm_offset; |
area | 942 | mm/memory.c | for (mpnt = area->vm_next_share; mpnt != area; mpnt = mpnt->vm_next_share) { |
area | 949 | mm/memory.c | if ((mpnt->vm_offset ^ area->vm_offset) & ~PAGE_MASK) |
area | 956 | mm/memory.c | if (!try_to_share(address, area, from_address, mpnt, give_page)) |
area | 650 | mm/mmap.c | void unmap_fixup(struct vm_area_struct *area, |
area | 656 | mm/mmap.c | if (addr < area->vm_start || addr >= area->vm_end || |
area | 657 | mm/mmap.c | end <= area->vm_start || end > area->vm_end || |
area | 661 | mm/mmap.c | area->vm_start, area->vm_end, addr, end); |
area | 666 | mm/mmap.c | if (addr == area->vm_start && end == area->vm_end) { |
area | 667 | mm/mmap.c | if (area->vm_ops && area->vm_ops->close) |
area | 668 | mm/mmap.c | area->vm_ops->close(area); |
area | 669 | mm/mmap.c | if (area->vm_inode) |
area | 670 | mm/mmap.c | iput(area->vm_inode); |
area | 675 | mm/mmap.c | if (end == area->vm_end) |
area | 676 | mm/mmap.c | area->vm_end = addr; |
area | 678 | mm/mmap.c | if (addr == area->vm_start) { |
area | 679 | mm/mmap.c | area->vm_offset += (end - area->vm_start); |
area | 680 | mm/mmap.c | area->vm_start = end; |
area | 689 | mm/mmap.c | *mpnt = *area; |
area | 690 | mm/mmap.c | mpnt->vm_offset += (end - area->vm_start); |
area | 696 | mm/mmap.c | area->vm_end = addr; /* Truncate area */ |
area | 704 | mm/mmap.c | *mpnt = *area; |
area | 707 | mm/mmap.c | if (area->vm_ops && area->vm_ops->close) { |
area | 708 | mm/mmap.c | area->vm_end = area->vm_start; |
area | 709 | mm/mmap.c | area->vm_ops->close(area); |
area | 195 | mm/vmalloc.c | struct vm_struct **p, *tmp, *area; |
area | 200 | mm/vmalloc.c | area = (struct vm_struct *) kmalloc(sizeof(*area), GFP_KERNEL); |
area | 201 | mm/vmalloc.c | if (!area) |
area | 204 | mm/vmalloc.c | area->size = size + PAGE_SIZE; |
area | 205 | mm/vmalloc.c | area->next = NULL; |
area | 211 | mm/vmalloc.c | area->addr = addr; |
area | 212 | mm/vmalloc.c | area->next = *p; |
area | 213 | mm/vmalloc.c | *p = area; |