/Linux-v4.19/arch/powerpc/include/asm/book3s/32/ |
D | pgtable.h | 304 static inline pgprot_t pte_pgprot(pte_t pte) { return __pgprot(pte_val(pte) & PAGE_PROT_BITS); } in pte_pgprot() 340 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte() 392 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() 465 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached() 472 static inline pgprot_t pgprot_noncached_wc(pgprot_t prot) in pgprot_noncached_wc() 479 static inline pgprot_t pgprot_cached(pgprot_t prot) in pgprot_cached() 486 static inline pgprot_t pgprot_cached_wthru(pgprot_t prot) in pgprot_cached_wthru() 493 static inline pgprot_t pgprot_cached_noncoherent(pgprot_t prot) in pgprot_cached_noncoherent() 499 static inline pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
|
/Linux-v4.19/arch/sh/include/asm/ |
D | mmu.h | 63 unsigned long size, pgprot_t prot); 65 pgprot_t prot, void *caller); 72 unsigned long size, pgprot_t prot) in pmb_bolt_mapping() 79 pgprot_t prot, void *caller) in pmb_remap_caller() 100 pmb_remap(phys_addr_t phys, unsigned long size, pgprot_t prot) in pmb_remap()
|
D | page.h | 79 typedef struct { unsigned long long pgprot; } pgprot_t; typedef 87 typedef struct { unsigned long pgprot; } pgprot_t; typedef 93 typedef struct { unsigned long long pgprot; } pgprot_t; typedef 103 #define __pgprot(x) ((pgprot_t) { (x) } )
|
/Linux-v4.19/arch/x86/include/asm/ |
D | pgtable_types.h | 266 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; typedef 454 #define __pgprot(x) ((pgprot_t) { (x) } ) 474 static inline pgprot_t cachemode2pgprot(enum page_cache_mode pcm) in cachemode2pgprot() 478 static inline enum page_cache_mode pgprot2cachemode(pgprot_t pgprot) in pgprot2cachemode() 487 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large() 490 pgprot_t new; in pgprot_4k_2_large() 496 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot) in pgprot_large_2_4k() 499 pgprot_t new; in pgprot_large_2_4k() 516 extern pgprot_t pgprot_writecombine(pgprot_t prot); 519 extern pgprot_t pgprot_writethrough(pgprot_t prot); [all …]
|
D | iomap.h | 30 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot); 36 iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot);
|
/Linux-v4.19/include/linux/ |
D | vmalloc.h | 61 int node, pgprot_t prot); 80 extern void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot); 83 pgprot_t prot, unsigned long vm_flags, int node, 101 unsigned long flags, pgprot_t prot); 138 extern int map_vm_area(struct vm_struct *area, pgprot_t prot, 142 pgprot_t prot, struct page **pages); 148 pgprot_t prot, struct page **pages) in map_kernel_range_noflush()
|
/Linux-v4.19/arch/arm64/mm/ |
D | pageattr.c | 24 pgprot_t set_mask; 25 pgprot_t clear_mask; 45 pgprot_t set_mask, pgprot_t clear_mask) in __change_memory_common() 61 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
|
D | mmu.c | 70 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot() 71 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot() 130 phys_addr_t phys, pgprot_t prot) in init_pte() 155 pgprot_t prot, in alloc_init_cont_pte() 173 pgprot_t __prot = prot; in alloc_init_cont_pte() 189 phys_addr_t phys, pgprot_t prot, in init_pmd() 227 pgprot_t prot, in alloc_init_cont_pmd() 247 pgprot_t __prot = prot; in alloc_init_cont_pmd() 275 phys_addr_t phys, pgprot_t prot, in alloc_init_pud() 326 pgprot_t prot, in __create_pgd_mapping() [all …]
|
/Linux-v4.19/include/asm-generic/ |
D | pgtable.h | 473 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() 767 static inline int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap() 778 static inline void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert() 809 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, 812 extern void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, 1005 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot); 1008 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge() 1018 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot); 1019 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot); 1025 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge() [all …]
|
/Linux-v4.19/arch/x86/mm/ |
D | cpu_entry_area.c | 30 void cea_set_pte(void *cea_vaddr, phys_addr_t pa, pgprot_t flags) in cea_set_pte() 50 cea_map_percpu_pages(void *cea_vaddr, void *ptr, int pages, pgprot_t prot) in cea_map_percpu_pages() 89 pgprot_t gdt_prot = PAGE_KERNEL_RO; in setup_cpu_entry_area() 90 pgprot_t tss_prot = PAGE_KERNEL_RO; in setup_cpu_entry_area() 102 pgprot_t gdt_prot = boot_cpu_has(X86_FEATURE_XENPV) ? in setup_cpu_entry_area() 104 pgprot_t tss_prot = PAGE_KERNEL; in setup_cpu_entry_area()
|
D | iomap_32.c | 34 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot) in iomap_create_wc() 60 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in kmap_atomic_prot_pfn() 81 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in iomap_atomic_prot_pfn()
|
/Linux-v4.19/arch/arm/include/asm/ |
D | pgtable.h | 84 extern pgprot_t pgprot_user; 85 extern pgprot_t pgprot_kernel; 86 extern pgprot_t pgprot_hyp_device; 87 extern pgprot_t pgprot_s2; 88 extern pgprot_t pgprot_s2_device; 133 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, 134 unsigned long size, pgprot_t vma_prot); 269 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit() 275 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit() 321 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
|
D | pgtable-2level-types.h | 36 typedef struct { pteval_t pgprot; } pgprot_t; typedef 45 #define __pgprot(x) ((pgprot_t) { (x) } ) 54 typedef pteval_t pgprot_t; typedef
|
D | pgtable-3level-types.h | 39 typedef struct { pteval_t pgprot; } pgprot_t; typedef 49 #define __pgprot(x) ((pgprot_t) { (x) } ) 56 typedef pteval_t pgprot_t; typedef
|
/Linux-v4.19/arch/sparc/include/asm/ |
D | pgtable_32.h | 284 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte() 289 static inline pte_t mk_pte_phys(unsigned long page, pgprot_t pgprot) in mk_pte_phys() 294 static inline pte_t mk_pte_io(unsigned long page, pgprot_t pgprot, int space) in mk_pte_io() 300 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached() 306 static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__; 307 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() 411 unsigned long, pgprot_t); 415 unsigned long size, pgprot_t prot) in io_remap_pfn_range()
|
/Linux-v4.19/arch/arm/mm/ |
D | pageattr.c | 21 pgprot_t set_mask; 22 pgprot_t clear_mask; 46 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
|
/Linux-v4.19/include/xen/ |
D | xen-ops.h | 85 int *err_ptr, pgprot_t prot, 108 int *err_ptr, pgprot_t prot, 126 pgprot_t prot, unsigned domid, 135 int *err_ptr, pgprot_t prot, 148 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array()
|
/Linux-v4.19/arch/mips/include/asm/ |
D | pgtable.h | 446 static inline pgprot_t pgprot_noncached(pgprot_t _prot) 457 static inline pgprot_t pgprot_writecombine(pgprot_t _prot) 474 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) 483 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) 492 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) 521 …uct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t prot); 527 pgprot_t prot) 622 extern pmd_t mk_pmd(struct page *page, pgprot_t prot); 637 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) 677 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, [all …]
|
/Linux-v4.19/lib/ |
D | ioremap.c | 62 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pte_range() 80 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pmd_range() 107 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pud_range() 134 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_p4d_range() 160 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range()
|
/Linux-v4.19/mm/ |
D | early_ioremap.c | 34 pgprot_t __init __weak early_memremap_pgprot_adjust(resource_size_t phys_addr, in early_memremap_pgprot_adjust() 36 pgprot_t prot) in early_memremap_pgprot_adjust() 58 phys_addr_t phys, pgprot_t prot) in __late_set_fixmap() 106 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap() 226 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap() 235 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap_ro()
|
/Linux-v4.19/arch/powerpc/include/asm/nohash/ |
D | pgtable.h | 22 static inline pgprot_t pte_pgprot(pte_t pte) { return __pgprot(pte_val(pte) & PAGE_PROT_BITS); } in pte_pgprot() 73 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) { in pfn_pte() 128 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() 208 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, 209 unsigned long size, pgprot_t vma_prot);
|
/Linux-v4.19/arch/unicore32/include/asm/ |
D | page.h | 39 typedef struct { unsigned long pgprot; } pgprot_t; typedef 47 #define __pgprot(x) ((pgprot_t) { (x) }) 55 typedef unsigned long pgprot_t; typedef
|
/Linux-v4.19/arch/x86/xen/ |
D | mmu.c | 69 pgprot_t prot; 101 int *err_ptr, pgprot_t prot, in do_remap_pfn() 180 pgprot_t prot, unsigned domid, in xen_remap_domain_gfn_range() 194 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array() 214 int *err_ptr, pgprot_t prot, in xen_remap_domain_mfn_array()
|
/Linux-v4.19/arch/arc/include/asm/ |
D | page.h | 45 } pgprot_t; typedef 53 #define __pgprot(x) ((pgprot_t) { (x) }) 65 typedef unsigned long pgprot_t; typedef
|
/Linux-v4.19/arch/alpha/include/asm/ |
D | page.h | 34 typedef struct { unsigned long pgprot; } pgprot_t; typedef 44 #define __pgprot(x) ((pgprot_t) { (x) } ) 53 typedef unsigned long pgprot_t; typedef
|