Home
last modified time | relevance | path

Searched refs:vm_page_prot (Results 1 – 25 of 167) sorted by relevance

1234567

/linux-6.6.21/drivers/pci/
Dmmap.c34 vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); in pci_mmap_resource_range()
36 vma->vm_page_prot = pgprot_device(vma->vm_page_prot); in pci_mmap_resource_range()
49 vma->vm_page_prot); in pci_mmap_resource_range()
/linux-6.6.21/arch/m68k/include/asm/
Dfb.h15 pgprot_val(vma->vm_page_prot) |= SUN3_PAGE_NOCACHE; in fb_pgprotect()
18 pgprot_val(vma->vm_page_prot) |= _PAGE_NOCACHE030; in fb_pgprotect()
20 pgprot_val(vma->vm_page_prot) &= _CACHEMASK040; in fb_pgprotect()
22 pgprot_val(vma->vm_page_prot) |= _PAGE_NOCACHE_S; in fb_pgprotect()
/linux-6.6.21/arch/ia64/include/asm/
Dfb.h17 vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); in fb_pgprotect()
19 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in fb_pgprotect()
/linux-6.6.21/drivers/gpu/drm/virtio/
Dvirtgpu_vram.c50 vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); in virtio_gpu_vram_mmap()
51 vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot); in virtio_gpu_vram_mmap()
55 vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); in virtio_gpu_vram_mmap()
57 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in virtio_gpu_vram_mmap()
65 vm_size, vma->vm_page_prot); in virtio_gpu_vram_mmap()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_vm.c481 pgprot_val(vma->vm_page_prot) &= ~_PAGE_RW; in drm_mmap_dma()
486 vma->vm_page_prot = in drm_mmap_dma()
489 (__pte(pgprot_val(vma->vm_page_prot))))); in drm_mmap_dma()
565 pgprot_val(vma->vm_page_prot) &= ~_PAGE_RW; in drm_mmap_locked()
570 vma->vm_page_prot = in drm_mmap_locked()
573 (__pte(pgprot_val(vma->vm_page_prot))))); in drm_mmap_locked()
587 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in drm_mmap_locked()
597 vma->vm_page_prot = drm_io_prot(map, vma); in drm_mmap_locked()
601 vma->vm_page_prot)) in drm_mmap_locked()
615 vma->vm_end - vma->vm_start, vma->vm_page_prot)) in drm_mmap_locked()
[all …]
/linux-6.6.21/arch/arc/kernel/
Darc_hostlink.c20 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in arc_hl_mmap()
24 vma->vm_page_prot)) { in arc_hl_mmap()
/linux-6.6.21/drivers/infiniband/hw/cxgb4/
Dprovider.c157 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in c4iw_mmap()
160 len, vma->vm_page_prot); in c4iw_mmap()
169 vma->vm_page_prot = t4_pgprot_wc(vma->vm_page_prot); in c4iw_mmap()
172 vma->vm_page_prot = in c4iw_mmap()
173 t4_pgprot_wc(vma->vm_page_prot); in c4iw_mmap()
175 vma->vm_page_prot = in c4iw_mmap()
176 pgprot_noncached(vma->vm_page_prot); in c4iw_mmap()
180 len, vma->vm_page_prot); in c4iw_mmap()
188 len, vma->vm_page_prot); in c4iw_mmap()
/linux-6.6.21/drivers/char/
Duv_mmtimer.c160 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in uv_mmtimer_mmap()
167 PAGE_SIZE, vma->vm_page_prot)) { in uv_mmtimer_mmap()
Dbsr.c120 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in bsr_mmap()
125 vma->vm_page_prot); in bsr_mmap()
129 size, vma->vm_page_prot); in bsr_mmap()
/linux-6.6.21/arch/powerpc/include/asm/
Dfb.h12 vma->vm_page_prot = phys_mem_access_prot(file, off >> PAGE_SHIFT, in fb_pgprotect()
14 vma->vm_page_prot); in fb_pgprotect()
/linux-6.6.21/arch/mips/include/asm/
Dfb.h11 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in fb_pgprotect()
/linux-6.6.21/kernel/dma/
Dops_helpers.c45 vma->vm_page_prot = dma_pgprot(dev, vma->vm_page_prot, attrs); in dma_common_mmap()
55 user_count << PAGE_SHIFT, vma->vm_page_prot); in dma_common_mmap()
/linux-6.6.21/arch/x86/video/
Dfbdev.c20 prot = pgprot_val(vma->vm_page_prot) & ~_PAGE_CACHE_MASK; in fb_pgprotect()
22 pgprot_val(vma->vm_page_prot) = in fb_pgprotect()
/linux-6.6.21/sound/core/
Dmemalloc.c336 area->vm_page_prot); in snd_dma_continuous_mmap()
450 area->vm_page_prot = pgprot_writecombine(area->vm_page_prot); in snd_dma_iram_mmap()
454 area->vm_page_prot); in snd_dma_iram_mmap()
508 area->vm_page_prot = pgprot_writecombine(area->vm_page_prot); in snd_dma_wc_mmap()
702 area->vm_page_prot = pgprot_writecombine(area->vm_page_prot); in snd_dma_sg_wc_mmap()
851 area->vm_page_prot = pgprot_writecombine(area->vm_page_prot); in snd_dma_sg_fallback_mmap()
889 area->vm_page_prot = vm_get_page_prot(area->vm_flags); in snd_dma_noncoherent_mmap()
/linux-6.6.21/drivers/gpu/drm/etnaviv/
Detnaviv_gem.c131 pgprot_t vm_page_prot; in etnaviv_gem_mmap_obj() local
135 vm_page_prot = vm_get_page_prot(vma->vm_flags); in etnaviv_gem_mmap_obj()
138 vma->vm_page_prot = pgprot_writecombine(vm_page_prot); in etnaviv_gem_mmap_obj()
140 vma->vm_page_prot = pgprot_noncached(vm_page_prot); in etnaviv_gem_mmap_obj()
150 vma->vm_page_prot = vm_page_prot; in etnaviv_gem_mmap_obj()
/linux-6.6.21/drivers/misc/cxl/
Dcontext.c162 vma->vm_page_prot = pgprot_cached(vma->vm_page_prot); in cxl_mmap_fault()
224 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in cxl_context_iomap()
/linux-6.6.21/drivers/sbus/char/
Dflash.c69 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in flash_mmap()
71 if (io_remap_pfn_range(vma, vma->vm_start, addr, size, vma->vm_page_prot)) in flash_mmap()
/linux-6.6.21/include/asm-generic/
Dfb.h22 vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); in fb_pgprotect()
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_doorbell.c130 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in kfd_doorbell_mmap()
145 vma->vm_page_prot); in kfd_doorbell_mmap()
/linux-6.6.21/arch/powerpc/platforms/powernv/
Dmemtrace.c58 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in memtrace_mmap()
60 vma->vm_end - vma->vm_start, vma->vm_page_prot); in memtrace_mmap()
/linux-6.6.21/drivers/vfio/cdx/
Dmain.c134 vma->vm_page_prot = pgprot_device(vma->vm_page_prot); in vfio_cdx_mmap_mmio()
137 size, vma->vm_page_prot); in vfio_cdx_mmap_mmio()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_mm.c107 (pgprot_val(vma->vm_page_prot) & ~_PAGE_CACHE_MASK)); in remap_io_mapping()
135 .prot = vma->vm_page_prot, in remap_io_sg()
/linux-6.6.21/drivers/gpu/drm/mediatek/
Dmtk_drm_gem.c174 vma->vm_page_prot = pgprot_writecombine(vm_get_page_prot(vma->vm_flags)); in mtk_drm_gem_object_mmap()
175 vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot); in mtk_drm_gem_object_mmap()
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_mman.c115 vma->vm_page_prot = in i915_gem_mmap_ioctl()
978 vma->vm_page_prot = pgprot_decrypted(vm_get_page_prot(vma->vm_flags)); in i915_gem_object_mmap()
988 vma->vm_page_prot = in i915_gem_object_mmap()
997 vma->vm_page_prot = vm_get_page_prot(vma->vm_flags); in i915_gem_object_mmap()
1002 vma->vm_page_prot = in i915_gem_object_mmap()
1008 vma->vm_page_prot = in i915_gem_object_mmap()
1013 vma->vm_page_prot = pgprot_decrypted(vma->vm_page_prot); in i915_gem_object_mmap()
/linux-6.6.21/arch/mips/kernel/
Dvdso.c165 pgprot_noncached(vma->vm_page_prot)); in arch_setup_additional_pages()
173 PAGE_SIZE, vma->vm_page_prot); in arch_setup_additional_pages()

1234567