Home
last modified time | relevance | path

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

123

/linux-2.4.37.9/drivers/char/drm-4.0/
Dvm.c305 pgprot_val(vma->vm_page_prot) &= ~_PAGE_RW; in drm_mmap()
310 vma->vm_page_prot = __pgprot(pte_val(pte_wrprotect( in drm_mmap()
311 __pte(pgprot_val(vma->vm_page_prot))))); in drm_mmap()
322 pgprot_val(vma->vm_page_prot) |= _PAGE_PCD; in drm_mmap()
323 pgprot_val(vma->vm_page_prot) &= ~_PAGE_PWT; in drm_mmap()
327 vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); in drm_mmap()
334 vma->vm_page_prot)) in drm_mmap()
Dffb_drv.c841 vma->vm_page_prot = __pgprot(pte_val(pte_wrprotect( in ffb_mmap()
842 __pte(pgprot_val(vma->vm_page_prot))))); in ffb_mmap()
858 vma->vm_page_prot, 0)) in ffb_mmap()
/linux-2.4.37.9/drivers/video/
Dfbmem.c651 vma->vm_end - vma->vm_start, vma->vm_page_prot, 0)) in fb_mmap()
656 pgprot_val(vma->vm_page_prot) |= SUN3_PAGE_NOCACHE; in fb_mmap()
659 pgprot_val(vma->vm_page_prot) |= _PAGE_NOCACHE030; in fb_mmap()
661 pgprot_val(vma->vm_page_prot) &= _CACHEMASK040; in fb_mmap()
663 pgprot_val(vma->vm_page_prot) |= _PAGE_NOCACHE_S; in fb_mmap()
667 pgprot_val(vma->vm_page_prot) |= _PAGE_NO_CACHE|_PAGE_GUARDED; in fb_mmap()
672 pgprot_val(vma->vm_page_prot) |= _PAGE_PCD; in fb_mmap()
674 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in fb_mmap()
676 pgprot_val(vma->vm_page_prot) &= ~_PAGE_CACHABLE; in fb_mmap()
678 pgprot_val(vma->vm_page_prot) |= _PAGE_NO_CACHE; in fb_mmap()
[all …]
Dau1100fb.c404 pgprot_val(vma->vm_page_prot) &= ~_CACHE_MASK; in au1100fb_mmap()
406 pgprot_val(vma->vm_page_prot) |= (6 << 9); //CCA=6 in au1100fb_mmap()
413 vma->vm_page_prot)) { in au1100fb_mmap()
Digafb.c283 pgprot_val(vma->vm_page_prot) &= ~(fb->mmap_map[i].prot_mask); in igafb_mmap()
284 pgprot_val(vma->vm_page_prot) |= fb->mmap_map[i].prot_flag; in igafb_mmap()
287 map_size, vma->vm_page_prot)) in igafb_mmap()
Dsgivwfb.c848 pgprot_val(vma->vm_page_prot) = pgprot_val(vma->vm_page_prot) | _PAGE_PCD; in sgivwfb_mmap()
849 if (remap_page_range(vma->vm_start, offset, size, vma->vm_page_prot)) in sgivwfb_mmap()
/linux-2.4.37.9/drivers/char/drm/
Ddrm_vm.h406 pgprot_val(vma->vm_page_prot) &= ~_PAGE_RW; in DRM()
411 vma->vm_page_prot = __pgprot(pte_val(pte_wrprotect( in DRM()
412 __pte(pgprot_val(vma->vm_page_prot))))); in DRM()
434 pgprot_val(vma->vm_page_prot) |= _PAGE_PCD; in DRM()
435 pgprot_val(vma->vm_page_prot) &= ~_PAGE_PWT; in DRM()
439 vma->vm_page_prot = in DRM()
440 pgprot_writecombine(vma->vm_page_prot); in DRM()
442 pgprot_val(vma->vm_page_prot) |= _PAGE_NO_CACHE | _PAGE_GUARDED; in DRM()
451 vma->vm_page_prot, 0)) in DRM()
456 vma->vm_page_prot)) in DRM()
/linux-2.4.37.9/arch/ia64/ia32/
Dbinfmt_elf32.c90 vma->vm_page_prot = PAGE_SHARED; in ia64_elf32_init()
116 vma->vm_page_prot = PAGE_SHARED; in ia64_elf32_init()
193 mpnt->vm_page_prot = PAGE_COPY; in ia32_setup_arg_pages()
/linux-2.4.37.9/drivers/sbus/char/
Dflash.c73 pgprot_val(vma->vm_page_prot) &= ~(_PAGE_CACHE); in flash_mmap()
74 pgprot_val(vma->vm_page_prot) |= _PAGE_E; in flash_mmap()
77 if (remap_page_range(vma->vm_start, addr, size, vma->vm_page_prot)) in flash_mmap()
/linux-2.4.37.9/arch/x86_64/kernel/
Dpci-x86_64.c383 prot = pgprot_val(vma->vm_page_prot); in pci_mmap_page_range()
386 vma->vm_page_prot = __pgprot(prot); in pci_mmap_page_range()
393 vma->vm_page_prot)) in pci_mmap_page_range()
/linux-2.4.37.9/arch/i386/kernel/
Dpci-i386.c386 prot = pgprot_val(vma->vm_page_prot); in pci_mmap_page_range()
389 vma->vm_page_prot = __pgprot(prot); in pci_mmap_page_range()
396 vma->vm_page_prot)) in pci_mmap_page_range()
/linux-2.4.37.9/drivers/char/
Dmem.c196 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in mmap_mem()
208 vma->vm_page_prot)) in mmap_mem()
476 if (zeromap_page_range(vma->vm_start, vma->vm_end - vma->vm_start, vma->vm_page_prot)) in mmap_zero()
601 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in mmap_kmem()
Dfetchop.c301 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in fetchop_mmap()
312 if (remap_page_range(vm_start, __pa(maddr), PAGE_SIZE, vma->vm_page_prot)) { in fetchop_mmap()
/linux-2.4.37.9/mm/
Dmprotect.c115 vma->vm_page_prot = prot; in mprotect_fixup_all()
147 n->vm_page_prot = prot; in mprotect_fixup_start()
177 n->vm_page_prot = prot; in mprotect_fixup_end()
223 vma->vm_page_prot = prot; in mprotect_fixup_middle()
Dmemory.c929 …establish_pte(vma, address, page_table, pte_mkwrite(pte_mkdirty(mk_pte(new_page, vma->vm_page_prot in break_cow()
1175 pte = mk_pte(page, vma->vm_page_prot); in do_swap_page()
1200 entry = pte_wrprotect(mk_pte(ZERO_PAGE(addr), vma->vm_page_prot)); in do_anonymous_page()
1222 entry = pte_mkwrite(pte_mkdirty(mk_pte(page, vma->vm_page_prot))); in do_anonymous_page()
1301 entry = mk_pte(new_page, vma->vm_page_prot); in do_no_page()
Dmmap.c528 vma->vm_page_prot = protection_map[vm_flags & 0x0f]; in do_mmap_pgoff()
852 mpnt->vm_page_prot = area->vm_page_prot; in unmap_fixup()
1134 vma->vm_page_prot = protection_map[flags & 0x0f]; in do_brk()
/linux-2.4.37.9/arch/ia64/kernel/
Dpci.c562 vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); in pci_mmap_page_range()
564 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in pci_mmap_page_range()
567 vma->vm_end - vma->vm_start, vma->vm_page_prot)) in pci_mmap_page_range()
/linux-2.4.37.9/arch/ia64/sn/io/drivers/
Dpciba.c911 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in mmap_pci_address()
917 vma->vm_page_prot); in mmap_pci_address()
944 vma->vm_page_prot); in mmap_kernel_address()
/linux-2.4.37.9/arch/s390x/kernel/
Dexec32.c62 mpnt->vm_page_prot = PAGE_COPY; in setup_arg_pages32()
/linux-2.4.37.9/arch/ia64/mm/
Dhugetlbpage.c96 pte_mkwrite(pte_mkdirty(mk_pte(page, vma->vm_page_prot))); in set_huge_pte()
98 entry = pte_wrprotect(mk_pte(page, vma->vm_page_prot)); in set_huge_pte()
Dinit.c102 vma->vm_page_prot = PAGE_COPY; in ia64_init_addr_space()
124 vma->vm_page_prot = __pgprot(pgprot_val(PAGE_READONLY) | _PAGE_MA_NAT); in ia64_init_addr_space()
/linux-2.4.37.9/drivers/char/agp/
Dagpgart_fe.c642 size, vma->vm_page_prot)) { in agp_mmap()
649 size, vma->vm_page_prot)) { in agp_mmap()
665 size, vma->vm_page_prot)) { in agp_mmap()
/linux-2.4.37.9/arch/ppc64/kernel/
Dpci.c786 long prot = pgprot_val(vma->vm_page_prot); in __pci_mmap_set_pgprot()
791 vma->vm_page_prot = __pgprot(prot); in __pci_mmap_set_pgprot()
818 vma->vm_end - vma->vm_start, vma->vm_page_prot); in pci_mmap_page_range()
/linux-2.4.37.9/arch/ia64/sn/io/sn2/
Dxbow.c131 vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); in xbow_mmap()
135 vma->vm_page_prot); in xbow_mmap()
/linux-2.4.37.9/arch/x86_64/ia32/
Dia32_binfmt.c247 mpnt->vm_page_prot = (mpnt->vm_flags & VM_EXEC) ? in ia32_setup_arg_pages()

123