/linux-6.1.9/mm/ |
D | io-mapping.c | 19 vm_flags_t expected_flags = VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP; in io_mapping_map_user()
|
D | memory.c | 622 if (vma->vm_flags & (VM_PFNMAP | VM_MIXEDMAP)) in vm_normal_page() 643 if (unlikely(vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP))) { in vm_normal_page() 686 if (unlikely(vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP))) { in vm_normal_page_pmd() 1256 if (src_vma->vm_flags & (VM_PFNMAP | VM_MIXEDMAP)) in vma_needs_copy() 1290 if (unlikely(src_vma->vm_flags & VM_PFNMAP)) { in copy_page_range() 1662 if (unlikely(vma->vm_flags & VM_PFNMAP)) in unmap_single_vma() 1808 !(vma->vm_flags & VM_PFNMAP)) in zap_vma_ptes() 1992 BUG_ON(vma->vm_flags & VM_PFNMAP); in vm_insert_pages() 2050 BUG_ON(vma->vm_flags & VM_PFNMAP); in vm_insert_page() 2221 BUG_ON(!(vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP))); in vmf_insert_pfn_prot() [all …]
|
D | mremap.c | 684 if (unlikely(vma->vm_flags & VM_PFNMAP)) in move_vma() 752 (vma->vm_flags & (VM_DONTEXPAND | VM_PFNMAP))) in vma_to_resize() 768 if (vma->vm_flags & (VM_DONTEXPAND | VM_PFNMAP)) in vma_to_resize()
|
D | huge_memory.c | 912 BUG_ON(!(vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP)) && in vmf_insert_pfn_pmd_prot() 914 BUG_ON((vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP)) == in vmf_insert_pfn_pmd_prot() 915 (VM_PFNMAP|VM_MIXEDMAP)); in vmf_insert_pfn_pmd_prot() 916 BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags)); in vmf_insert_pfn_pmd_prot() 1002 BUG_ON(!(vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP)) && in vmf_insert_pfn_pud_prot() 1004 BUG_ON((vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP)) == in vmf_insert_pfn_pud_prot() 1005 (VM_PFNMAP|VM_MIXEDMAP)); in vmf_insert_pfn_pud_prot() 1006 BUG_ON((vma->vm_flags & VM_PFNMAP) && is_cow_mapping(vma->vm_flags)); in vmf_insert_pfn_pud_prot()
|
/linux-6.1.9/arch/sparc/include/asm/ |
D | mman.h | 72 if (vm_flags & (VM_PFNMAP | VM_MIXEDMAP)) in arch_validate_flags()
|
/linux-6.1.9/drivers/xen/ |
D | xlate_mmu.c | 156 BUG_ON(!((vma->vm_flags & (VM_PFNMAP | VM_IO)) == (VM_PFNMAP | VM_IO))); in xen_xlate_remap_gfn_array()
|
/linux-6.1.9/arch/s390/pci/ |
D | pci_mmio.c | 166 if (!(vma->vm_flags & (VM_IO | VM_PFNMAP))) in SYSCALL_DEFINE3() 305 if (!(vma->vm_flags & (VM_IO | VM_PFNMAP))) in SYSCALL_DEFINE3()
|
/linux-6.1.9/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ttm_glue.c | 100 vma->vm_flags = (vma->vm_flags & ~VM_MIXEDMAP) | VM_PFNMAP; in vmw_mmap()
|
/linux-6.1.9/drivers/gpu/drm/i915/ |
D | i915_mm.c | 70 #define EXPECTED_FLAGS (VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP)
|
/linux-6.1.9/arch/x86/kernel/cpu/sgx/ |
D | driver.c | 98 vma->vm_flags |= VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP | VM_IO; in sgx_mmap()
|
D | virt.c | 108 vma->vm_flags |= VM_PFNMAP | VM_IO | VM_DONTDUMP | VM_DONTCOPY; in sgx_vepc_mmap()
|
/linux-6.1.9/drivers/char/ |
D | mspec.c | 209 vma->vm_flags |= VM_IO | VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP; in mspec_mmap()
|
/linux-6.1.9/drivers/misc/ocxl/ |
D | sysfs.c | 137 vma->vm_flags |= VM_IO | VM_PFNMAP; in global_mmio_mmap()
|
D | context.c | 207 vma->vm_flags |= VM_IO | VM_PFNMAP; in ocxl_context_mmap()
|
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_doorbell.c | 163 VM_DONTDUMP | VM_PFNMAP; in kfd_doorbell_mmap()
|
/linux-6.1.9/arch/arm64/kvm/ |
D | mmu.c | 756 if (!(vma->vm_flags & VM_PFNMAP)) { in stage2_unmap_memslot() 1058 if (is_vm_hugetlb_page(vma) && !(vma->vm_flags & VM_PFNMAP)) in get_vma_page_shift() 1061 if (!(vma->vm_flags & VM_PFNMAP)) in get_vma_page_shift() 1753 if (vma->vm_flags & VM_PFNMAP) { in kvm_arch_prepare_memory_region()
|
/linux-6.1.9/include/trace/events/ |
D | mmflags.h | 177 {VM_PFNMAP, "pfnmap" }, \
|
/linux-6.1.9/arch/riscv/kernel/ |
D | vdso.c | 270 (VM_READ | VM_MAYREAD | VM_PFNMAP), vdso_info->dm); in __setup_additional_pages()
|
/linux-6.1.9/drivers/gpu/drm/xen/ |
D | xen_drm_front_gem.c | 73 vma->vm_flags &= ~VM_PFNMAP; in xen_drm_front_gem_object_mmap()
|
/linux-6.1.9/arch/s390/kernel/ |
D | vdso.c | 190 VM_PFNMAP, in map_vdso()
|
/linux-6.1.9/arch/powerpc/platforms/cell/spufs/ |
D | file.c | 294 vma->vm_flags |= VM_IO | VM_PFNMAP; in spufs_mem_mmap() 384 vma->vm_flags |= VM_IO | VM_PFNMAP; in spufs_cntl_mmap() 1046 vma->vm_flags |= VM_IO | VM_PFNMAP; in spufs_signal1_mmap() 1182 vma->vm_flags |= VM_IO | VM_PFNMAP; in spufs_signal2_mmap() 1305 vma->vm_flags |= VM_IO | VM_PFNMAP; in spufs_mss_mmap() 1367 vma->vm_flags |= VM_IO | VM_PFNMAP; in spufs_psmap_mmap() 1427 vma->vm_flags |= VM_IO | VM_PFNMAP; in spufs_mfc_mmap()
|
/linux-6.1.9/drivers/misc/cxl/ |
D | context.c | 223 vma->vm_flags |= VM_IO | VM_PFNMAP; in cxl_context_iomap()
|
/linux-6.1.9/arch/riscv/kvm/ |
D | mmu.c | 515 if (vma->vm_flags & VM_PFNMAP) { in kvm_arch_prepare_memory_region() 647 if (logging || (vma->vm_flags & VM_PFNMAP)) in kvm_riscv_gstage_map()
|
/linux-6.1.9/include/asm-generic/ |
D | tlb.h | 417 tlb->vma_pfn = !!(vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP)); in tlb_update_vma_flags()
|
/linux-6.1.9/drivers/virt/acrn/ |
D | mm.c | 173 if (vma && ((vma->vm_flags & VM_PFNMAP) != 0)) { in acrn_vm_ram_map()
|