Home
last modified time | relevance | path

Searched refs:VM_PFNMAP (Results 1 – 25 of 71) sorted by relevance

123

/linux-6.1.9/mm/
Dio-mapping.c19 vm_flags_t expected_flags = VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP; in io_mapping_map_user()
Dmemory.c622 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 …]
Dmremap.c684 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()
Dhuge_memory.c912 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/
Dmman.h72 if (vm_flags & (VM_PFNMAP | VM_MIXEDMAP)) in arch_validate_flags()
/linux-6.1.9/drivers/xen/
Dxlate_mmu.c156 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/
Dpci_mmio.c166 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/
Dvmwgfx_ttm_glue.c100 vma->vm_flags = (vma->vm_flags & ~VM_MIXEDMAP) | VM_PFNMAP; in vmw_mmap()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_mm.c70 #define EXPECTED_FLAGS (VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP)
/linux-6.1.9/arch/x86/kernel/cpu/sgx/
Ddriver.c98 vma->vm_flags |= VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP | VM_IO; in sgx_mmap()
Dvirt.c108 vma->vm_flags |= VM_PFNMAP | VM_IO | VM_DONTDUMP | VM_DONTCOPY; in sgx_vepc_mmap()
/linux-6.1.9/drivers/char/
Dmspec.c209 vma->vm_flags |= VM_IO | VM_PFNMAP | VM_DONTEXPAND | VM_DONTDUMP; in mspec_mmap()
/linux-6.1.9/drivers/misc/ocxl/
Dsysfs.c137 vma->vm_flags |= VM_IO | VM_PFNMAP; in global_mmio_mmap()
Dcontext.c207 vma->vm_flags |= VM_IO | VM_PFNMAP; in ocxl_context_mmap()
/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_doorbell.c163 VM_DONTDUMP | VM_PFNMAP; in kfd_doorbell_mmap()
/linux-6.1.9/arch/arm64/kvm/
Dmmu.c756 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/
Dmmflags.h177 {VM_PFNMAP, "pfnmap" }, \
/linux-6.1.9/arch/riscv/kernel/
Dvdso.c270 (VM_READ | VM_MAYREAD | VM_PFNMAP), vdso_info->dm); in __setup_additional_pages()
/linux-6.1.9/drivers/gpu/drm/xen/
Dxen_drm_front_gem.c73 vma->vm_flags &= ~VM_PFNMAP; in xen_drm_front_gem_object_mmap()
/linux-6.1.9/arch/s390/kernel/
Dvdso.c190 VM_PFNMAP, in map_vdso()
/linux-6.1.9/arch/powerpc/platforms/cell/spufs/
Dfile.c294 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/
Dcontext.c223 vma->vm_flags |= VM_IO | VM_PFNMAP; in cxl_context_iomap()
/linux-6.1.9/arch/riscv/kvm/
Dmmu.c515 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/
Dtlb.h417 tlb->vma_pfn = !!(vma->vm_flags & (VM_PFNMAP|VM_MIXEDMAP)); in tlb_update_vma_flags()
/linux-6.1.9/drivers/virt/acrn/
Dmm.c173 if (vma && ((vma->vm_flags & VM_PFNMAP) != 0)) { in acrn_vm_ram_map()

123