Home
last modified time | relevance | path

Searched refs:vma_prot (Results 1 – 14 of 14) sorted by relevance

/linux-4.1.27/arch/mips/loongson/common/
Dmem.c114 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot() argument
122 return __pgprot((pgprot_val(vma_prot) & in phys_mem_access_prot()
126 return pgprot_noncached(vma_prot); in phys_mem_access_prot()
128 return vma_prot; in phys_mem_access_prot()
/linux-4.1.27/arch/x86/mm/
Dpat.c607 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot() argument
609 return vma_prot; in phys_mem_access_prot()
643 unsigned long size, pgprot_t *vma_prot) in phys_mem_access_prot_allowed() argument
672 *vma_prot = __pgprot((pgprot_val(*vma_prot) & ~_PAGE_CACHE_MASK) | in phys_mem_access_prot_allowed()
716 static int reserve_pfn_range(u64 paddr, unsigned long size, pgprot_t *vma_prot, in reserve_pfn_range() argument
721 enum page_cache_mode want_pcm = pgprot2cachemode(*vma_prot); in reserve_pfn_range()
743 *vma_prot = __pgprot((pgprot_val(*vma_prot) & in reserve_pfn_range()
771 *vma_prot = __pgprot((pgprot_val(*vma_prot) & in reserve_pfn_range()
/linux-4.1.27/arch/powerpc/mm/
Dmem.c95 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot() argument
98 return ppc_md.phys_mem_access_prot(file, pfn, size, vma_prot); in phys_mem_access_prot()
101 vma_prot = pgprot_noncached(vma_prot); in phys_mem_access_prot()
103 return vma_prot; in phys_mem_access_prot()
/linux-4.1.27/arch/arm64/mm/
Dmmu.c53 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot() argument
56 return pgprot_noncached(vma_prot); in phys_mem_access_prot()
58 return pgprot_writecombine(vma_prot); in phys_mem_access_prot()
59 return vma_prot; in phys_mem_access_prot()
/linux-4.1.27/drivers/char/
Dmem.c224 unsigned long pfn, unsigned long size, pgprot_t *vma_prot) in phys_mem_access_prot_allowed() argument
266 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot() argument
272 return pgprot_noncached(vma_prot); in phys_mem_access_prot()
274 return vma_prot; in phys_mem_access_prot()
/linux-4.1.27/arch/x86/include/asm/
Dpgtable_types.h374 unsigned long size, pgprot_t vma_prot);
376 unsigned long size, pgprot_t *vma_prot);
/linux-4.1.27/arch/ia64/kernel/
Defi.c896 pgprot_t vma_prot) in phys_mem_access_prot() argument
908 return pgprot_cacheable(vma_prot); in phys_mem_access_prot()
910 return pgprot_noncached(vma_prot); in phys_mem_access_prot()
917 return pgprot_cacheable(vma_prot); in phys_mem_access_prot()
919 return pgprot_noncached(vma_prot); in phys_mem_access_prot()
/linux-4.1.27/arch/powerpc/include/asm/
Dpgtable.h206 unsigned long size, pgprot_t vma_prot);
Dmachdep.h191 pgprot_t vma_prot);
/linux-4.1.27/arch/mips/include/asm/
Dpgtable.h644 unsigned long size, pgprot_t vma_prot);
646 unsigned long size, pgprot_t *vma_prot);
/linux-4.1.27/arch/arm/mm/
Dmmu.c660 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot() argument
663 return pgprot_noncached(vma_prot); in phys_mem_access_prot()
665 return pgprot_writecombine(vma_prot); in phys_mem_access_prot()
666 return vma_prot; in phys_mem_access_prot()
/linux-4.1.27/arch/arm/include/asm/
Dpgtable.h131 unsigned long size, pgprot_t vma_prot);
/linux-4.1.27/arch/ia64/include/asm/
Dpgtable.h357 unsigned long size, pgprot_t vma_prot);
/linux-4.1.27/arch/arm64/include/asm/
Dpgtable.h333 unsigned long size, pgprot_t vma_prot);