/mm/ |
D | nommu.c | 669 if (region->vm_file) in __put_nommu_region() 670 fput(region->vm_file); in __put_nommu_region() 727 if (vma->vm_file) { in add_vma_to_mm() 728 mapping = vma->vm_file->f_mapping; in add_vma_to_mm() 798 if (vma->vm_file) { in delete_vma_from_mm() 799 mapping = vma->vm_file->f_mapping; in delete_vma_from_mm() 827 if (vma->vm_file) in delete_vma() 828 fput(vma->vm_file); in delete_vma() 1118 ret = vma->vm_file->f_op->mmap(vma->vm_file, vma); in do_mmap_shared_file() 1149 ret = vma->vm_file->f_op->mmap(vma->vm_file, vma); in do_mmap_private() [all …]
|
D | mmap.c | 270 struct file *file = vma->vm_file; in unlink_file_vma() 290 if (vma->vm_file) in remove_vma() 291 fput(vma->vm_file); in remove_vma() 671 file = vma->vm_file; in __vma_link_file() 701 if (vma->vm_file) { in vma_link() 702 mapping = vma->vm_file->f_mapping; in vma_link() 763 struct file *file = vma->vm_file; in vma_adjust() 968 if (vma->vm_file != file) in is_mergeable_vma() 1173 a->vm_file == b->vm_file && in anon_vma_compatible() 1589 return vma->vm_file && vma->vm_file->f_mapping && in vma_wants_writenotify() [all …]
|
D | mincore.c | 90 if (vma->vm_file) { in __mincore_unmapped_range() 95 vec[i] = mincore_page(vma->vm_file->f_mapping, pgoff); in __mincore_unmapped_range() 172 if (!vma->vm_file) in can_do_mincore() 180 return inode_owner_or_capable(file_inode(vma->vm_file)) || in can_do_mincore() 181 inode_permission(file_inode(vma->vm_file), MAY_WRITE) == 0; in can_do_mincore()
|
D | mremap.c | 121 if (vma->vm_file) { in move_ptes() 122 mapping = vma->vm_file->f_mapping; in move_ptes() 213 VM_BUG_ON_VMA(vma->vm_file || !vma->anon_vma, in move_page_tables() 332 vm_stat_account(mm, vma->vm_flags, vma->vm_file, new_len>>PAGE_SHIFT); in move_vma() 447 ret = get_unmapped_area(vma->vm_file, new_addr, new_len, vma->vm_pgoff + in mremap_to() 556 vm_stat_account(mm, vma->vm_flags, vma->vm_file, pages); in SYSCALL_DEFINE5() 577 new_addr = get_unmapped_area(vma->vm_file, 0, new_len, in SYSCALL_DEFINE5()
|
D | memory.c | 670 mapping = vma->vm_file ? vma->vm_file->f_mapping : NULL; in print_bad_pte() 686 vma->vm_file, in print_bad_pte() 688 vma->vm_file ? vma->vm_file->f_op->mmap : NULL, in print_bad_pte() 1318 if (vma->vm_file) in unmap_single_vma() 1337 if (vma->vm_file) { in unmap_single_vma() 1338 i_mmap_lock_write(vma->vm_file->f_mapping); in unmap_single_vma() 1340 i_mmap_unlock_write(vma->vm_file->f_mapping); in unmap_single_vma() 2026 struct file *vm_file = vma->vm_file; in __get_fault_gfp_mask() local 2028 if (vm_file) in __get_fault_gfp_mask() 2029 return mapping_gfp_mask(vm_file->f_mapping) | __GFP_FS | __GFP_IO; in __get_fault_gfp_mask() [all …]
|
D | madvise.c | 106 vma->vm_file, pgoff, vma_policy(vma), in madvise_behavior() 224 struct file *file = vma->vm_file; in madvise_willneed() 305 f = vma->vm_file; in madvise_remove()
|
D | mprotect.c | 345 vma->anon_vma, vma->vm_file, pgoff, vma_policy(vma), in mprotect_fixup() 387 vm_stat_account(mm, oldflags, vma->vm_file, -nrpages); in mprotect_fixup() 388 vm_stat_account(mm, newflags, vma->vm_file, nrpages); in mprotect_fixup()
|
D | msync.c | 80 file = vma->vm_file; in SYSCALL_DEFINE3()
|
D | hugetlb.c | 228 return subpool_inode(file_inode(vma->vm_file)); in subpool_vma() 766 struct address_space *mapping = vma->vm_file->f_mapping; in vma_resv_map() 3435 mapping = file_inode(vma->vm_file)->i_mapping; in unmap_ref_private() 3604 mapping = vma->vm_file->f_mapping; in hugetlbfs_pagecache_page() 3621 mapping = vma->vm_file->f_mapping; in hugetlbfs_pagecache_present() 3848 mapping = vma->vm_file->f_mapping; in hugetlb_fault() 4102 i_mmap_lock_write(vma->vm_file->f_mapping); in hugetlb_change_protection() 4157 i_mmap_unlock_write(vma->vm_file->f_mapping); in hugetlb_change_protection() 4392 struct address_space *mapping = vma->vm_file->f_mapping; in huge_pmd_share()
|
D | debug.c | 164 vma->vm_file, vma->vm_private_data); in dump_vma()
|
D | filemap.c | 1957 struct file *file = vma->vm_file; in filemap_fault() 2079 struct file *file = vma->vm_file; in filemap_map_pages() 2150 struct inode *inode = file_inode(vma->vm_file); in filemap_page_mkwrite() 2154 file_update_time(vma->vm_file); in filemap_page_mkwrite()
|
D | shmem.c | 1291 struct inode *inode = file_inode(vma->vm_file); in shmem_fault() 1367 struct inode *inode = file_inode(vma->vm_file); in shmem_set_policy() 1374 struct inode *inode = file_inode(vma->vm_file); in shmem_get_policy() 3416 if (vma->vm_file) in shmem_set_file() 3417 fput(vma->vm_file); in shmem_set_file() 3418 vma->vm_file = file; in shmem_set_file()
|
D | rmap.c | 729 if (!vma->vm_file || vma->vm_file->f_mapping != page->mapping) in page_address_in_vma()
|
D | mlock.c | 516 vma->vm_file, pgoff, vma_policy(vma), in mlock_fixup()
|
D | mempolicy.c | 672 vma->vm_ops, vma->vm_file, in vma_replace_policy() 726 vma->anon_vma, vma->vm_file, pgoff, in mbind_range()
|
D | memcontrol.c | 4600 if (!vma->vm_file) /* anonymous vma */ in mc_handle_file_pte() 4605 mapping = vma->vm_file->f_mapping; in mc_handle_file_pte()
|