Home
last modified time | relevance | path

Searched refs:pgprot_t (Results 1 – 25 of 302) sorted by relevance

12345678910>>...13

/linux-6.15/arch/powerpc/include/asm/
H A Dpgtable.h69 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-6.15/arch/powerpc/include/asm/book3s/32/
H A Dpgtable.h137 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-6.15/arch/arm/mm/
H A Dpageattr.c12 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-6.15/arch/arm64/include/asm/
H A Dvmalloc.h10 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 Dmmu.h68 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-6.15/arch/sh/include/asm/
H A Dmmu.h63 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-6.15/include/xen/
H A Dxen-ops.h48 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-6.15/arch/powerpc/mm/
H A Dioremap.c13 pgprot_t prot = pgprot_noncached(PAGE_KERNEL); in ioremap()
22 pgprot_t prot = pgprot_noncached_wc(PAGE_KERNEL); in ioremap_wc()
31 pgprot_t prot = pgprot_cached(PAGE_KERNEL); in ioremap_coherent()
37 void __iomem *ioremap_prot(phys_addr_t addr, size_t size, pgprot_t prot) in ioremap_prot()
51 unsigned long size, pgprot_t prot) in early_ioremap_range()
/linux-6.15/include/linux/
H A Dvmalloc.h89 static inline bool arch_vmap_p4d_supported(pgprot_t prot) in arch_vmap_p4d_supported()
96 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported()
103 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
125 static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) in arch_vmap_pgprot_tagged()
164 pgprot_t prot, unsigned long vm_flags, int node,
195 unsigned long flags, pgprot_t prot);
196 void *vmap_pfn(unsigned long *pfns, unsigned int count, pgprot_t prot);
206 int vmap_pages_range(unsigned long addr, unsigned long end, pgprot_t prot,
H A Dio.h29 phys_addr_t phys_addr, pgprot_t prot);
31 phys_addr_t phys_addr, pgprot_t prot);
34 phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range()
39 phys_addr_t phys_addr, pgprot_t prot) in vmap_page_range()
81 pgprot_t __init early_memremap_pgprot_adjust(resource_size_t phys_addr,
82 unsigned long size, pgprot_t prot);
H A Dhighmem-internal.h9 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()
H A Dpgtable.h1370 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify()
1556 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot,
1698 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot);
1708 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot);
1709 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot);
1772 unsigned long size, pgprot_t *vma_prot);
1781 static inline bool pfn_modify_allowed(unsigned long pfn, pgprot_t prot) in pfn_modify_allowed()
1971 #define pte_pgprot(x) ((pgprot_t) {0})
1975 #define pmd_pgprot(x) ((pgprot_t) {0})
1979 #define pud_pgprot(x) ((pgprot_t) {0})
[all …]
/linux-6.15/arch/loongarch/include/asm/
H A Dpgtable-bits.h101 static inline pgprot_t pgprot_nx(pgprot_t _prot) in pgprot_nx()
108 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached()
121 static inline pgprot_t pgprot_writecombine(pgprot_t _prot) in pgprot_writecombine()
/linux-6.15/arch/x86/include/asm/
H A Dpgtable_types.h205 #define __pgprot(x) ((pgprot_t) { (x) } )
299 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; typedef
303 static inline pgprot_t pgprot_nx(pgprot_t prot) in pgprot_nx()
506 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large()
516 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);
/linux-6.15/arch/sparc/include/asm/
H A Dpgtable_32.h279 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-6.15/arch/x86/mm/
H A Dcpu_entry_area.c79 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-6.15/arch/csky/include/asm/
H A Dpgtable.h222 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-6.15/mm/
H A Dearly_ioremap.c35 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-6.15/arch/arm/include/asm/
H A Dpgtable-2level-types.h24 typedef struct { pteval_t pgprot; } pgprot_t; typedef
33 #define __pgprot(x) ((pgprot_t) { (x) } )
42 typedef pteval_t pgprot_t; typedef
H A Dpgtable-3level-types.h27 typedef struct { pteval_t pgprot; } pgprot_t; typedef
37 #define __pgprot(x) ((pgprot_t) { (x) } )
44 typedef pteval_t pgprot_t; typedef
H A Dpgtable.h88 extern pgprot_t pgprot_user;
89 extern pgprot_t pgprot_kernel;
131 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
132 unsigned long size, pgprot_t vma_prot);
217 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
223 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
269 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-6.15/arch/arm64/mm/
H A Dpageattr.c19 pgprot_t set_mask;
20 pgprot_t clear_mask;
56 pgprot_t set_mask, pgprot_t clear_mask) in __change_memory_common()
78 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
/linux-6.15/arch/x86/mm/pat/
H A Dset_memory.c44 pgprot_t mask_set;
45 pgprot_t mask_clr;
670 static inline pgprot_t verify_rwx(pgprot_t old, pgprot_t new, unsigned long start, in verify_rwx()
911 static pgprot_t pgprot_clear_protnone_bits(pgprot_t prot) in pgprot_clear_protnone_bits()
1095 pgprot_t prot; in split_set_pte()
1133 pgprot_t ref_prot; in __split_large_page()
1257 pgprot_t pgprot; in collapse_pmd_page()
1588 pgprot_t pmd_pgprot; in populate_pmd()
1657 pgprot_t pgprot) in populate_pud()
2041 pgprot_t mask_set, pgprot_t mask_clr, in change_page_attr_set_clr()
[all …]
/linux-6.15/arch/powerpc/mm/book3s64/
H A Dpgtable.c239 static pmd_t pmd_set_protbits(pmd_t pmd, pgprot_t pgprot) in pmd_set_protbits()
244 static pud_t pud_set_protbits(pud_t pud, pgprot_t pgprot) in pud_set_protbits()
254 pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot) in pfn_pmd()
263 pud_t pfn_pud(unsigned long pfn, pgprot_t pgprot) in pfn_pud()
272 pmd_t mk_pmd(struct page *page, pgprot_t pgprot) in mk_pmd()
277 pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
286 pud_t pud_modify(pud_t pud, pgprot_t newprot) in pud_modify()
309 int nid, pgprot_t prot) in create_section_mapping()
652 pgprot_t vm_get_page_prot(unsigned long vm_flags) in vm_get_page_prot()
/linux-6.15/arch/loongarch/mm/
H A Dpageattr.c13 pgprot_t set_mask;
14 pgprot_t clear_mask;
107 static int __set_memory(unsigned long addr, int numpages, pgprot_t set_mask, pgprot_t clear_mask) in __set_memory()
224 pgprot_t set, clear; in set_direct_map_valid_noflush()

12345678910>>...13