/Linux-v5.10/mm/ |
D | debug_vm_pgtable.c | 61 static void __init pte_basic_tests(unsigned long pfn, pgprot_t prot) in pte_basic_tests() 78 pgprot_t prot) in pte_advanced_tests() 119 static void __init pte_savedwrite_tests(unsigned long pfn, pgprot_t prot) in pte_savedwrite_tests() 132 static void __init pmd_basic_tests(unsigned long pfn, pgprot_t prot) in pmd_basic_tests() 157 pgprot_t prot, pgtable_t pgtable) in pmd_advanced_tests() 204 static void __init pmd_leaf_tests(unsigned long pfn, pgprot_t prot) in pmd_leaf_tests() 217 static void __init pmd_huge_tests(pmd_t *pmdp, unsigned long pfn, pgprot_t prot) in pmd_huge_tests() 236 static void __init pmd_huge_tests(pmd_t *pmdp, unsigned long pfn, pgprot_t prot) { } in pmd_huge_tests() 239 static void __init pmd_savedwrite_tests(unsigned long pfn, pgprot_t prot) in pmd_savedwrite_tests() 252 static void __init pud_basic_tests(unsigned long pfn, pgprot_t prot) in pud_basic_tests() [all …]
|
D | ioremap.c | 65 unsigned long end, phys_addr_t phys_addr, pgprot_t prot, in ioremap_pte_range() 86 pgprot_t prot) in ioremap_try_huge_pmd() 107 unsigned long end, phys_addr_t phys_addr, pgprot_t prot, in ioremap_pmd_range() 132 pgprot_t prot) in ioremap_try_huge_pud() 153 unsigned long end, phys_addr_t phys_addr, pgprot_t prot, in ioremap_pud_range() 178 pgprot_t prot) in ioremap_try_huge_p4d() 199 unsigned long end, phys_addr_t phys_addr, pgprot_t prot, in ioremap_p4d_range() 223 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range()
|
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-v5.10/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()
|
/Linux-v5.10/arch/powerpc/include/asm/book3s/32/ |
D | pgtable.h | 144 int map_kernel_page(unsigned long va, phys_addr_t pa, pgprot_t prot); 405 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte() 482 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() 552 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached() 559 static inline pgprot_t pgprot_noncached_wc(pgprot_t prot) in pgprot_noncached_wc() 566 static inline pgprot_t pgprot_cached(pgprot_t prot) in pgprot_cached() 573 static inline pgprot_t pgprot_cached_wthru(pgprot_t prot) in pgprot_cached_wthru() 580 static inline pgprot_t pgprot_cached_noncoherent(pgprot_t prot) in pgprot_cached_noncoherent() 586 static inline pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
|
/Linux-v5.10/include/xen/ |
D | xen-ops.h | 66 xen_pfn_t *pfn, int nr, int *err_ptr, pgprot_t prot, 71 pgprot_t prot, unsigned int domid, in xen_remap_pfn() 85 int *err_ptr, pgprot_t prot, 98 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array() 135 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array() 172 pgprot_t prot, unsigned int domid, in xen_remap_domain_mfn_array() 197 pgprot_t prot, unsigned int domid, in xen_remap_domain_gfn_range()
|
/Linux-v5.10/arch/x86/include/asm/ |
D | pgtable_types.h | 177 #define __pgprot(x) ((pgprot_t) { (x) } ) 284 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; typedef 288 static inline pgprot_t pgprot_nx(pgprot_t prot) in pgprot_nx() 493 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large() 503 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot) in pgprot_large_2_4k() 517 extern pgprot_t pgprot_writecombine(pgprot_t prot); 520 extern pgprot_t pgprot_writethrough(pgprot_t prot); 527 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, 528 unsigned long size, pgprot_t vma_prot);
|
D | iomap.h | 16 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot); 22 iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot);
|
/Linux-v5.10/arch/powerpc/mm/ |
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() 79 pgprot_t prot, void *caller) in do_ioremap()
|
/Linux-v5.10/include/linux/ |
D | vmalloc.h | 115 pgprot_t prot, unsigned long vm_flags, int node, 124 unsigned long flags, pgprot_t prot); 125 void *vmap_pfn(unsigned long *pfns, unsigned int count, pgprot_t prot); 178 pgprot_t prot, struct page **pages); 179 int map_kernel_range(unsigned long start, unsigned long size, pgprot_t prot, 193 pgprot_t prot, struct page **pages) in map_kernel_range_noflush()
|
D | pgtable.h | 863 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() 1010 static inline int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap() 1021 static inline void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert() 1052 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, 1055 extern void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, 1287 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot); 1290 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge() 1300 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot); 1301 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot); 1308 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge() [all …]
|
/Linux-v5.10/arch/arm64/mm/ |
D | pageattr.c | 16 pgprot_t set_mask; 17 pgprot_t clear_mask; 38 pgprot_t set_mask, pgprot_t clear_mask) in __change_memory_common() 54 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
|
D | mmu.c | 81 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot() 82 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot() 154 phys_addr_t phys, pgprot_t prot) in init_pte() 179 pgprot_t prot, in alloc_init_cont_pte() 197 pgprot_t __prot = prot; in alloc_init_cont_pte() 213 phys_addr_t phys, pgprot_t prot, in init_pmd() 251 pgprot_t prot, in alloc_init_cont_pmd() 271 pgprot_t __prot = prot; in alloc_init_cont_pmd() 299 phys_addr_t phys, pgprot_t prot, in alloc_init_pud() 351 pgprot_t prot, in __create_pgd_mapping() [all …]
|
/Linux-v5.10/arch/x86/mm/ |
D | cpu_entry_area.c | 34 void cea_set_pte(void *cea_vaddr, phys_addr_t pa, pgprot_t flags) in cea_set_pte() 54 cea_map_percpu_pages(void *cea_vaddr, void *ptr, int pages, pgprot_t prot) in cea_map_percpu_pages() 130 pgprot_t gdt_prot = PAGE_KERNEL_RO; in setup_cpu_entry_area() 131 pgprot_t tss_prot = PAGE_KERNEL_RO; in setup_cpu_entry_area() 143 pgprot_t gdt_prot = boot_cpu_has(X86_FEATURE_XENPV) ? in setup_cpu_entry_area() 145 pgprot_t tss_prot = PAGE_KERNEL; in setup_cpu_entry_area()
|
D | iomap_32.c | 21 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot) in iomap_create_wc() 47 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in kmap_atomic_prot_pfn() 68 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in iomap_atomic_prot_pfn()
|
/Linux-v5.10/arch/sparc/include/asm/ |
D | pgtable_32.h | 295 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte() 300 static inline pte_t mk_pte_phys(unsigned long page, pgprot_t pgprot) in mk_pte_phys() 305 static inline pte_t mk_pte_io(unsigned long page, pgprot_t pgprot, int space) in mk_pte_io() 311 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached() 317 static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__; 318 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() 398 unsigned long, pgprot_t); 402 unsigned long size, pgprot_t prot) in io_remap_pfn_range()
|
/Linux-v5.10/arch/arm/mm/ |
D | pageattr.c | 12 pgprot_t set_mask; 13 pgprot_t clear_mask; 36 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
|
/Linux-v5.10/arch/csky/include/asm/ |
D | pgtable.h | 225 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, 226 unsigned long size, pgprot_t vma_prot); 236 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached() 246 static inline pgprot_t pgprot_writecombine(pgprot_t _prot) in pgprot_writecombine() 260 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
|
/Linux-v5.10/arch/arm/include/asm/ |
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
|
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
|
D | pgtable.h | 80 extern pgprot_t pgprot_user; 81 extern pgprot_t pgprot_kernel; 123 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, 124 unsigned long size, pgprot_t vma_prot); 225 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit() 231 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit() 277 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
|
/Linux-v5.10/arch/x86/mm/pat/ |
D | set_memory.c | 39 pgprot_t mask_set; 40 pgprot_t mask_clr; 72 static inline pgprot_t cachemode2pgprot(enum page_cache_mode pcm) in cachemode2pgprot() 497 static inline bool conflicts(pgprot_t prot, pgprotval_t val) in conflicts() 502 static inline void check_conflict(int warnlvl, pgprot_t prot, pgprotval_t val, in check_conflict() 526 static inline pgprot_t static_protections(pgprot_t prot, unsigned long start, in static_protections() 748 static pgprot_t pgprot_clear_protnone_bits(pgprot_t prot) in pgprot_clear_protnone_bits() 769 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page() 924 pgprot_t ref_prot, unsigned long address, in split_set_pte() 928 pgprot_t prot; in split_set_pte() [all …]
|
/Linux-v5.10/arch/arc/include/asm/ |
D | page.h | 42 } pgprot_t; typedef 50 #define __pgprot(x) ((pgprot_t) { (x) }) 62 typedef unsigned long pgprot_t; typedef
|
/Linux-v5.10/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
|
/Linux-v5.10/arch/csky/mm/ |
D | ioremap.c | 8 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot() 9 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
|