tag | line | file | source code |
area | 28 | fs/msdos/mmap.c | struct vm_area_struct * area, |
area | 32 | fs/msdos/mmap.c | struct inode * inode = area->vm_inode; |
area | 42 | fs/msdos/mmap.c | pos = address - area->vm_start + area->vm_offset; |
area | 33 | fs/ncpfs/mmap.c | ncp_file_mmap_nopage(struct vm_area_struct * area, |
area | 36 | fs/ncpfs/mmap.c | struct inode * inode = area->vm_inode; |
area | 48 | fs/ncpfs/mmap.c | pos = address - area->vm_start + area->vm_offset; |
area | 51 | fs/ncpfs/mmap.c | if (address + PAGE_SIZE > area->vm_end) |
area | 53 | fs/ncpfs/mmap.c | clear = address + PAGE_SIZE - area->vm_end; |
area | 31 | fs/nfs/mmap.c | static unsigned long nfs_file_mmap_nopage(struct vm_area_struct * area, |
area | 34 | fs/nfs/mmap.c | struct inode * inode = area->vm_inode; |
area | 47 | fs/nfs/mmap.c | pos = address - area->vm_start + area->vm_offset; |
area | 50 | fs/nfs/mmap.c | if (address + PAGE_SIZE > area->vm_end) { |
area | 51 | fs/nfs/mmap.c | clear = address + PAGE_SIZE - area->vm_end; |
area | 27 | fs/smbfs/mmap.c | smb_file_mmap_nopage(struct vm_area_struct * area, |
area | 30 | fs/smbfs/mmap.c | struct inode * inode = area->vm_inode; |
area | 42 | fs/smbfs/mmap.c | pos = address - area->vm_start + area->vm_offset; |
area | 45 | fs/smbfs/mmap.c | if (address + PAGE_SIZE > area->vm_end) { |
area | 46 | fs/smbfs/mmap.c | clear = address + PAGE_SIZE - area->vm_end; |
area | 95 | include/linux/mm.h | void (*open)(struct vm_area_struct * area); |
area | 96 | include/linux/mm.h | void (*close)(struct vm_area_struct * area); |
area | 97 | include/linux/mm.h | void (*unmap)(struct vm_area_struct *area, unsigned long, size_t); |
area | 98 | include/linux/mm.h | void (*protect)(struct vm_area_struct *area, unsigned long, size_t, unsigned int newprot); |
area | 99 | include/linux/mm.h | int (*sync)(struct vm_area_struct *area, unsigned long, size_t, unsigned int flags); |
area | 100 | include/linux/mm.h | void (*advise)(struct vm_area_struct *area, unsigned long, size_t, unsigned int advise); |
area | 101 | include/linux/mm.h | unsigned long (*nopage)(struct vm_area_struct * area, unsigned long address, int write_access); |
area | 102 | include/linux/mm.h | unsigned long (*wppage)(struct vm_area_struct * area, unsigned long address, |
area | 416 | mm/filemap.c | static unsigned long filemap_nopage(struct vm_area_struct * area, unsigned long address, int no_share) |
area | 419 | mm/filemap.c | struct inode * inode = area->vm_inode; |
area | 422 | mm/filemap.c | offset = (address & PAGE_MASK) - area->vm_start + area->vm_offset; |
area | 423 | mm/filemap.c | if (offset >= inode->i_size && (area->vm_flags & VM_SHARED) && area->vm_mm == current->mm) |
area | 613 | mm/mmap.c | static void unmap_fixup(struct vm_area_struct *area, |
area | 619 | mm/mmap.c | if (addr < area->vm_start || addr >= area->vm_end || |
area | 620 | mm/mmap.c | end <= area->vm_start || end > area->vm_end || |
area | 624 | mm/mmap.c | area->vm_start, area->vm_end, addr, end); |
area | 627 | mm/mmap.c | area->vm_mm->total_vm -= len >> PAGE_SHIFT; |
area | 628 | mm/mmap.c | if (area->vm_flags & VM_LOCKED) |
area | 629 | mm/mmap.c | area->vm_mm->locked_vm -= len >> PAGE_SHIFT; |
area | 632 | mm/mmap.c | if (addr == area->vm_start && end == area->vm_end) { |
area | 633 | mm/mmap.c | if (area->vm_ops && area->vm_ops->close) |
area | 634 | mm/mmap.c | area->vm_ops->close(area); |
area | 635 | mm/mmap.c | if (area->vm_inode) |
area | 636 | mm/mmap.c | iput(area->vm_inode); |
area | 641 | mm/mmap.c | if (end == area->vm_end) |
area | 642 | mm/mmap.c | area->vm_end = addr; |
area | 644 | mm/mmap.c | if (addr == area->vm_start) { |
area | 645 | mm/mmap.c | area->vm_offset += (end - area->vm_start); |
area | 646 | mm/mmap.c | area->vm_start = end; |
area | 655 | mm/mmap.c | *mpnt = *area; |
area | 656 | mm/mmap.c | mpnt->vm_offset += (end - area->vm_start); |
area | 662 | mm/mmap.c | area->vm_end = addr; /* Truncate area */ |
area | 670 | mm/mmap.c | *mpnt = *area; |
area | 673 | mm/mmap.c | if (area->vm_ops && area->vm_ops->close) { |
area | 674 | mm/mmap.c | area->vm_end = area->vm_start; |
area | 675 | mm/mmap.c | area->vm_ops->close(area); |
area | 237 | mm/vmalloc.c | struct vm_struct **p, *tmp, *area; |
area | 239 | mm/vmalloc.c | area = (struct vm_struct *) kmalloc(sizeof(*area), GFP_KERNEL); |
area | 240 | mm/vmalloc.c | if (!area) |
area | 243 | mm/vmalloc.c | area->size = size + PAGE_SIZE; |
area | 244 | mm/vmalloc.c | area->next = NULL; |
area | 250 | mm/vmalloc.c | area->addr = addr; |
area | 251 | mm/vmalloc.c | area->next = *p; |
area | 252 | mm/vmalloc.c | *p = area; |
area | 253 | mm/vmalloc.c | return area; |
area | 280 | mm/vmalloc.c | struct vm_struct *area; |
area | 285 | mm/vmalloc.c | area = get_vm_area(size); |
area | 286 | mm/vmalloc.c | if (!area) |
area | 288 | mm/vmalloc.c | addr = area->addr; |
area | 304 | mm/vmalloc.c | struct vm_struct * area; |
area | 313 | mm/vmalloc.c | area = get_vm_area(size); |
area | 314 | mm/vmalloc.c | if (!area) |
area | 316 | mm/vmalloc.c | addr = area->addr; |