tag | line | file | source code |
area | 26 | fs/msdos/mmap.c | struct vm_area_struct * area, |
area | 31 | fs/msdos/mmap.c | struct inode * inode = area->vm_inode; |
area | 37 | fs/msdos/mmap.c | pos = address - area->vm_start + area->vm_offset; |
area | 29 | fs/nfs/mmap.c | static unsigned long nfs_file_mmap_nopage(struct vm_area_struct * area, |
area | 32 | fs/nfs/mmap.c | struct inode * inode = area->vm_inode; |
area | 41 | fs/nfs/mmap.c | pos = address - area->vm_start + area->vm_offset; |
area | 44 | fs/nfs/mmap.c | if (address + PAGE_SIZE > area->vm_end) { |
area | 45 | fs/nfs/mmap.c | clear = address + PAGE_SIZE - area->vm_end; |
area | 78 | include/linux/mm.h | void (*open)(struct vm_area_struct * area); |
area | 79 | include/linux/mm.h | void (*close)(struct vm_area_struct * area); |
area | 80 | include/linux/mm.h | void (*unmap)(struct vm_area_struct *area, unsigned long, size_t); |
area | 81 | include/linux/mm.h | void (*protect)(struct vm_area_struct *area, unsigned long, size_t, unsigned int newprot); |
area | 82 | include/linux/mm.h | void (*sync)(struct vm_area_struct *area, unsigned long, size_t, unsigned int flags); |
area | 83 | include/linux/mm.h | void (*advise)(struct vm_area_struct *area, unsigned long, size_t, unsigned int advise); |
area | 84 | include/linux/mm.h | unsigned long (*nopage)(struct vm_area_struct * area, unsigned long address, |
area | 86 | include/linux/mm.h | unsigned long (*wppage)(struct vm_area_struct * area, unsigned long address, |
area | 30 | mm/filemap.c | static unsigned long file_mmap_nopage(struct vm_area_struct * area, unsigned long address, |
area | 33 | mm/filemap.c | struct inode * inode = area->vm_inode; |
area | 39 | mm/filemap.c | block = address - area->vm_start + area->vm_offset; |
area | 804 | mm/memory.c | static int share_page(struct vm_area_struct * area, unsigned long address, |
area | 813 | mm/memory.c | if (!area || !(inode = area->vm_inode) || inode->i_count < 2) |
area | 817 | mm/memory.c | if ((area->vm_page_prot & PAGE_COW) && (error_code & PAGE_RW)) { |
area | 822 | mm/memory.c | offset = address - area->vm_start + area->vm_offset; |
area | 825 | mm/memory.c | for (mpnt = area->vm_next_share; mpnt != area; mpnt = mpnt->vm_next_share) { |
area | 832 | mm/memory.c | if ((mpnt->vm_offset ^ area->vm_offset) & ~PAGE_MASK) |
area | 839 | mm/memory.c | if (!try_to_share(address, area, from_address, mpnt, give_page)) |
area | 220 | mm/mmap.c | void unmap_fixup(struct vm_area_struct *area, |
area | 226 | mm/mmap.c | if (addr < area->vm_start || addr >= area->vm_end || |
area | 227 | mm/mmap.c | end <= area->vm_start || end > area->vm_end || |
area | 231 | mm/mmap.c | area->vm_start, area->vm_end, addr, end); |
area | 236 | mm/mmap.c | if (addr == area->vm_start && end == area->vm_end) { |
area | 237 | mm/mmap.c | if (area->vm_ops && area->vm_ops->close) |
area | 238 | mm/mmap.c | area->vm_ops->close(area); |
area | 239 | mm/mmap.c | if (area->vm_inode) |
area | 240 | mm/mmap.c | iput(area->vm_inode); |
area | 245 | mm/mmap.c | if (addr >= area->vm_start && end == area->vm_end) |
area | 246 | mm/mmap.c | area->vm_end = addr; |
area | 247 | mm/mmap.c | if (addr == area->vm_start && end <= area->vm_end) { |
area | 248 | mm/mmap.c | area->vm_offset += (end - area->vm_start); |
area | 249 | mm/mmap.c | area->vm_start = end; |
area | 253 | mm/mmap.c | if (addr > area->vm_start && end < area->vm_end) |
area | 260 | mm/mmap.c | *mpnt = *area; |
area | 261 | mm/mmap.c | mpnt->vm_offset += (end - area->vm_start); |
area | 267 | mm/mmap.c | area->vm_end = addr; /* Truncate area */ |
area | 275 | mm/mmap.c | *mpnt = *area; |
area | 278 | mm/mmap.c | if (area->vm_ops && area->vm_ops->close) { |
area | 279 | mm/mmap.c | area->vm_end = area->vm_start; |
area | 280 | mm/mmap.c | area->vm_ops->close(area); |
area | 152 | mm/vmalloc.c | struct vm_struct **p, *tmp, *area; |
area | 157 | mm/vmalloc.c | area = (struct vm_struct *) kmalloc(sizeof(*area), GFP_KERNEL); |
area | 158 | mm/vmalloc.c | if (!area) |
area | 161 | mm/vmalloc.c | area->size = size + PAGE_SIZE; |
area | 162 | mm/vmalloc.c | area->next = NULL; |
area | 168 | mm/vmalloc.c | area->addr = addr; |
area | 169 | mm/vmalloc.c | area->next = *p; |
area | 170 | mm/vmalloc.c | *p = area; |