| /Linux-v5.4/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.4/arch/powerpc/include/asm/book3s/32/ |
| D | pgtable.h | 140 int map_kernel_page(unsigned long va, phys_addr_t pa, pgprot_t prot); 436 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte() 513 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify() 583 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached() 590 static inline pgprot_t pgprot_noncached_wc(pgprot_t prot) in pgprot_noncached_wc() 597 static inline pgprot_t pgprot_cached(pgprot_t prot) in pgprot_cached() 604 static inline pgprot_t pgprot_cached_wthru(pgprot_t prot) in pgprot_cached_wthru() 611 static inline pgprot_t pgprot_cached_noncoherent(pgprot_t prot) in pgprot_cached_noncoherent() 617 static inline pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
|
| /Linux-v5.4/arch/x86/include/asm/ |
| D | pgtable_types.h | 265 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; typedef 453 #define __pgprot(x) ((pgprot_t) { (x) } ) 473 static inline pgprot_t cachemode2pgprot(enum page_cache_mode pcm) in cachemode2pgprot() 477 static inline enum page_cache_mode pgprot2cachemode(pgprot_t pgprot) in pgprot2cachemode() 486 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large() 489 pgprot_t new; in pgprot_4k_2_large() 495 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot) in pgprot_large_2_4k() 498 pgprot_t new; in pgprot_large_2_4k() 515 extern pgprot_t pgprot_writecombine(pgprot_t prot); 518 extern pgprot_t pgprot_writethrough(pgprot_t prot); [all …]
|
| /Linux-v5.4/lib/ |
| D | ioremap.c | 64 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pte_range() 83 pgprot_t prot) in ioremap_try_huge_pmd() 104 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pmd_range() 126 pgprot_t prot) in ioremap_try_huge_pud() 147 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pud_range() 169 pgprot_t prot) in ioremap_try_huge_p4d() 190 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_p4d_range() 211 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range()
|
| /Linux-v5.4/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.4/include/linux/ |
| D | vmalloc.h | 78 int node, pgprot_t prot); 99 extern void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot); 102 pgprot_t prot, unsigned long vm_flags, int node, 120 unsigned long flags, pgprot_t prot); 157 extern int map_vm_area(struct vm_struct *area, pgprot_t prot, 161 pgprot_t prot, struct page **pages); 174 pgprot_t prot, struct page **pages) in map_kernel_range_noflush()
|
| D | dma-noncoherent.h | 58 pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, unsigned long attrs); 60 static inline pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, in dma_pgprot()
|
| /Linux-v5.4/arch/powerpc/mm/ |
| D | ioremap.c | 13 pgprot_t prot = pgprot_noncached(PAGE_KERNEL); in ioremap() 24 pgprot_t prot = pgprot_noncached_wc(PAGE_KERNEL); in ioremap_wc() 35 pgprot_t prot = pgprot_cached(PAGE_KERNEL); in ioremap_coherent() 63 unsigned long size, pgprot_t prot) in early_ioremap_range() 78 pgprot_t prot, void *caller) in do_ioremap()
|
| /Linux-v5.4/arch/x86/mm/ |
| D | cpu_entry_area.c | 29 void cea_set_pte(void *cea_vaddr, phys_addr_t pa, pgprot_t flags) in cea_set_pte() 49 cea_map_percpu_pages(void *cea_vaddr, void *ptr, int pages, pgprot_t prot) in cea_map_percpu_pages() 120 pgprot_t gdt_prot = PAGE_KERNEL_RO; in setup_cpu_entry_area() 121 pgprot_t tss_prot = PAGE_KERNEL_RO; in setup_cpu_entry_area() 133 pgprot_t gdt_prot = boot_cpu_has(X86_FEATURE_XENPV) ? in setup_cpu_entry_area() 135 pgprot_t tss_prot = PAGE_KERNEL; in setup_cpu_entry_area()
|
| D | pageattr.c | 38 pgprot_t mask_set; 39 pgprot_t mask_clr; 488 static inline bool conflicts(pgprot_t prot, pgprotval_t val) in conflicts() 493 static inline void check_conflict(int warnlvl, pgprot_t prot, pgprotval_t val, in check_conflict() 517 static inline pgprot_t static_protections(pgprot_t prot, unsigned long start, in static_protections() 728 static pgprot_t pgprot_clear_protnone_bits(pgprot_t prot) in pgprot_clear_protnone_bits() 749 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page() 904 pgprot_t ref_prot, unsigned long address, in split_set_pte() 908 pgprot_t prot; in split_set_pte() 946 pgprot_t ref_prot; in __split_large_page() [all …]
|
| 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.4/arch/csky/mm/ |
| D | ioremap.c | 12 pgprot_t prot, void *caller) in __ioremap_caller() 40 void __iomem *__ioremap(phys_addr_t phys_addr, size_t size, pgprot_t prot) in __ioremap() 60 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot() 61 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
|
| /Linux-v5.4/arch/arm/include/asm/ |
| D | pgtable.h | 81 extern pgprot_t pgprot_user; 82 extern pgprot_t pgprot_kernel; 83 extern pgprot_t pgprot_hyp_device; 84 extern pgprot_t pgprot_s2; 85 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 | 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
|
| /Linux-v5.4/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 | 79 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot() 80 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot() 141 phys_addr_t phys, pgprot_t prot) in init_pte() 166 pgprot_t prot, in alloc_init_cont_pte() 184 pgprot_t __prot = prot; in alloc_init_cont_pte() 200 phys_addr_t phys, pgprot_t prot, in init_pmd() 238 pgprot_t prot, in alloc_init_cont_pmd() 258 pgprot_t __prot = prot; in alloc_init_cont_pmd() 286 phys_addr_t phys, pgprot_t prot, in alloc_init_pud() 337 pgprot_t prot, in __create_pgd_mapping() [all …]
|
| /Linux-v5.4/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-v5.4/arch/arm/mm/ |
| D | pageattr.c | 13 pgprot_t set_mask; 14 pgprot_t clear_mask; 37 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
|
| /Linux-v5.4/include/asm-generic/ |
| D | pgtable.h | 511 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify() 805 static inline int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap() 816 static inline void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert() 847 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, 850 extern void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, 1042 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot); 1045 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge() 1055 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot); 1056 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot); 1063 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge() [all …]
|
| /Linux-v5.4/arch/mips/include/asm/ |
| D | pgtable.h | 420 static inline pgprot_t pgprot_noncached(pgprot_t _prot) 431 static inline pgprot_t pgprot_writecombine(pgprot_t _prot) 448 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) 457 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) 466 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) 495 …uct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t prot); 501 pgprot_t prot) 596 extern pmd_t mk_pmd(struct page *page, pgprot_t prot); 611 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) 653 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, [all …]
|
| /Linux-v5.4/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-v5.4/arch/csky/include/asm/ |
| D | pgtable.h | 246 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, 247 unsigned long size, pgprot_t vma_prot); 257 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached() 267 static inline pgprot_t pgprot_writecombine(pgprot_t _prot) in pgprot_writecombine() 281 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
|
| /Linux-v5.4/arch/unicore32/include/asm/ |
| D | page.h | 36 typedef struct { unsigned long pgprot; } pgprot_t; typedef 44 #define __pgprot(x) ((pgprot_t) { (x) }) 52 typedef unsigned long pgprot_t; typedef
|
| /Linux-v5.4/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
|