Home
last modified time | relevance | path

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

12

/linux-4.1.27/arch/x86/include/asm/
Dpgtable_types.h218 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; typedef
305 #define __pgprot(x) ((pgprot_t) { (x) } )
325 static inline pgprot_t cachemode2pgprot(enum page_cache_mode pcm) in cachemode2pgprot()
329 static inline enum page_cache_mode pgprot2cachemode(pgprot_t pgprot) in pgprot2cachemode()
338 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large()
341 pgprot_t new; in pgprot_4k_2_large()
347 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot) in pgprot_large_2_4k()
350 pgprot_t new; in pgprot_large_2_4k()
366 extern pgprot_t pgprot_writecombine(pgprot_t prot);
373 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
[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.h327 static inline pgprotval_t massage_pgprot(pgprot_t pgprot) in massage_pgprot()
337 static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot) in pfn_pte()
343 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd()
349 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
363 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
375 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify()
/linux-4.1.27/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.h77 typedef struct { unsigned long long pgprot; } pgprot_t; typedef
85 typedef struct { unsigned long pgprot; } pgprot_t; typedef
91 typedef struct { unsigned long long pgprot; } pgprot_t; typedef
101 #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()
355 extern void __iomem *ioremap_fixed(phys_addr_t, unsigned long, pgprot_t);
360 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()
Dpgtable_32.h391 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.1.27/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.h32 phys_addr_t phys_addr, pgprot_t prot);
35 phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range()
Dio-mapping.h41 pgprot_t prot;
55 pgprot_t prot; in io_mapping_create_wc()
Dcrash_dump.h23 unsigned long size, pgprot_t prot);
Dagpgart.h62 pgprot_t prot;
Dhugetlb.h112 unsigned long address, unsigned long end, pgprot_t newprot);
156 unsigned long address, unsigned long end, pgprot_t newprot) in hugetlb_change_protection()
Dmm_types.h270 pgprot_t vm_page_prot; /* Access permissions of this VMA. */
Dhuge_mm.h34 unsigned long addr, pgprot_t newprot,
Dmm.h205 extern pgprot_t protection_map[16];
1286 unsigned long end, pgprot_t newprot,
2014 pgprot_t vm_get_page_prot(unsigned long vm_flags);
2017 static inline pgprot_t vm_get_page_prot(unsigned long vm_flags) in vm_get_page_prot()
2034 unsigned long pfn, unsigned long size, pgprot_t);
/linux-4.1.27/include/asm-generic/
Dpgtable.h271 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify()
492 static inline int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap()
503 static inline int track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert()
528 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot,
531 extern int track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot,
701 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot);
702 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot);
706 static inline int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot) in pud_set_huge()
710 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.h189 pgprot_t prot, const void *caller);
192 unsigned long vm_flags, pgprot_t prot,
/linux-4.1.27/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.c291 pgprot_t prot, struct page **ret_page,
295 pgprot_t prot, struct page **ret_page,
299 __dma_alloc_remap(struct page *page, size_t size, gfp_t gfp, pgprot_t prot, in __dma_alloc_remap()
349 pgprot_t prot = pgprot_dmacoherent(PAGE_KERNEL); in atomic_pool_init()
453 pgprot_t prot = *(pgprot_t *)data; in __dma_update_pte()
459 static void __dma_remap(struct page *page, size_t size, pgprot_t prot) in __dma_remap()
469 pgprot_t prot, struct page **ret_page, in __alloc_remap_buffer()
528 pgprot_t prot, struct page **ret_page, in __alloc_from_contiguous()
573 static inline pgprot_t __get_dma_pgprot(struct dma_attrs *attrs, pgprot_t prot) in __get_dma_pgprot()
612 gfp_t gfp, pgprot_t prot, bool is_coherent, in __dma_alloc()
[all …]
Dmmu.c66 pgprot_t pgprot_user;
67 pgprot_t pgprot_kernel;
68 pgprot_t pgprot_hyp_device;
69 pgprot_t pgprot_s2;
70 pgprot_t pgprot_s2_device;
365 void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot) in __set_fixmap()
659 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
660 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.1.27/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.h21 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.1.27/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.c52 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
53 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
91 pgprot_t prot, in alloc_init_pte()
115 pgprot_t prot = __pgprot(pud_val(*old_pud) ^ addr); in split_pud()
126 phys_addr_t phys, pgprot_t prot, in alloc_init_pmd()
191 phys_addr_t phys, pgprot_t prot, in alloc_init_pud()
243 phys_addr_t size, pgprot_t prot, in __create_mapping()
270 phys_addr_t size, pgprot_t prot) in create_mapping()
283 pgprot_t prot) in create_pgd_mapping()
290 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.c34 static pgprot_t __get_dma_pgprot(struct dma_attrs *attrs, pgprot_t prot, in __get_dma_pgprot()
358 pgprot_t prot = __pgprot(PROT_NORMAL_NC); in atomic_pool_init()
/linux-4.1.27/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.1.27/arch/mips/include/asm/
Dpgtable.h406 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached()
415 static inline pgprot_t pgprot_writecombine(pgprot_t _prot) in pgprot_writecombine()
432 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
441 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
469 …uct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t prot);
475 pgprot_t prot) in io_remap_pfn_range()
589 extern pmd_t mk_pmd(struct page *page, pgprot_t prot);
604 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
643 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
644 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.1.27/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);
67 void *kmap_atomic_prot(struct page *page, pgprot_t prot);
Dpage.h85 typedef HV_PTE pgprot_t; typedef
102 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()
Dio.h48 pgprot_t pgprot);
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.h153 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
159 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
268 static inline pgprot_t mk_sect_prot(pgprot_t prot) in mk_sect_prot()
332 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
333 unsigned long size, pgprot_t vma_prot);
462 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
470 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
Dmmu.h36 pgprot_t prot);
Dfixmap.h68 extern void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot);
Dio.h166 extern void __iomem *__ioremap(phys_addr_t phys_addr, size_t size, pgprot_t prot);
/linux-4.1.27/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()
205 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
206 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);
Dpage.h320 typedef struct { unsigned long pgprot; } pgprot_t; typedef
322 #define __pgprot(x) ((pgprot_t) { (x) })
357 typedef unsigned long pgprot_t; typedef
Dpci.h165 extern pgprot_t pci_phys_mem_access_prot(struct file *file,
168 pgprot_t prot);
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.h188 pgprot_t (*phys_mem_access_prot)(struct file *file,
191 pgprot_t vma_prot);
Dpgtable-ppc64.h439 extern pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot);
440 extern pmd_t mk_pmd(struct page *page, pgprot_t pgprot);
441 extern pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot);
/linux-4.1.27/arch/arc/include/asm/
Dpage.h45 } pgprot_t; typedef
54 #define __pgprot(x) ((pgprot_t) { (x) })
62 typedef unsigned long pgprot_t; typedef
Dpgtable.h306 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.1.27/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()
77 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;
252 static inline pgprot_t static_protections(pgprot_t prot, unsigned long address, in static_protections()
255 pgprot_t forbidden = __pgprot(0); in static_protections()
466 pgprot_t old_prot, new_prot, req_prot; in try_preserve_large_page()
552 pgprot_t chk_prot = static_protections(req_prot, addr, pfn); in try_preserve_large_page()
600 pgprot_t ref_prot; in __split_large_page()
880 unsigned num_pages, pmd_t *pmd, pgprot_t pgprot) in populate_pte()
902 unsigned num_pages, pud_t *pud, pgprot_t pgprot) in populate_pmd()
906 pgprot_t pmd_pgprot; in populate_pmd()
[all …]
Dpat.c606 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
607 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
643 unsigned long size, pgprot_t *vma_prot) 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()
808 pgprot_t pgprot; in track_pfn_copy()
831 int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap()
870 int track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert()
914 pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
Ddump_pagetables.c29 pgprot_t current_prot;
124 static void printk_prot(struct seq_file *m, pgprot_t prot, int level, bool dmsg) in printk_prot()
191 pgprot_t new_prot, int level) in note_page()
275 pgprot_t prot = pte_pgprot(*start); in walk_pte_level()
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;
Dpgtable.c560 pgprot_t flags) in native_set_fixmap()
566 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot) in pud_set_huge()
587 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot) in pmd_set_huge()
Dioremap.c91 pgprot_t prot; in __ioremap_caller()
442 phys_addr_t phys, pgprot_t flags) in __early_set_fixmap()
Dhighmem_32.c33 void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
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.1.27/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.1.27/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()
Dmotorola_pgtable.h102 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()
/linux-4.1.27/arch/microblaze/include/asm/
Dhighmem.h28 extern pgprot_t kmap_prot;
55 extern void *kmap_atomic_prot(struct page *page, pgprot_t prot);
Dpci.h121 extern pgprot_t pci_phys_mem_access_prot(struct file *file,
124 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.1.27/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.h380 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte()
387 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.1.27/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.h38 extern void __iomem * __ioremap_prot(unsigned long phys_addr, unsigned long size, pgprot_t prot);
/linux-4.1.27/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()
273 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in kmap_atomic_prot_pfn()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/arch/frv/include/asm/
Dpage.h27 typedef struct { unsigned long pgprot; } pgprot_t; typedef
40 #define __pgprot(x) ((pgprot_t) { (x) } )
/linux-4.1.27/mm/
Dmprotect.c61 unsigned long addr, unsigned long end, pgprot_t newprot, in change_pte_range()
136 pgprot_t newprot, int dirty_accountable, int prot_numa) in change_pmd_range()
193 pgprot_t newprot, int dirty_accountable, int prot_numa) in change_pud_range()
212 unsigned long addr, unsigned long end, pgprot_t newprot, in change_protection_range()
242 unsigned long end, pgprot_t newprot, in change_protection()
Dearly_ioremap.c49 phys_addr_t phys, pgprot_t prot) in __late_set_fixmap()
97 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap()
Dvmalloc.c118 unsigned long end, pgprot_t prot, struct page **pages, int *nr) in vmap_pte_range()
144 unsigned long end, pgprot_t prot, struct page **pages, int *nr) in vmap_pmd_range()
161 unsigned long end, pgprot_t prot, struct page **pages, int *nr) in vmap_pud_range()
184 pgprot_t prot, struct page **pages) in vmap_page_range_noflush()
205 pgprot_t prot, struct page **pages) in vmap_page_range()
1115 void *vm_map_ram(struct page **pages, unsigned int count, int node, pgprot_t prot) in vm_map_ram()
1249 pgprot_t prot, struct page **pages) in map_kernel_range_noflush()
1292 int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page **pages) in map_vm_area()
1552 unsigned long flags, pgprot_t prot) in vmap()
1576 gfp_t gfp_mask, pgprot_t prot,
[all …]
Dnommu.c280 void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot) in __vmalloc()
467 void *vmap(struct page **pages, unsigned int count, unsigned long flags, pgprot_t prot) in vmap()
480 void *vm_map_ram(struct page **pages, unsigned int count, int node, pgprot_t prot) in vm_map_ram()
1855 unsigned long pfn, unsigned long size, pgprot_t prot) in remap_pfn_range()
Dmemory.c1441 struct page *page, pgprot_t prot) in insert_page()
1519 unsigned long pfn, pgprot_t prot) in insert_pfn()
1567 pgprot_t pgprot = vma->vm_page_prot; in vm_insert_pfn()
1623 unsigned long pfn, pgprot_t prot) in remap_pte_range()
1644 unsigned long pfn, pgprot_t prot) in remap_pmd_range()
1665 unsigned long pfn, pgprot_t prot) in remap_pud_range()
1694 unsigned long pfn, unsigned long size, pgprot_t prot) in remap_pfn_range()
/linux-4.1.27/arch/s390/include/asm/
Dhugetlb.h76 static inline pte_t mk_huge_pte(struct page *page, pgprot_t pgprot) in mk_huge_pte()
111 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.h836 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
1231 static inline pte_t mk_pte_phys(unsigned long physpage, pgprot_t pgprot) in mk_pte_phys()
1238 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte()
1289 static inline unsigned long massage_pgprot_pmd(pgprot_t pgprot) in massage_pgprot_pmd()
1356 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
1374 static inline pmd_t mk_pmd_phys(unsigned long physpage, pgprot_t pgprot) in mk_pmd_phys()
/linux-4.1.27/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.1.27/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()
533 struct ttm_mem_reg *mem = &bo->mem; pgprot_t prot; in ttm_bo_kmap_ttm()
/linux-4.1.27/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.1.27/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.1.27/drivers/xen/
Dxlate_mmu.c66 pgprot_t prot;
99 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array()
/linux-4.1.27/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.1.27/arch/mips/loongson/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.1.27/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.1.27/arch/xtensa/include/asm/
Dpage.h107 typedef struct { unsigned long pgprot; } pgprot_t; typedef
116 #define __pgprot(x) ((pgprot_t) { (x) } )
Dpgtable.h289 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-4.1.27/arch/sh/include/cpu-sh4/cpu/
Dsq.h32 const char *name, pgprot_t prot);
/linux-4.1.27/arch/x86/xen/
Dmmu.h16 void set_pte_mfn(unsigned long vaddr, unsigned long pfn, pgprot_t flags);
Dmmu.c288 void set_pte_mfn(unsigned long vaddr, unsigned long mfn, pgprot_t flags) in set_pte_mfn()
1547 static inline void __set_pfn_prot(unsigned long pfn, pgprot_t prot) in __set_pfn_prot()
1687 static void __init set_page_prot_flags(void *addr, pgprot_t prot, in set_page_prot_flags()
1700 static void __init set_page_prot(void *addr, pgprot_t prot) in set_page_prot()
1978 static void xen_set_fixmap(unsigned idx, phys_addr_t phys, pgprot_t prot) in xen_set_fixmap()
2444 pgprot_t prot;
2471 int *err_ptr, pgprot_t prot, in do_remap_mfn()
2555 pgprot_t prot, unsigned domid, in xen_remap_domain_mfn_range()
2565 int *err_ptr, pgprot_t prot, in xen_remap_domain_mfn_array()
/linux-4.1.27/arch/powerpc/mm/
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()
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()
Dhighmem.c32 void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
Dpgtable_64.c775 static pmd_t pmd_set_protbits(pmd_t pmd, pgprot_t pgprot) in pmd_set_protbits()
781 pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot) in pfn_pmd()
795 pmd_t mk_pmd(struct page *page, pgprot_t pgprot) in mk_pmd()
800 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.1.27/arch/tile/gxio/
Dkiorpc.c33 pgprot_t mmio_base, prot = { 0 }; in iorpc_ioremap()
/linux-4.1.27/arch/hexagon/mm/
Dioremap.c31 pgprot_t prot = __pgprot(_PAGE_PRESENT|_PAGE_READ|_PAGE_WRITE in ioremap_nocache()
/linux-4.1.27/arch/arm/xen/
Denlighten.c59 int *err_ptr, pgprot_t prot, in xen_remap_domain_mfn_array()
72 pgprot_t prot, unsigned domid, in xen_remap_domain_mfn_range()
/linux-4.1.27/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.1.27/arch/sh/boards/mach-lboxre2/
Dsetup.c53 pgprot_t prot; in lboxre2_devices_setup()
/linux-4.1.27/arch/cris/mm/
Dioremap.c30 void __iomem * __ioremap_prot(unsigned long phys_addr, unsigned long size, pgprot_t prot) in __ioremap_prot()
/linux-4.1.27/arch/sh/boards/mach-landisk/
Dsetup.c57 pgprot_t prot; in landisk_devices_setup()
/linux-4.1.27/arch/sh/boards/mach-sh03/
Dsetup.c78 pgprot_t prot; in sh03_devices_setup()
/linux-4.1.27/arch/metag/mm/
Dioremap.c34 pgprot_t prot; in __ioremap()
/linux-4.1.27/arch/arc/mm/
Dioremap.c47 pgprot_t prot = __pgprot(flags); in ioremap_prot()
/linux-4.1.27/arch/avr32/mm/
Dioremap.c28 pgprot_t prot; in __ioremap()
/linux-4.1.27/arch/sparc/mm/
Dhighmem.c34 pgprot_t kmap_prot;
Dinit_64.c1505 unsigned long pend, pgprot_t prot, in kernel_map_range()
2317 pgprot_t PAGE_KERNEL __read_mostly;
2320 pgprot_t PAGE_KERNEL_LOCKED __read_mostly;
2321 pgprot_t PAGE_COPY __read_mostly;
2323 pgprot_t PAGE_SHARED __read_mostly;
2557 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.1.27/arch/parisc/mm/
Dioremap.c32 pgprot_t pgprot; in __ioremap()
/linux-4.1.27/arch/m32r/mm/
Dioremap.c48 pgprot_t pgprot; in __ioremap()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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()
Dinit.c83 static void *__kmap_pgprot(struct page *page, unsigned long addr, pgprot_t prot) in __kmap_pgprot()
/linux-4.1.27/arch/ia64/mm/
Dioremap.c40 pgprot_t prot; in ioremap()
/linux-4.1.27/arch/frv/mm/
Ddma-alloc.c50 static int map_page(unsigned long va, unsigned long pa, pgprot_t prot) in map_page()
/linux-4.1.27/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.1.27/include/drm/ttm/
Dttm_bo_driver.h1029 extern pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp);
/linux-4.1.27/arch/mn10300/mm/
Dpgtable.c35 void set_pmd_pfn(unsigned long vaddr, unsigned long pfn, pgprot_t flags) in set_pmd_pfn()
/linux-4.1.27/arch/unicore32/mm/
Dmmu.c46 pgprot_t pgprot_user;
49 pgprot_t pgprot_kernel;
/linux-4.1.27/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.1.27/arch/s390/kernel/
Dcrash_dump.c188 unsigned long size, pgprot_t prot) in remap_oldmem_pfn_range_kdump()
216 unsigned long size, pgprot_t prot) in remap_oldmem_pfn_range_zfcpdump()
236 unsigned long pfn, unsigned long size, pgprot_t prot) in remap_oldmem_pfn_range()
/linux-4.1.27/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.1.27/arch/nios2/mm/
Dioremap.c28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ in remap_area_pte()
/linux-4.1.27/arch/alpha/kernel/
Dproto.h195 pgprot_t prot; in __alpha_remap_area_pages()
/linux-4.1.27/arch/m68k/kernel/
Ddma.c25 pgprot_t pgprot; in dma_alloc_coherent()
/linux-4.1.27/arch/tile/kernel/
Dmodule.c40 pgprot_t prot_rwx = __pgprot(_PAGE_KERNEL | _PAGE_KERNEL_EXEC); in module_alloc()
/linux-4.1.27/arch/x86/include/asm/xen/
Dpage.h225 static inline pte_t mfn_pte(unsigned long page_nr, pgprot_t pgprot) in mfn_pte()
/linux-4.1.27/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()
1226 pgprot_t mem_type = PAGE_S2; in user_mem_abort()
/linux-4.1.27/arch/powerpc/kernel/
Dpci-common.c360 static pgprot_t __pci_mmap_set_pgprot(struct pci_dev *dev, struct resource *rp, in __pci_mmap_set_pgprot()
361 pgprot_t protection, in __pci_mmap_set_pgprot()
391 pgprot_t pci_phys_mem_access_prot(struct file *file, in pci_phys_mem_access_prot()
394 pgprot_t prot) in pci_phys_mem_access_prot()
/linux-4.1.27/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.1.27/arch/ia64/pci/
Dpci.c594 pgprot_t prot; in pci_mmap_page_range()
665 pgprot_t prot; in pci_mmap_legacy_page_range()
/linux-4.1.27/arch/arm64/kernel/
Defi.c238 pgprot_t prot; in efi_virtmap_init()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
Dt4.h273 static inline pgprot_t t4_pgprot_wc(pgprot_t prot) in t4_pgprot_wc()
/linux-4.1.27/arch/x86/kernel/
Dtboot.c124 pgprot_t prot) in map_tboot_page()
/linux-4.1.27/drivers/char/agp/
Dfrontend.c102 int size, pgprot_t page_prot) in agp_find_seg_in_client()
155 static pgprot_t agp_convert_mmap_flags(int prot) in agp_convert_mmap_flags()

12