/openbmc/linux/arch/powerpc/include/asm/book3s/32/ |
H A D | pgtable.h | 163 int map_kernel_page(unsigned long va, phys_addr_t pa, pgprot_t prot); 459 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte() 531 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() 586 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached() 593 static inline pgprot_t pgprot_noncached_wc(pgprot_t prot) in pgprot_noncached_wc() 600 static inline pgprot_t pgprot_cached(pgprot_t prot) in pgprot_cached() 607 static inline pgprot_t pgprot_cached_wthru(pgprot_t prot) in pgprot_cached_wthru() 614 static inline pgprot_t pgprot_cached_noncoherent(pgprot_t prot) in pgprot_cached_noncoherent() 620 static inline pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
|
/openbmc/linux/arch/arm/mm/ |
H 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()
|
/openbmc/linux/arch/arm64/include/asm/ |
H 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()
|
H 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);
|
/openbmc/linux/arch/sh/include/asm/ |
H 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()
|
/openbmc/linux/include/xen/ |
H 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()
|
/openbmc/linux/include/linux/ |
H A D | vmalloc.h | 85 static inline bool arch_vmap_p4d_supported(pgprot_t prot) in arch_vmap_p4d_supported() 92 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported() 99 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported() 121 static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) in arch_vmap_pgprot_tagged() 150 pgprot_t prot, unsigned long vm_flags, int node, 165 unsigned long flags, pgprot_t prot); 166 void *vmap_pfn(unsigned long *pfns, unsigned int count, pgprot_t prot);
|
H 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() 193 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot() 220 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
|
H A D | kmsan.h | 143 pgprot_t prot, 170 phys_addr_t phys_addr, pgprot_t prot, 289 unsigned long start, unsigned long end, pgprot_t prot, in kmsan_vmap_pages_range_noflush() 303 pgprot_t prot, in kmsan_ioremap_page_range()
|
H A D | io.h | 25 phys_addr_t phys_addr, pgprot_t prot); 28 phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range() 72 pgprot_t __init early_memremap_pgprot_adjust(resource_size_t phys_addr, 73 unsigned long size, pgprot_t prot);
|
H A D | pgtable.h | 1146 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() 1272 static inline int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap() 1283 static inline void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert() 1316 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, 1319 extern void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, 1455 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot); 1458 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge() 1465 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot); 1466 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot); 1473 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge() [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | pgtable_types.h | 203 #define __pgprot(x) ((pgprot_t) { (x) } ) 297 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; typedef 301 static inline pgprot_t pgprot_nx(pgprot_t prot) in pgprot_nx() 504 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large() 514 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot) in pgprot_large_2_4k() 528 extern pgprot_t pgprot_writecombine(pgprot_t prot); 531 extern pgprot_t pgprot_writethrough(pgprot_t prot); 538 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, 539 unsigned long size, pgprot_t vma_prot);
|
/openbmc/linux/arch/sparc/include/asm/ |
H 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()
|
/openbmc/linux/arch/arm64/mm/ |
H 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()
|
H A D | mmu.c | 95 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot() 96 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot() 173 phys_addr_t phys, pgprot_t prot) in init_pte() 198 pgprot_t prot, in alloc_init_cont_pte() 220 pgprot_t __prot = prot; in alloc_init_cont_pte() 236 phys_addr_t phys, pgprot_t prot, in init_pmd() 274 pgprot_t prot, in alloc_init_cont_pmd() 298 pgprot_t __prot = prot; in alloc_init_cont_pmd() 314 phys_addr_t phys, pgprot_t prot, in alloc_init_pud() 371 pgprot_t prot, in __create_pgd_mapping_locked() [all …]
|
/openbmc/linux/arch/powerpc/mm/ |
H 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() 64 unsigned long size, pgprot_t prot) in early_ioremap_range()
|
/openbmc/linux/arch/x86/mm/ |
H 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()
|
/openbmc/linux/arch/csky/include/asm/ |
H 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()
|
/openbmc/linux/arch/x86/mm/pat/ |
H A D | set_memory.c | 46 pgprot_t mask_set; 47 pgprot_t mask_clr; 79 static inline pgprot_t cachemode2pgprot(enum page_cache_mode pcm) in cachemode2pgprot() 544 static inline bool conflicts(pgprot_t prot, pgprotval_t val) in conflicts() 549 static inline void check_conflict(int warnlvl, pgprot_t prot, pgprotval_t val, in check_conflict() 573 static inline pgprot_t static_protections(pgprot_t prot, unsigned long start, in static_protections() 621 static inline pgprot_t verify_rwx(pgprot_t old, pgprot_t new, unsigned long start, in verify_rwx() 859 static pgprot_t pgprot_clear_protnone_bits(pgprot_t prot) in pgprot_clear_protnone_bits() 880 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page() 1039 pgprot_t ref_prot, unsigned long address, in split_set_pte() [all …]
|
/openbmc/linux/mm/ |
H 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()
|
/openbmc/linux/arch/arm/include/asm/ |
H 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
|
H 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
|
H 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); 216 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit() 222 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit() 268 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | pgtable-bits.h | 99 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached() 112 static inline pgprot_t pgprot_writecombine(pgprot_t _prot) in pgprot_writecombine()
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | page.h | 33 typedef struct { unsigned long pgprot; } pgprot_t; typedef 43 #define __pgprot(x) ((pgprot_t) { (x) } ) 52 typedef unsigned long pgprot_t; typedef
|