Home
last modified time | relevance | path

Searched refs:pgprot_t (Results 1 – 200 of 221) sorted by relevance

12

/linux-4.4.14/arch/x86/include/asm/
Dpgtable_types.h218 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; typedef
331 #define __pgprot(x) ((pgprot_t) { (x) } )
351 static inline pgprot_t cachemode2pgprot(enum page_cache_mode pcm) in cachemode2pgprot()
355 static inline enum page_cache_mode pgprot2cachemode(pgprot_t pgprot) in pgprot2cachemode()
364 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large()
367 pgprot_t new; in pgprot_4k_2_large()
373 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot) in pgprot_large_2_4k()
376 pgprot_t new; in pgprot_large_2_4k()
392 extern pgprot_t pgprot_writecombine(pgprot_t prot);
395 extern pgprot_t pgprot_writethrough(pgprot_t prot);
[all …]
Dfixmap.h146 extern pgprot_t kmap_prot;
151 phys_addr_t phys, pgprot_t flags);
155 phys_addr_t phys, pgprot_t flags) in __set_fixmap()
167 phys_addr_t phys, pgprot_t flags);
Diomap.h30 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
36 iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot);
Dhighmem.h66 void *kmap_atomic_prot(struct page *page, pgprot_t prot);
70 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
Dpgtable.h344 static inline pgprotval_t massage_pgprot(pgprot_t pgprot) in massage_pgprot()
354 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte()
360 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd()
366 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
380 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
392 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify()
Dacpi.h155 static inline pgprot_t arch_apei_get_mem_attribute(phys_addr_t addr) in arch_apei_get_mem_attribute()
/linux-4.4.14/arch/sh/include/asm/
Dmmu.h62 unsigned long size, pgprot_t prot);
64 pgprot_t prot, void *caller);
71 unsigned long size, pgprot_t prot) in pmb_bolt_mapping()
78 pgprot_t prot, void *caller) in pmb_remap_caller()
99 pmb_remap(phys_addr_t phys, unsigned long size, pgprot_t prot) in pmb_remap()
Dpage.h78 typedef struct { unsigned long long pgprot; } pgprot_t; typedef
86 typedef struct { unsigned long pgprot; } pgprot_t; typedef
92 typedef struct { unsigned long long pgprot; } pgprot_t; typedef
102 #define __pgprot(x) ((pgprot_t) { (x) } )
Dfixmap.h79 unsigned long phys, pgprot_t flags);
80 extern void __clear_fixmap(enum fixed_addresses idx, pgprot_t flags);
Dio.h270 pgprot_t prot, void *caller);
274 __ioremap(phys_addr_t offset, unsigned long size, pgprot_t prot) in __ioremap()
280 __ioremap_29bit(phys_addr_t offset, unsigned long size, pgprot_t prot) in __ioremap_29bit()
315 __ioremap_mode(phys_addr_t offset, unsigned long size, pgprot_t prot) in __ioremap_mode()
356 extern void __iomem *ioremap_fixed(phys_addr_t, unsigned long, pgprot_t);
361 ioremap_fixed(phys_addr_t phys_addr, unsigned long size, pgprot_t prot) in ioremap_fixed()
Dpgtable_64.h295 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.4.14/include/linux/
Dvmalloc.h58 int node, pgprot_t prot);
77 extern void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot);
80 pgprot_t prot, unsigned long vm_flags, int node,
86 unsigned long flags, pgprot_t prot);
123 extern int map_vm_area(struct vm_struct *area, pgprot_t prot,
127 pgprot_t prot, struct page **pages);
133 pgprot_t prot, struct page **pages) in map_kernel_range_noflush()
Dio-mapping.h41 pgprot_t prot;
55 pgprot_t prot; in io_mapping_create_wc()
Dio.h36 phys_addr_t phys_addr, pgprot_t prot);
39 phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range()
Dcrash_dump.h23 unsigned long size, pgprot_t prot);
Dagpgart.h62 pgprot_t prot;
Dhugetlb.h122 unsigned long address, unsigned long end, pgprot_t newprot);
166 unsigned long address, unsigned long end, pgprot_t newprot) in hugetlb_change_protection()
Dmm_types.h320 pgprot_t vm_page_prot; /* Access permissions of this VMA. */
Dhuge_mm.h34 unsigned long addr, pgprot_t newprot,
Dmm.h213 extern pgprot_t protection_map[16];
1322 unsigned long end, pgprot_t newprot,
2061 pgprot_t vm_get_page_prot(unsigned long vm_flags);
2064 static inline pgprot_t vm_get_page_prot(unsigned long vm_flags) in vm_get_page_prot()
2081 unsigned long pfn, unsigned long size, pgprot_t);
/linux-4.4.14/arch/arm/mm/
Dpageattr.c20 pgprot_t set_mask;
21 pgprot_t clear_mask;
38 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
Ddma-mapping.c295 pgprot_t prot, struct page **ret_page,
299 pgprot_t prot, struct page **ret_page,
303 __dma_alloc_remap(struct page *page, size_t size, gfp_t gfp, pgprot_t prot, in __dma_alloc_remap()
353 pgprot_t prot = pgprot_dmacoherent(PAGE_KERNEL); in atomic_pool_init()
457 pgprot_t prot = *(pgprot_t *)data; in __dma_update_pte()
463 static void __dma_remap(struct page *page, size_t size, pgprot_t prot) in __dma_remap()
473 pgprot_t prot, struct page **ret_page, in __alloc_remap_buffer()
532 pgprot_t prot, struct page **ret_page, in __alloc_from_contiguous()
577 static inline pgprot_t __get_dma_pgprot(struct dma_attrs *attrs, pgprot_t prot) in __get_dma_pgprot()
616 gfp_t gfp, pgprot_t prot, bool is_coherent, in __dma_alloc()
[all …]
Dmmu.c67 pgprot_t pgprot_user;
68 pgprot_t pgprot_kernel;
69 pgprot_t pgprot_hyp_device;
70 pgprot_t pgprot_s2;
71 pgprot_t pgprot_s2_device;
407 void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot) in __set_fixmap()
701 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
702 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
Dfault-armv.c243 pgprot_t prot = __pgprot_modify(PAGE_KERNEL, in check_writebuffer_bugs()
/linux-4.4.14/arch/arm64/mm/
Dpageattr.c22 pgprot_t set_mask;
23 pgprot_t clear_mask;
40 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
Dmmu.c54 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
55 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
97 pgprot_t prot, in alloc_init_pte()
121 pgprot_t prot = __pgprot(pud_val(*old_pud) ^ addr); in split_pud()
132 phys_addr_t phys, pgprot_t prot, in alloc_init_pmd()
197 phys_addr_t phys, pgprot_t prot, in alloc_init_pud()
249 phys_addr_t size, pgprot_t prot, in __create_mapping()
276 phys_addr_t size, pgprot_t prot) in create_mapping()
289 pgprot_t prot) in create_pgd_mapping()
296 phys_addr_t size, pgprot_t prot) in create_mapping_late()
[all …]
Dioremap.c33 pgprot_t prot, void *caller) in __ioremap_caller()
76 void __iomem *__ioremap(phys_addr_t phys_addr, size_t size, pgprot_t prot) in __ioremap()
Ddma-mapping.c32 static pgprot_t __get_dma_pgprot(struct dma_attrs *attrs, pgprot_t prot, in __get_dma_pgprot()
145 pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL, false); in __dma_alloc()
363 pgprot_t prot = __pgprot(PROT_NORMAL_NC); in atomic_pool_init()
563 pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL, coherent); in __iommu_alloc_attrs()
/linux-4.4.14/arch/arm/include/asm/
Dpgtable.h83 extern pgprot_t pgprot_user;
84 extern pgprot_t pgprot_kernel;
85 extern pgprot_t pgprot_hyp_device;
86 extern pgprot_t pgprot_s2;
87 extern pgprot_t pgprot_s2_device;
130 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
131 unsigned long size, pgprot_t vma_prot);
255 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
261 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
307 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
Dpgtable-2level-types.h36 typedef struct { pteval_t pgprot; } pgprot_t; typedef
45 #define __pgprot(x) ((pgprot_t) { (x) } )
54 typedef pteval_t pgprot_t; typedef
Dpgtable-3level-types.h39 typedef struct { pteval_t pgprot; } pgprot_t; typedef
49 #define __pgprot(x) ((pgprot_t) { (x) } )
56 typedef pteval_t pgprot_t; typedef
Dfixmap.h33 void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot);
Dpage-nommu.h35 typedef unsigned long pgprot_t; typedef
Dpgtable-3level.h266 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
/linux-4.4.14/arch/sparc/include/asm/
Dpgtable_32.h283 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte()
288 static inline pte_t mk_pte_phys(unsigned long page, pgprot_t pgprot) in mk_pte_phys()
293 static inline pte_t mk_pte_io(unsigned long page, pgprot_t pgprot, int space) in mk_pte_io()
299 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
305 static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__;
306 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
410 unsigned long, pgprot_t);
414 unsigned long size, pgprot_t prot) in io_remap_pfn_range()
Dpgtable_64.h212 pte_t mk_pte_io(unsigned long, pgprot_t, int, unsigned long);
216 extern pgprot_t PAGE_KERNEL;
217 extern pgprot_t PAGE_KERNEL_LOCKED;
218 extern pgprot_t PAGE_COPY;
219 extern pgprot_t PAGE_SHARED;
237 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte()
247 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd()
278 static inline pte_t pte_modify(pte_t pte, pgprot_t prot) in pte_modify()
337 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
347 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
[all …]
Dpage_32.h59 typedef struct { unsigned long pgprot; } pgprot_t; typedef
75 #define __pgprot(x) ((pgprot_t) { (x) } )
87 typedef unsigned long pgprot_t; typedef
Dpage_64.h62 typedef struct { unsigned long pgprot; } pgprot_t; typedef
76 #define __pgprot(x) ((pgprot_t) { (x) } )
85 typedef unsigned long pgprot_t; typedef
Dhighmem.h31 extern pgprot_t kmap_prot;
/linux-4.4.14/include/asm-generic/
Dpgtable.h314 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify()
545 static inline int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap()
556 static inline int track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert()
581 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot,
584 extern int track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot,
754 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot);
755 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot);
759 static inline int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot) in pud_set_huge()
763 static inline int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot) in pmd_set_huge()
Dhugetlb.h4 static inline pte_t mk_huge_pte(struct page *page, pgprot_t pgprot) in mk_huge_pte()
29 static inline pte_t huge_pte_modify(pte_t pte, pgprot_t newprot) in huge_pte_modify()
Dpage.h50 } pgprot_t; typedef
61 #define __pgprot(x) ((pgprot_t) { (x) } )
Ddma-mapping-common.h190 pgprot_t prot, const void *caller);
193 unsigned long vm_flags, pgprot_t prot,
/linux-4.4.14/arch/mips/include/asm/
Dpgtable.h406 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached()
417 static inline pgprot_t pgprot_writecombine(pgprot_t _prot) in pgprot_writecombine()
434 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
443 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
471 …uct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t prot);
477 pgprot_t prot) in io_remap_pfn_range()
591 extern pmd_t mk_pmd(struct page *page, pgprot_t prot);
606 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
645 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
646 unsigned long size, pgprot_t vma_prot);
[all …]
Dpage.h149 typedef struct { unsigned long pgprot; } pgprot_t; typedef
151 #define __pgprot(x) ((pgprot_t) { (x) } )
Dpgtable-32.h110 pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte()
/linux-4.4.14/arch/tile/include/asm/
Dpgtable.h46 extern pgprot_t swapper_pgprot;
166 (pgprot_t) { ((oldprot).val & ~_PAGE_ALL) | (newprot).val }
275 extern pgprot_t set_remote_cache_cpu(pgprot_t prot, int cpu);
276 extern int get_remote_cache_cpu(pgprot_t prot);
278 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte()
309 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
433 static inline pmd_t ptfn_pmd(unsigned long ptfn, pgprot_t prot) in ptfn_pmd()
484 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
Dhighmem.h65 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
66 void *kmap_atomic_prot(struct page *page, pgprot_t prot);
Dpage.h87 typedef HV_PTE pgprot_t; typedef
104 static inline u64 pgprot_val(pgprot_t pgprot) in pgprot_val()
Dmmu_context.h37 static inline void __install_page_table(pgd_t *pgdir, int asid, pgprot_t prot) in __install_page_table()
/linux-4.4.14/include/xen/
Dxen-ops.h52 int *err_ptr, pgprot_t prot,
71 pgprot_t prot, unsigned domid,
78 int *err_ptr, pgprot_t prot,
/linux-4.4.14/arch/unicore32/include/asm/
Dpage.h39 typedef struct { unsigned long pgprot; } pgprot_t; typedef
47 #define __pgprot(x) ((pgprot_t) { (x) })
55 typedef unsigned long pgprot_t; typedef
Dpgtable.h85 extern pgprot_t pgprot_user;
86 extern pgprot_t pgprot_kernel;
243 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.4.14/lib/
Dioremap.c54 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pte_range()
72 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pmd_range()
98 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pud_range()
124 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range()
/linux-4.4.14/arch/arm64/include/asm/
Dpgtable-types.h57 typedef struct { pteval_t pgprot; } pgprot_t; typedef
59 #define __pgprot(x) ((pgprot_t) { (x) } )
83 typedef pteval_t pgprot_t; typedef
Dpgtable.h172 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
178 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
330 static inline pgprot_t mk_sect_prot(pgprot_t prot) in mk_sect_prot()
394 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
395 unsigned long size, pgprot_t vma_prot);
524 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
535 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
Dmmu.h36 pgprot_t prot);
Dfixmap.h80 extern void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot);
Dacpi.h96 pgprot_t arch_apei_get_mem_attribute(phys_addr_t addr);
Dio.h166 extern void __iomem *__ioremap(phys_addr_t phys_addr, size_t size, pgprot_t prot);
/linux-4.4.14/arch/x86/mm/
Diomap_32.c34 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot) in iomap_create_wc()
57 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in kmap_atomic_prot_pfn()
78 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in iomap_atomic_prot_pfn()
Dpageattr.c34 pgprot_t mask_set;
35 pgprot_t mask_clr;
251 static inline pgprot_t static_protections(pgprot_t prot, unsigned long address, in static_protections()
254 pgprot_t forbidden = __pgprot(0); in static_protections()
479 pgprot_t old_prot, new_prot, req_prot; in try_preserve_large_page()
569 pgprot_t chk_prot = static_protections(req_prot, addr, pfn); in try_preserve_large_page()
617 pgprot_t ref_prot; in __split_large_page()
907 unsigned num_pages, pmd_t *pmd, pgprot_t pgprot) in populate_pte()
929 unsigned num_pages, pud_t *pud, pgprot_t pgprot) in populate_pmd()
933 pgprot_t pmd_pgprot; in populate_pmd()
[all …]
Dpat.c689 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
690 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
726 unsigned long size, pgprot_t *vma_prot) in phys_mem_access_prot_allowed()
798 static int reserve_pfn_range(u64 paddr, unsigned long size, pgprot_t *vma_prot, in reserve_pfn_range()
889 pgprot_t pgprot; in track_pfn_copy()
912 int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap()
951 int track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert()
995 pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
1002 pgprot_t pgprot_writethrough(pgprot_t prot) in pgprot_writethrough()
Dinit_32.c316 pgprot_t prot = PAGE_KERNEL_LARGE; in kernel_physical_mapping_init()
321 pgprot_t init_prot = in kernel_physical_mapping_init()
348 pgprot_t prot = PAGE_KERNEL; in kernel_physical_mapping_init()
353 pgprot_t init_prot = __pgprot(PTE_IDENT_ATTR); in kernel_physical_mapping_init()
391 pgprot_t kmap_prot;
Ddump_pagetables.c29 pgprot_t current_prot;
126 static void printk_prot(struct seq_file *m, pgprot_t prot, int level, bool dmsg) in printk_prot()
193 pgprot_t new_prot, int level) in note_page()
Dpgtable.c560 pgprot_t flags) in native_set_fixmap()
584 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot) in pud_set_huge()
609 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot) in pmd_set_huge()
Dhighmem_32.c33 void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
Dioremap.c92 pgprot_t prot; in __ioremap_caller()
485 phys_addr_t phys, pgprot_t flags) in __early_set_fixmap()
Dinit_64.c331 pgprot_t prot; in __init_extra_mapping()
403 pgprot_t prot) in phys_pte_init()
448 unsigned long page_size_mask, pgprot_t prot) in phys_pmd_init()
458 pgprot_t new_prot = prot; in phys_pmd_init()
532 pgprot_t prot = PAGE_KERNEL; in phys_pud_init()
/linux-4.4.14/arch/arc/include/asm/
Dpage.h45 } pgprot_t; typedef
53 #define __pgprot(x) ((pgprot_t) { (x) })
65 typedef unsigned long pgprot_t; typedef
Dhugepage.h49 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
Dpgtable.h319 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.4.14/arch/alpha/include/asm/
Dpage.h33 typedef struct { unsigned long pgprot; } pgprot_t; typedef
43 #define __pgprot(x) ((pgprot_t) { (x) } )
52 typedef unsigned long pgprot_t; typedef
Dpgtable.h219 extern inline pte_t pfn_pte(unsigned long physpfn, pgprot_t pgprot) in pfn_pte()
222 extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.4.14/arch/powerpc/include/asm/
Dpgtable.h39 static inline pgprot_t pte_pgprot(pte_t pte) { return __pgprot(pte_val(pte) & PAGE_PROT_BITS); } in pte_pgprot()
70 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) { in pfn_pte()
99 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
216 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
217 unsigned long size, pgprot_t vma_prot);
Dhighmem.h32 extern pgprot_t kmap_prot;
63 extern void *kmap_atomic_prot(struct page *page, pgprot_t prot);
Dpci.h135 extern pgprot_t pci_phys_mem_access_prot(struct file *file,
138 pgprot_t prot);
Dpage.h321 typedef struct { unsigned long pgprot; } pgprot_t; typedef
323 #define __pgprot(x) ((pgprot_t) { (x) })
358 typedef unsigned long pgprot_t; typedef
Dfixmap.h59 phys_addr_t phys, pgprot_t flags);
Dmman.h27 static inline pgprot_t arch_vm_get_page_prot(unsigned long vm_flags) in arch_vm_get_page_prot()
Dmachdep.h162 pgprot_t (*phys_mem_access_prot)(struct file *file,
165 pgprot_t vma_prot);
Dpgtable-ppc64.h443 extern pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot);
444 extern pmd_t mk_pmd(struct page *page, pgprot_t pgprot);
445 extern pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot);
/linux-4.4.14/arch/m68k/include/asm/
Dpage.h26 typedef struct { unsigned long pgprot; } pgprot_t; typedef
37 #define __pgprot(x) ((pgprot_t) { (x) } )
Dsun3_pgtable.h104 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
Dmcf_pgtable.h158 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
Dmotorola_pgtable.h102 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.4.14/arch/microblaze/include/asm/
Dhighmem.h28 extern pgprot_t kmap_prot;
55 extern void *kmap_atomic_prot(struct page *page, pgprot_t prot);
Dpci.h81 extern pgprot_t pci_phys_mem_access_prot(struct file *file,
84 pgprot_t prot);
Dfixmap.h59 phys_addr_t phys, pgprot_t flags);
Dpage.h90 typedef struct { unsigned long pgprot; } pgprot_t; typedef
116 # define __pgprot(x) ((pgprot_t) { (x) })
Dpgtable.h368 static inline pte_t mk_pte_phys(phys_addr_t physpage, pgprot_t pgprot) in mk_pte_phys()
383 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.4.14/arch/parisc/include/asm/
Dpage.h46 typedef struct { unsigned long pgprot; } pgprot_t; typedef
57 #define __pgprot(x) ((pgprot_t) { (x) } )
69 typedef unsigned long pgprot_t; typedef
Dpgtable.h398 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte()
405 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.4.14/arch/cris/include/asm/
Dpage.h28 typedef struct { unsigned long pgprot; } pgprot_t; typedef
38 #define __pgprot(x) ((pgprot_t) { (x) } )
Dcacheflush.h30 int change_page_attr(struct page *page, int numpages, pgprot_t prot);
Dpgtable.h178 static inline pte_t __mk_pte(void * page, pgprot_t pgprot) in __mk_pte()
196 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
Dio.h40 extern void __iomem * __ioremap_prot(unsigned long phys_addr, unsigned long size, pgprot_t prot);
/linux-4.4.14/arch/tile/mm/
Dinit.c210 static pgprot_t __init construct_pgprot(pgprot_t prot, int home) in construct_pgprot()
226 static pgprot_t __init init_pgprot(ulong address) in init_pgprot()
378 static inline pgprot_t ktext_set_nocache(pgprot_t prot) in ktext_set_nocache()
464 pgprot_t prot = init_pgprot(address); in kernel_physical_mapping_init()
475 pgprot_t prot = init_pgprot(address); in kernel_physical_mapping_init()
513 pgprot_t prot = construct_pgprot(PAGE_KERNEL_EXEC, in kernel_physical_mapping_init()
Dpgtable.c371 pgprot_t set_remote_cache_cpu(pgprot_t prot, int cpu) in set_remote_cache_cpu()
383 int get_remote_cache_cpu(pgprot_t prot) in get_remote_cache_cpu()
510 pgprot_t home) in ioremap_prot()
515 pgprot_t pgprot; in ioremap_prot()
Dhighmem.c198 void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
274 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in kmap_atomic_prot_pfn()
/linux-4.4.14/drivers/staging/android/ion/
Dion_heap.c34 pgprot_t pgprot; in ion_heap_map_kernel()
106 static int ion_heap_clear_pages(struct page **pages, int num, pgprot_t pgprot) in ion_heap_clear_pages()
119 pgprot_t pgprot) in ion_heap_sglist_zero()
144 pgprot_t pgprot; in ion_heap_buffer_zero()
154 int ion_heap_pages_zero(struct page *page, size_t size, pgprot_t pgprot) in ion_heap_pages_zero()
Dion_priv.h235 int ion_heap_pages_zero(struct page *page, size_t size, pgprot_t pgprot);
Dion_test.c50 pgprot_t pgprot = pgprot_writecombine(PAGE_KERNEL); in ion_handle_test_dma()
/linux-4.4.14/arch/openrisc/include/asm/
Dpage.h63 } pgprot_t; typedef
72 #define __pgprot(x) ((pgprot_t) { (x) })
Dio.h36 pgprot_t prot);
Dpgtable.h316 static inline pte_t __mk_pte(void *page, pgprot_t pgprot) in __mk_pte()
334 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.4.14/arch/m32r/include/asm/
Dpage.h32 typedef struct { unsigned long pgprot; } pgprot_t; typedef
42 #define __pgprot(x) ((pgprot_t) { (x) } )
Dpgtable.h265 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached()
281 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.4.14/arch/nios2/include/asm/
Dpage.h63 typedef struct { unsigned long pgprot; } pgprot_t; typedef
71 #define __pgprot(x) ((pgprot_t) { (x) })
Dpgtable.h119 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached()
178 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.4.14/arch/avr32/include/asm/
Dpage.h34 typedef struct { unsigned long pgprot; } pgprot_t; typedef
43 #define __pgprot(x) ((pgprot_t) { (x) })
Dpgtable.h282 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.4.14/arch/ia64/include/asm/
Dpage.h180 typedef struct { unsigned long pgprot; } pgprot_t; typedef
193 # define __pgprot(x) ((pgprot_t) { (x) } )
203 typedef unsigned long pgprot_t; typedef
Dpgtable.h356 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
357 unsigned long size, pgprot_t vma_prot);
/linux-4.4.14/arch/hexagon/include/asm/
Dpage.h84 typedef struct { unsigned long pgprot; } pgprot_t; typedef
92 #define __pgprot(x) ((pgprot_t) { (x) })
Dpgtable.h355 static inline pte_t pte_modify(pte_t pte, pgprot_t prot) in pte_modify()
/linux-4.4.14/arch/frv/include/asm/
Dpage.h27 typedef struct { unsigned long pgprot; } pgprot_t; typedef
40 #define __pgprot(x) ((pgprot_t) { (x) } )
/linux-4.4.14/mm/
Dmprotect.c63 unsigned long addr, unsigned long end, pgprot_t newprot, in change_pte_range()
138 pgprot_t newprot, int dirty_accountable, int prot_numa) in change_pmd_range()
195 pgprot_t newprot, int dirty_accountable, int prot_numa) in change_pud_range()
214 unsigned long addr, unsigned long end, pgprot_t newprot, in change_protection_range()
244 unsigned long end, pgprot_t newprot, in change_protection()
Dvmalloc.c120 unsigned long end, pgprot_t prot, struct page **pages, int *nr) in vmap_pte_range()
146 unsigned long end, pgprot_t prot, struct page **pages, int *nr) in vmap_pmd_range()
163 unsigned long end, pgprot_t prot, struct page **pages, int *nr) in vmap_pud_range()
186 pgprot_t prot, struct page **pages) in vmap_page_range_noflush()
207 pgprot_t prot, struct page **pages) in vmap_page_range()
1117 void *vm_map_ram(struct page **pages, unsigned int count, int node, pgprot_t prot) in vm_map_ram()
1251 pgprot_t prot, struct page **pages) in map_kernel_range_noflush()
1294 int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page **pages) in map_vm_area()
1553 unsigned long flags, pgprot_t prot) in vmap()
1577 gfp_t gfp_mask, pgprot_t prot,
[all …]
Dearly_ioremap.c50 phys_addr_t phys, pgprot_t prot) in __late_set_fixmap()
98 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap()
Dnommu.c264 void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot) in __vmalloc()
451 void *vmap(struct page **pages, unsigned int count, unsigned long flags, pgprot_t prot) in vmap()
464 void *vm_map_ram(struct page **pages, unsigned int count, int node, pgprot_t prot) in vm_map_ram()
1784 unsigned long pfn, unsigned long size, pgprot_t prot) in remap_pfn_range()
/linux-4.4.14/arch/mn10300/include/asm/
Dpage.h40 typedef struct { unsigned long pgprot; } pgprot_t; typedef
58 #define __pgprot(x) ((pgprot_t) { (x) })
Dhighmem.h30 extern pgprot_t kmap_prot;
/linux-4.4.14/arch/s390/include/asm/
Dhugetlb.h72 static inline pte_t mk_huge_pte(struct page *page, pgprot_t pgprot) in mk_huge_pte()
107 static inline pte_t huge_pte_modify(pte_t pte, pgprot_t newprot) in huge_pte_modify()
Dpage.h70 typedef struct { unsigned long pgprot; } pgprot_t; typedef
90 #define __pgprot(x) ((pgprot_t) { (x) } )
Dpgtable.h898 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
1296 static inline pte_t mk_pte_phys(unsigned long physpage, pgprot_t pgprot) in mk_pte_phys()
1303 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte()
1354 static inline unsigned long massage_pgprot_pmd(pgprot_t pgprot) in massage_pgprot_pmd()
1422 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
1441 static inline pmd_t mk_pmd_phys(unsigned long physpage, pgprot_t pgprot) in mk_pmd_phys()
/linux-4.4.14/drivers/gpu/drm/ttm/
Dttm_bo_util.c252 pgprot_t prot) in ttm_copy_io_ttm_page()
289 pgprot_t prot) in ttm_copy_ttm_io_page()
384 pgprot_t prot = ttm_io_prot(old_mem->placement, in ttm_bo_move_memcpy()
389 pgprot_t prot = ttm_io_prot(new_mem->placement, in ttm_bo_move_memcpy()
481 pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp) in ttm_io_prot()
534 struct ttm_mem_reg *mem = &bo->mem; pgprot_t prot; in ttm_bo_kmap_ttm()
/linux-4.4.14/arch/score/include/asm/
Dpage.h46 typedef struct { unsigned long pgprot; } pgprot_t; typedef
55 #define __pgprot(x) ((pgprot_t) { (x) })
Dpgtable.h153 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached()
244 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.4.14/arch/metag/include/asm/
Dpage.h76 typedef struct { unsigned long pgprot; } pgprot_t; typedef
85 #define __pgprot(x) ((pgprot_t) { (x) })
Dpgtable.h156 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.4.14/arch/mips/loongson64/common/
Dmem.c113 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
114 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
/linux-4.4.14/arch/um/include/asm/
Dpgtable-3level.h101 static inline pte_t pfn_pte(pfn_t page_nr, pgprot_t pgprot) in pfn_pte()
110 static inline pmd_t pfn_pmd(pfn_t page_nr, pgprot_t pgprot) in pfn_pmd()
Dpage.h84 typedef struct { unsigned long pgprot; } pgprot_t; typedef
93 #define __pgprot(x) ((pgprot_t) { (x) } )
Dfixmap.h40 unsigned long phys, pgprot_t flags);
Dpgtable.h285 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.4.14/arch/sh/mm/
Dinit.c72 static void set_pte_phys(unsigned long addr, unsigned long phys, pgprot_t prot) in set_pte_phys()
89 static void clear_pte_phys(unsigned long addr, pgprot_t prot) in clear_pte_phys()
102 void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot) in __set_fixmap()
114 void __clear_fixmap(enum fixed_addresses idx, pgprot_t prot) in __clear_fixmap()
Dnommu.c98 void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot) in __set_fixmap()
Dioremap.c39 pgprot_t pgprot, void *caller) in __ioremap_caller()
Dpmb.c117 static inline unsigned long pgprot_to_pmb_flags(pgprot_t prot) in pgprot_to_pmb_flags()
207 static inline bool pmb_prot_valid(pgprot_t prot) in pmb_prot_valid()
336 unsigned long size, pgprot_t prot) in pmb_bolt_mapping()
411 pgprot_t prot, void *caller) in pmb_remap_caller()
Dioremap_fixed.c47 ioremap_fixed(phys_addr_t phys_addr, unsigned long size, pgprot_t prot) in ioremap_fixed()
/linux-4.4.14/arch/xtensa/include/asm/
Dpage.h107 typedef struct { unsigned long pgprot; } pgprot_t; typedef
116 #define __pgprot(x) ((pgprot_t) { (x) } )
Dpgtable.h293 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.4.14/arch/sh/include/cpu-sh4/cpu/
Dsq.h32 const char *name, pgprot_t prot);
/linux-4.4.14/arch/x86/xen/
Dmmu.h16 void set_pte_mfn(unsigned long vaddr, unsigned long pfn, pgprot_t flags);
Dmmu.c289 void set_pte_mfn(unsigned long vaddr, unsigned long mfn, pgprot_t flags) in set_pte_mfn()
1659 static inline void __set_pfn_prot(unsigned long pfn, pgprot_t prot) in __set_pfn_prot()
1799 static void __init set_page_prot_flags(void *addr, pgprot_t prot, in set_page_prot_flags()
1812 static void __init set_page_prot(void *addr, pgprot_t prot) in set_page_prot()
2325 static void xen_set_fixmap(unsigned idx, phys_addr_t phys, pgprot_t prot) in xen_set_fixmap()
2786 pgprot_t prot;
2813 int *err_ptr, pgprot_t prot, in do_remap_gfn()
2898 pgprot_t prot, unsigned domid, in xen_remap_domain_gfn_range()
2908 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array()
/linux-4.4.14/drivers/xen/
Dxlate_mmu.c63 pgprot_t prot;
143 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array()
/linux-4.4.14/arch/powerpc/mm/
Dpgtable_32.c397 static int __change_page_attr(struct page *page, pgprot_t prot) in __change_page_attr()
423 static int change_page_attr(struct page *page, int numpages, pgprot_t prot) in change_page_attr()
450 void __set_fixmap (enum fixed_addresses idx, phys_addr_t phys, pgprot_t flags) in __set_fixmap()
Dmem.c69 pgprot_t kmap_prot;
94 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
95 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
Dhighmem.c32 void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
Dpgtable_64.c760 static pmd_t pmd_set_protbits(pmd_t pmd, pgprot_t pgprot) in pmd_set_protbits()
766 pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot) in pfn_pmd()
780 pmd_t mk_pmd(struct page *page, pgprot_t pgprot) in mk_pmd()
785 pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
Dmmu_decl.h99 unsigned int size, pgprot_t prot);
Dppc_mmu_32.c116 unsigned int size, pgprot_t prot) in setbat()
/linux-4.4.14/arch/tile/gxio/
Dkiorpc.c33 pgprot_t mmio_base, prot = { 0 }; in iorpc_ioremap()
/linux-4.4.14/arch/hexagon/mm/
Dioremap.c31 pgprot_t prot = __pgprot(_PAGE_PRESENT|_PAGE_READ|_PAGE_WRITE in ioremap_nocache()
/linux-4.4.14/arch/arm/xen/
Denlighten.c55 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array()
68 pgprot_t prot, unsigned domid, in xen_remap_domain_gfn_range()
/linux-4.4.14/arch/sh/boards/mach-lboxre2/
Dsetup.c53 pgprot_t prot; in lboxre2_devices_setup()
/linux-4.4.14/arch/microblaze/mm/
Dhighmem.c34 void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
Dpgtable.c252 void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t flags) in __set_fixmap()
Dinit.c55 pgprot_t kmap_prot;
/linux-4.4.14/arch/cris/mm/
Dioremap.c30 void __iomem * __ioremap_prot(unsigned long phys_addr, unsigned long size, pgprot_t prot) in __ioremap_prot()
/linux-4.4.14/arch/sh/boards/mach-sh03/
Dsetup.c78 pgprot_t prot; in sh03_devices_setup()
/linux-4.4.14/arch/sh/boards/mach-landisk/
Dsetup.c57 pgprot_t prot; in landisk_devices_setup()
/linux-4.4.14/arch/arc/mm/
Dioremap.c47 pgprot_t prot = __pgprot(flags); in ioremap_prot()
/linux-4.4.14/arch/metag/mm/
Dioremap.c34 pgprot_t prot; in __ioremap()
/linux-4.4.14/arch/avr32/mm/
Dioremap.c28 pgprot_t prot; in __ioremap()
/linux-4.4.14/arch/m32r/mm/
Dioremap.c48 pgprot_t pgprot; in __ioremap()
/linux-4.4.14/arch/sparc/mm/
Dhighmem.c34 pgprot_t kmap_prot;
Dinit_64.c1562 unsigned long pend, pgprot_t prot, in kernel_map_range()
2376 pgprot_t PAGE_KERNEL __read_mostly;
2379 pgprot_t PAGE_KERNEL_LOCKED __read_mostly;
2380 pgprot_t PAGE_COPY __read_mostly;
2382 pgprot_t PAGE_SHARED __read_mostly;
2616 pte_t mk_pte_io(unsigned long page, pgprot_t prot, int space, unsigned long page_size) in mk_pte_io()
Dio-unit.c207 pgprot_t dvma_prot; in iounit_map_dma_area()
/linux-4.4.14/arch/parisc/mm/
Dioremap.c32 pgprot_t pgprot; in __ioremap()
/linux-4.4.14/arch/openrisc/mm/
Dioremap.c42 __ioremap(phys_addr_t addr, unsigned long size, pgprot_t prot) in __ioremap()
Dinit.c78 pgprot_t prot; in map_ram()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_vm.c56 static pgprot_t drm_io_prot(struct drm_local_map *map, in drm_io_prot()
59 pgprot_t tmp = vm_get_page_prot(vma->vm_flags); in drm_io_prot()
78 static pgprot_t drm_dma_prot(uint32_t map_type, struct vm_area_struct *vma) in drm_dma_prot()
80 pgprot_t tmp = vm_get_page_prot(vma->vm_flags); in drm_dma_prot()
/linux-4.4.14/drivers/base/
Ddma-mapping.c279 unsigned long vm_flags, pgprot_t prot, in dma_common_pages_remap()
305 pgprot_t prot, const void *caller) in dma_common_contiguous_remap()
/linux-4.4.14/arch/mips/mm/
Dpgtable-64.c79 pmd_t mk_pmd(struct page *page, pgprot_t prot) in mk_pmd()
Dioremap.c24 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | __READABLE in remap_area_pte()
/linux-4.4.14/arch/ia64/mm/
Dioremap.c40 pgprot_t prot; in ioremap()
/linux-4.4.14/arch/arm64/kernel/
Dacpi.c215 pgprot_t arch_apei_get_mem_attribute(phys_addr_t addr) in arch_apei_get_mem_attribute()
Defi.c242 pgprot_t prot; in efi_virtmap_init()
/linux-4.4.14/arch/frv/mm/
Ddma-alloc.c50 static int map_page(unsigned long va, unsigned long pa, pgprot_t prot) in map_page()
/linux-4.4.14/arch/sh/kernel/cpu/sh4/
Dsq.c104 static int __sq_remap(struct sq_mapping *map, pgprot_t prot) in __sq_remap()
146 const char *name, pgprot_t prot) in sq_remap()
/linux-4.4.14/include/drm/ttm/
Dttm_bo_driver.h1029 extern pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp);
/linux-4.4.14/arch/mn10300/mm/
Dpgtable.c35 void set_pmd_pfn(unsigned long vaddr, unsigned long pfn, pgprot_t flags) in set_pmd_pfn()
/linux-4.4.14/arch/s390/kernel/
Dcrash_dump.c154 unsigned long size, pgprot_t prot) in remap_oldmem_pfn_range_kdump()
182 unsigned long size, pgprot_t prot) in remap_oldmem_pfn_range_zfcpdump()
202 unsigned long pfn, unsigned long size, pgprot_t prot) in remap_oldmem_pfn_range()
/linux-4.4.14/arch/unicore32/mm/
Dmmu.c46 pgprot_t pgprot_user;
49 pgprot_t pgprot_kernel;
/linux-4.4.14/drivers/char/
Dmem.c224 unsigned long pfn, unsigned long size, pgprot_t *vma_prot) in phys_mem_access_prot_allowed()
265 static pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
266 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
/linux-4.4.14/arch/microblaze/pci/
Dpci-common.c234 static pgprot_t __pci_mmap_set_pgprot(struct pci_dev *dev, struct resource *rp, in __pci_mmap_set_pgprot()
235 pgprot_t protection, in __pci_mmap_set_pgprot()
239 pgprot_t prot = protection; in __pci_mmap_set_pgprot()
262 pgprot_t pci_phys_mem_access_prot(struct file *file, in pci_phys_mem_access_prot()
265 pgprot_t prot) in pci_phys_mem_access_prot()
/linux-4.4.14/arch/nios2/mm/
Dioremap.c28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ in remap_area_pte()
/linux-4.4.14/arch/alpha/kernel/
Dproto.h195 pgprot_t prot; in __alpha_remap_area_pages()
/linux-4.4.14/arch/tile/kernel/
Dmodule.c40 pgprot_t prot_rwx = __pgprot(_PAGE_KERNEL | _PAGE_KERNEL_EXEC); in module_alloc()
/linux-4.4.14/arch/m68k/kernel/
Ddma.c25 pgprot_t pgprot; in dma_alloc_coherent()
/linux-4.4.14/arch/ia64/pci/
Dpci.c426 pgprot_t prot; in pci_mmap_page_range()
497 pgprot_t prot; in pci_mmap_legacy_page_range()
/linux-4.4.14/arch/x86/include/asm/xen/
Dpage.h260 static inline pte_t mfn_pte(unsigned long page_nr, pgprot_t pgprot) in mfn_pte()
/linux-4.4.14/arch/arm/kvm/
Dmmu.c453 pgprot_t prot) in create_hyp_pte_mappings()
470 pgprot_t prot) in create_hyp_pmd_mappings()
504 pgprot_t prot) in create_hyp_pud_mappings()
538 unsigned long pfn, pgprot_t prot) in __create_hyp_mappings()
1227 pgprot_t mem_type = PAGE_S2; in user_mem_abort()
/linux-4.4.14/arch/powerpc/kernel/
Dpci-common.c362 static pgprot_t __pci_mmap_set_pgprot(struct pci_dev *dev, struct resource *rp, in __pci_mmap_set_pgprot()
363 pgprot_t protection, in __pci_mmap_set_pgprot()
393 pgprot_t pci_phys_mem_access_prot(struct file *file, in pci_phys_mem_access_prot()
396 pgprot_t prot) in pci_phys_mem_access_prot()
/linux-4.4.14/fs/proc/
Dvmcore.c162 unsigned long size, pgprot_t prot) in remap_oldmem_pfn_range()
345 unsigned long size, pgprot_t prot) in remap_oldmem_pfn_checked()
395 unsigned long size, pgprot_t prot) in vmcore_remap_oldmem_pfn()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Dt4.h274 static inline pgprot_t t4_pgprot_wc(pgprot_t prot) in t4_pgprot_wc()
/linux-4.4.14/arch/powerpc/platforms/powernv/
Dopal-prd.c115 pgprot_t page_prot; in opal_prd_mmap()
/linux-4.4.14/arch/x86/kernel/
Dtboot.c124 pgprot_t prot) in map_tboot_page()

12