| /linux/arch/powerpc/include/asm/ |
| A D | pgtable.h | 69 static inline pgprot_t pte_pgprot(pte_t pte) in pte_pgprot() 77 static inline pgprot_t pgprot_nx(pgprot_t prot) in pgprot_nx() 103 extern const pgprot_t protection_map[16]; 125 pgprot_t __phys_mem_access_prot(unsigned long pfn, unsigned long size, 126 pgprot_t vma_prot); 129 static inline pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot() 130 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
|
| /linux/arch/powerpc/include/asm/book3s/32/ |
| A D | pgtable.h | 137 int map_kernel_page(unsigned long va, phys_addr_t pa, pgprot_t prot); 446 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte() 511 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() 566 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached() 573 static inline pgprot_t pgprot_noncached_wc(pgprot_t prot) in pgprot_noncached_wc() 580 static inline pgprot_t pgprot_cached(pgprot_t prot) in pgprot_cached() 587 static inline pgprot_t pgprot_cached_wthru(pgprot_t prot) in pgprot_cached_wthru() 594 static inline pgprot_t pgprot_cached_noncoherent(pgprot_t prot) in pgprot_cached_noncoherent() 600 static inline pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
|
| /linux/arch/arm/mm/ |
| A D | pageattr.c | 12 pgprot_t set_mask; 13 pgprot_t clear_mask; 39 pgprot_t set_mask, pgprot_t clear_mask) in __change_memory_common() 55 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
|
| /linux/arch/arm64/include/asm/ |
| A D | vmalloc.h | 10 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported() 20 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported() 29 static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) in arch_vmap_pgprot_tagged()
|
| A D | mmu.h | 68 phys_addr_t size, pgprot_t prot); 71 pgprot_t prot, bool page_mappings_only); 72 extern void *fixmap_remap_fdt(phys_addr_t dt_phys, int *size, pgprot_t prot);
|
| /linux/arch/sh/include/asm/ |
| A 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()
|
| /linux/include/xen/ |
| A D | xen-ops.h | 48 xen_pfn_t *pfn, int nr, int *err_ptr, pgprot_t prot, 53 pgprot_t prot, unsigned int domid, in xen_remap_pfn() 67 int *err_ptr, pgprot_t prot, 80 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array() 117 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array() 153 pgprot_t prot, unsigned int domid) in xen_remap_domain_mfn_array() 177 pgprot_t prot, unsigned int domid, in xen_remap_domain_gfn_range()
|
| /linux/include/linux/ |
| A D | io.h | 32 phys_addr_t phys_addr, pgprot_t prot); 34 phys_addr_t phys_addr, pgprot_t prot); 37 phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range() 42 phys_addr_t phys_addr, pgprot_t prot) in vmap_page_range() 86 pgprot_t __init early_memremap_pgprot_adjust(resource_size_t phys_addr, 87 unsigned long size, pgprot_t prot);
|
| A D | vmalloc.h | 88 static inline bool arch_vmap_p4d_supported(pgprot_t prot) in arch_vmap_p4d_supported() 95 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported() 102 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported() 124 static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) in arch_vmap_pgprot_tagged() 169 pgprot_t prot, unsigned long vm_flags, int node, 200 unsigned long flags, pgprot_t prot); 201 void *vmap_pfn(unsigned long *pfns, unsigned int count, pgprot_t prot);
|
| A D | highmem-internal.h | 9 void *__kmap_local_pfn_prot(unsigned long pfn, pgprot_t prot); 10 void *__kmap_local_page_prot(struct page *page, pgprot_t prot); 82 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot() 97 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot() 188 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot() 215 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
|
| A D | pgtable.h | 1378 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() 1548 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, 1687 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot); 1697 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot); 1698 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot); 1761 unsigned long size, pgprot_t *vma_prot); 1770 static inline bool pfn_modify_allowed(unsigned long pfn, pgprot_t prot) in pfn_modify_allowed() 1960 #define pte_pgprot(x) ((pgprot_t) {0}) 1964 #define pmd_pgprot(x) ((pgprot_t) {0}) 1968 #define pud_pgprot(x) ((pgprot_t) {0}) [all …]
|
| A D | kmsan.h | 143 pgprot_t prot, 170 phys_addr_t phys_addr, pgprot_t prot, 350 unsigned long start, unsigned long end, pgprot_t prot, in kmsan_vmap_pages_range_noflush() 364 pgprot_t prot, in kmsan_ioremap_page_range()
|
| /linux/arch/x86/include/asm/ |
| A D | pgtable_types.h | 199 #define __pgprot(x) ((pgprot_t) { (x) } ) 293 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; typedef 297 static inline pgprot_t pgprot_nx(pgprot_t prot) in pgprot_nx() 500 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large() 510 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot) in pgprot_large_2_4k() 522 extern pgprot_t pgprot_writecombine(pgprot_t prot); 525 extern pgprot_t pgprot_writethrough(pgprot_t prot); 532 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, 533 unsigned long size, pgprot_t vma_prot);
|
| /linux/arch/arm64/mm/ |
| A D | pageattr.c | 17 pgprot_t set_mask; 18 pgprot_t clear_mask; 52 pgprot_t set_mask, pgprot_t clear_mask) in __change_memory_common() 68 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
|
| /linux/arch/sparc/include/asm/ |
| A D | pgtable_32.h | 279 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte() 284 static inline pte_t mk_pte_phys(unsigned long page, pgprot_t pgprot) in mk_pte_phys() 289 static inline pte_t mk_pte_io(unsigned long page, pgprot_t pgprot, int space) in mk_pte_io() 295 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached() 301 static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__; 302 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() 404 unsigned long, pgprot_t); 408 unsigned long size, pgprot_t prot) in io_remap_pfn_range()
|
| /linux/arch/powerpc/mm/ |
| A D | ioremap.c | 14 pgprot_t prot = pgprot_noncached(PAGE_KERNEL); in ioremap() 25 pgprot_t prot = pgprot_noncached_wc(PAGE_KERNEL); in ioremap_wc() 36 pgprot_t prot = pgprot_cached(PAGE_KERNEL); in ioremap_coherent() 60 unsigned long size, pgprot_t prot) in early_ioremap_range()
|
| /linux/arch/x86/mm/ |
| A D | cpu_entry_area.c | 79 void cea_set_pte(void *cea_vaddr, phys_addr_t pa, pgprot_t flags) in cea_set_pte() 99 cea_map_percpu_pages(void *cea_vaddr, void *ptr, int pages, pgprot_t prot) in cea_map_percpu_pages() 182 pgprot_t gdt_prot = PAGE_KERNEL_RO; in setup_cpu_entry_area() 183 pgprot_t tss_prot = PAGE_KERNEL_RO; in setup_cpu_entry_area() 192 pgprot_t gdt_prot = PAGE_KERNEL; in setup_cpu_entry_area() 193 pgprot_t tss_prot = PAGE_KERNEL; in setup_cpu_entry_area()
|
| /linux/arch/csky/include/asm/ |
| A D | pgtable.h | 222 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, 223 unsigned long size, pgprot_t vma_prot); 233 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached() 243 static inline pgprot_t pgprot_writecombine(pgprot_t _prot) in pgprot_writecombine() 257 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
|
| /linux/mm/ |
| A D | early_ioremap.c | 35 pgprot_t __init __weak early_memremap_pgprot_adjust(resource_size_t phys_addr, in early_memremap_pgprot_adjust() 37 pgprot_t prot) in early_memremap_pgprot_adjust() 54 phys_addr_t phys, pgprot_t prot) in __late_set_fixmap() 100 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap() 220 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap() 229 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap_ro()
|
| /linux/arch/x86/mm/pat/ |
| A D | set_memory.c | 46 pgprot_t mask_set; 47 pgprot_t mask_clr; 621 static inline pgprot_t verify_rwx(pgprot_t old, pgprot_t new, unsigned long start, in verify_rwx() 862 static pgprot_t pgprot_clear_protnone_bits(pgprot_t prot) in pgprot_clear_protnone_bits() 1046 pgprot_t prot; in split_set_pte() 1084 pgprot_t ref_prot; in __split_large_page() 1384 pgprot_t pmd_pgprot; in populate_pmd() 1453 pgprot_t pgprot) in populate_pud() 1458 pgprot_t pud_pgprot; in populate_pud() 1837 pgprot_t mask_set, pgprot_t mask_clr, in change_page_attr_set_clr() [all …]
|
| /linux/arch/arm/include/asm/ |
| A D | pgtable-2level-types.h | 24 typedef struct { pteval_t pgprot; } pgprot_t; typedef 33 #define __pgprot(x) ((pgprot_t) { (x) } ) 42 typedef pteval_t pgprot_t; typedef
|
| A D | pgtable-3level-types.h | 27 typedef struct { pteval_t pgprot; } pgprot_t; typedef 37 #define __pgprot(x) ((pgprot_t) { (x) } ) 44 typedef pteval_t pgprot_t; typedef
|
| A D | pgtable.h | 89 extern pgprot_t pgprot_user; 90 extern pgprot_t pgprot_kernel; 132 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, 133 unsigned long size, pgprot_t vma_prot); 218 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit() 224 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit() 270 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
|
| /linux/arch/loongarch/include/asm/ |
| A D | pgtable-bits.h | 101 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached() 114 static inline pgprot_t pgprot_writecombine(pgprot_t _prot) in pgprot_writecombine()
|
| /linux/arch/powerpc/mm/book3s64/ |
| A D | pgtable.c | 227 static pmd_t pmd_set_protbits(pmd_t pmd, pgprot_t pgprot) in pmd_set_protbits() 232 static pud_t pud_set_protbits(pud_t pud, pgprot_t pgprot) in pud_set_protbits() 242 pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot) in pfn_pmd() 251 pud_t pfn_pud(unsigned long pfn, pgprot_t pgprot) in pfn_pud() 260 pmd_t mk_pmd(struct page *page, pgprot_t pgprot) in mk_pmd() 265 pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify() 274 pud_t pud_modify(pud_t pud, pgprot_t newprot) in pud_modify() 297 int nid, pgprot_t prot) in create_section_mapping() 644 pgprot_t vm_get_page_prot(unsigned long vm_flags) in vm_get_page_prot()
|