| /linux/arch/powerpc/mm/book3s64/ |
| H A D | radix_hugetlbpage.c | 13 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_page() 22 struct hstate *hstate = hstate_file(vma->vm_file); in radix__local_flush_hugetlb_page() 32 struct hstate *hstate = hstate_file(vma->vm_file); in radix__flush_hugetlb_tlb_range()
|
| /linux/mm/ |
| H A D | vma_init.c | 54 dest->vm_file = src->vm_file; in vm_area_init_from() 133 ASSERT_EXCLUSIVE_WRITER(orig->vm_file); in vm_area_dup()
|
| H A D | msync.c | 88 file = vma->vm_file; in SYSCALL_DEFINE3()
|
| H A D | memory.c | 596 mapping = vma->vm_file ? vma->vm_file->f_mapping : NULL; in print_bad_page_map() 607 vma->vm_file, in print_bad_page_map() 609 vma->vm_file ? vma->vm_file->f_op->mmap : NULL, in print_bad_page_map() 610 vma->vm_file ? vma->vm_file->f_op->mmap_prepare : NULL, in print_bad_page_map() 2153 if (vma->vm_file && !reaping) 2161 * vm_file will be NULL when we fail early while instantiating in unmap_vmas() 2165 if (!vma->vm_file) in unmap_vmas() 3655 struct file *vm_file = vma->vm_file; __get_fault_gfp_mask() local [all...] |
| H A D | debug.c | 167 vma->vm_file, vma->vm_private_data, in dump_vma()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | find_vma.c | 26 if (vma->vm_file) in check_vma() 28 vma->vm_file->f_path.dentry->d_shortname.string); in check_vma()
|
| /linux/fs/proc/ |
| H A D | nommu.c | 39 file = region->vm_file; in nommu_region_show() 42 struct inode *inode = file_inode(region->vm_file); in nommu_region_show()
|
| H A D | task_nommu.c | 137 file = vma->vm_file; in nommu_vma_show() 140 struct inode *inode = file_inode(vma->vm_file); in nommu_vma_show()
|
| /linux/lib/ |
| H A D | buildid.c | 331 if (!vma->vm_file) in build_id_parse_nofault() 334 return __build_id_parse(vma->vm_file, build_id, size, false /* !may_fault */); in build_id_parse_nofault() 350 if (!vma->vm_file) in build_id_parse() 353 return __build_id_parse(vma->vm_file, build_id, size, true /* may_fault */); in build_id_parse()
|
| /linux/kernel/events/ |
| H A D | uprobes.c | 142 return vma->vm_file && (vma->vm_flags & flags) == VM_MAYEXEC; in valid_vma() 287 vma->vm_file && in valid_ref_ctr_vma() 288 file_inode(vma->vm_file) == uprobe->inode && in valid_ref_ctr_vma() 389 struct folio *orig_folio = filemap_get_folio(vma->vm_file->f_mapping, in orig_page_is_identical() 1161 ret = prepare_uprobe(uprobe, vma->vm_file, mm, vaddr); in install_breakpoint() 1308 file_inode(vma->vm_file) != uprobe->inode) in register_for_each_vma() 1485 file_inode(vma->vm_file) != uprobe->inode) in unapply_uprobe() 1609 if (vma->vm_file && in uprobe_mmap() 1617 inode = file_inode(vma->vm_file); in uprobe_mmap() 1648 inode = file_inode(vma->vm_file); in vma_has_uprobes() 2427 struct file *vm_file; find_active_uprobe_speculative() local [all...] |
| /linux/arch/arc/kernel/ |
| H A D | troubleshoot.c | 95 if (vma->vm_file) { in show_faulting_vma() 97 nm = d_path(file_user_path(vma->vm_file), buf, in show_faulting_vma()
|
| /linux/fs/coda/ |
| H A D | file.c | 166 if (WARN_ON(coda_file != vma->vm_file)) in coda_file_mmap() 201 vma->vm_file = get_file(host_file); in coda_file_mmap() 202 ret = vfs_mmap(vma->vm_file, vma); in coda_file_mmap()
|
| /linux/kernel/bpf/ |
| H A D | task_iter.c | 922 kit->data->snapshot.vm_file = NULL; in bpf_iter_task_vma_new() 986 if (snap->vm_file) { in bpf_iter_task_vma_snapshot_reset() 987 fput(snap->vm_file); in bpf_iter_task_vma_snapshot_reset() 988 snap->vm_file = NULL; in bpf_iter_task_vma_snapshot_reset() 1017 if (snap->vm_file) in bpf_iter_task_vma_next() 1018 get_file(snap->vm_file); in bpf_iter_task_vma_next()
|
| H A D | arena.c | 466 struct bpf_map *map = vma->vm_file->private_data; in arena_vm_close() 481 struct bpf_map *map = vmf->vma->vm_file->private_data; in arena_vm_fault() 836 vma->vm_file && vma->vm_file->private_data == &arena->map) in zap_pages()
|
| /linux/security/integrity/ima/ |
| H A D | ima_main.c | 558 if (!(ima_policy_flag & IMA_APPRAISE) || !vma->vm_file || in ima_file_mprotect() 563 inode = file_inode(vma->vm_file); in ima_file_mprotect() 564 action = ima_get_action(file_mnt_idmap(vma->vm_file), inode, in ima_file_mprotect() 567 action |= ima_get_action(file_mnt_idmap(vma->vm_file), inode, in ima_file_mprotect() 579 file = vma->vm_file; in ima_file_mprotect()
|
| /linux/fs/afs/ |
| H A D | file.c | 535 struct file *file = vma->vm_file; in afs_vm_open() 543 struct file *file = vma->vm_file; in afs_vm_close() 551 struct file *file = vmf->vma->vm_file; in afs_vm_map_pages()
|
| H A D | write.c | 275 struct file *file = vmf->vma->vm_file; in afs_page_mkwrite()
|
| /linux/arch/powerpc/mm/ |
| H A D | cacheflush.c | 206 if (!vma->vm_file && ((vma->vm_flags & VM_EXEC) == 0)) in copy_user_page()
|
| /linux/arch/powerpc/mm/nohash/ |
| H A D | e500_hugetlbpage.c | 189 struct hstate *hstate = hstate_file(vma->vm_file); in flush_hugetlb_page()
|
| /linux/tools/testing/vma/include/ |
| H A D | dup.h | 521 struct file *file; /* May vary from vm_file in stacked callers. */ 527 struct file *vm_file; 595 unsigned long vm_pgoff; /* Offset (within vm_file) in PAGE_SIZE 597 struct file * vm_file; /* File we map to (can be NULL). */ 1299 desc->vm_file = vma->vm_file; in compat_set_desc_from_vma() 1540 swap(vma->vm_file, file); in get_sysctl_max_map_count() 536 struct file *vm_file; global() member 606 struct file * vm_file; /* File we map to (can be NULL). */ global() member
|
| /linux/security/ipe/ |
| H A D | hooks.c | 118 ipe_build_eval_ctx(&ctx, vma->vm_file, IPE_OP_EXEC, IPE_HOOK_MPROTECT); in ipe_file_mprotect()
|
| /linux/virt/kvm/ |
| H A D | guest_memfd.c | 360 struct inode *inode = file_inode(vmf->vma->vm_file); in kvm_gmem_release() 402 struct inode *inode = file_inode(vma->vm_file); in kvm_gmem_fault_user_mapping() 411 struct inode *inode = file_inode(vma->vm_file); in kvm_gmem_fault_user_mapping()
|
| /linux/fs/ext4/ |
| H A D | file.c | 806 struct inode *inode = file_inode(vmf->vma->vm_file); in ext4_dax_huge_fault() 822 struct address_space *mapping = vmf->vma->vm_file->f_mapping; in ext4_dax_huge_fault() 827 file_update_time(vmf->vma->vm_file); in ext4_dax_huge_fault()
|
| /linux/fs/gfs2/ |
| H A D | file.c | 419 struct inode *inode = file_inode(vmf->vma->vm_file); in gfs2_page_mkwrite() 448 file_update_time(vmf->vma->vm_file); in gfs2_page_mkwrite() 456 gfs2_size_hint(vmf->vma->vm_file, pos, length); in gfs2_page_mkwrite() 554 struct inode *inode = file_inode(vmf->vma->vm_file); in gfs2_fault()
|
| /linux/fs/ceph/ |
| H A D | addr.c | 1979 struct inode *inode = file_inode(vma->vm_file); in ceph_filemap_fault() 1982 struct ceph_file_info *fi = vma->vm_file->private_data; in ceph_filemap_fault() 2001 err = ceph_get_caps(vma->vm_file, CEPH_CAP_FILE_RD, want, -1, &got); in ceph_filemap_fault() 2070 struct inode *inode = file_inode(vma->vm_file); in ceph_page_mkwrite() 2073 struct ceph_file_info *fi = vma->vm_file->private_data; in ceph_page_mkwrite() 2106 err = ceph_get_caps(vma->vm_file, CEPH_CAP_FILE_WR, want, off + len, &got); in ceph_page_mkwrite() 2114 file_update_time(vma->vm_file); in ceph_page_mkwrite()
|