Home
last modified time | relevance | path

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

1234567891011

/kernel/linux/linux-5.10/mm/
Ddebug_vm_pgtable.c63 pgprot_t prot = protection_map[idx]; in pte_basic_tests()
92 pgprot_t prot) in pte_advanced_tests()
135 static void __init pte_savedwrite_tests(unsigned long pfn, pgprot_t prot) in pte_savedwrite_tests()
150 pgprot_t prot = protection_map[idx]; in pmd_basic_tests()
189 pgprot_t prot, pgtable_t pgtable) in pmd_advanced_tests()
236 static void __init pmd_leaf_tests(unsigned long pfn, pgprot_t prot) in pmd_leaf_tests()
254 static void __init pmd_huge_tests(pmd_t *pmdp, unsigned long pfn, pgprot_t prot) in pmd_huge_tests()
273 static void __init pmd_huge_tests(pmd_t *pmdp, unsigned long pfn, pgprot_t prot) { } in pmd_huge_tests()
276 static void __init pmd_savedwrite_tests(unsigned long pfn, pgprot_t prot) in pmd_savedwrite_tests()
295 pgprot_t prot = protection_map[idx]; in pud_basic_tests()
[all …]
Dioremap.c65 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()
Dearly_ioremap.c34 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()
/kernel/linux/linux-5.10/arch/sh/include/asm/
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()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/32/
Dpgtable.h144 int map_kernel_page(unsigned long va, phys_addr_t pa, pgprot_t prot);
406 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte()
483 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
553 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
560 static inline pgprot_t pgprot_noncached_wc(pgprot_t prot) in pgprot_noncached_wc()
567 static inline pgprot_t pgprot_cached(pgprot_t prot) in pgprot_cached()
574 static inline pgprot_t pgprot_cached_wthru(pgprot_t prot) in pgprot_cached_wthru()
581 static inline pgprot_t pgprot_cached_noncoherent(pgprot_t prot) in pgprot_cached_noncoherent()
587 static inline pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
/kernel/linux/linux-5.10/include/xen/
Dxen-ops.h66 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()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dpgtable_types.h177 #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);
Diomap.h16 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
22 iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot);
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dioremap.c14 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()
/kernel/linux/linux-5.10/include/linux/
Dvmalloc.h110 pgprot_t prot, unsigned long vm_flags, int node,
119 unsigned long flags, pgprot_t prot);
120 void *vmap_pfn(unsigned long *pfns, unsigned int count, pgprot_t prot);
173 pgprot_t prot, struct page **pages);
174 int map_kernel_range(unsigned long start, unsigned long size, pgprot_t prot,
188 pgprot_t prot, struct page **pages) in map_kernel_range_noflush()
Dpgtable.h868 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify()
1015 static inline int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap()
1026 static inline void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert()
1057 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot,
1060 extern void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot,
1292 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot);
1295 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
1305 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot);
1306 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot);
1313 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
[all …]
/kernel/linux/linux-5.10/arch/arm64/mm/
Dpageattr.c16 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()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dpgtable_32.h295 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()
Dpgtable_64.h214 pte_t mk_pte_io(unsigned long, pgprot_t, int, unsigned long);
218 extern pgprot_t PAGE_KERNEL;
219 extern pgprot_t PAGE_KERNEL_LOCKED;
220 extern pgprot_t PAGE_COPY;
221 extern pgprot_t PAGE_SHARED;
239 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte()
249 static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot) in pfn_pmd()
280 static inline pte_t pte_modify(pte_t pte, pgprot_t prot) in pte_modify()
339 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
349 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
[all …]
/kernel/linux/linux-5.10/arch/arm/mm/
Dpageattr.c12 pgprot_t set_mask;
13 pgprot_t clear_mask;
36 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
/kernel/linux/linux-5.10/arch/x86/mm/
Dcpu_entry_area.c77 void cea_set_pte(void *cea_vaddr, phys_addr_t pa, pgprot_t flags) in cea_set_pte()
97 cea_map_percpu_pages(void *cea_vaddr, void *ptr, int pages, pgprot_t prot) in cea_map_percpu_pages()
180 pgprot_t gdt_prot = PAGE_KERNEL_RO; in setup_cpu_entry_area()
181 pgprot_t tss_prot = PAGE_KERNEL_RO; in setup_cpu_entry_area()
193 pgprot_t gdt_prot = boot_cpu_has(X86_FEATURE_XENPV) ? in setup_cpu_entry_area()
195 pgprot_t tss_prot = PAGE_KERNEL; in setup_cpu_entry_area()
Diomap_32.c21 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()
/kernel/linux/linux-5.10/arch/csky/include/asm/
Dpgtable.h225 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()
/kernel/linux/linux-5.10/arch/arm/include/asm/
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
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
Dpgtable.h90 extern pgprot_t pgprot_user;
91 extern pgprot_t pgprot_kernel;
133 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
134 unsigned long size, pgprot_t vma_prot);
228 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
234 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
280 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/kernel/linux/linux-5.10/arch/x86/mm/pat/
Dset_memory.c39 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 …]
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dpage.h34 typedef struct { unsigned long pgprot; } pgprot_t; typedef
44 #define __pgprot(x) ((pgprot_t) { (x) } )
53 typedef unsigned long pgprot_t; typedef
/kernel/linux/linux-5.10/arch/csky/mm/
Dioremap.c8 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()
/kernel/linux/linux-5.10/arch/sh/mm/
Dioremap.h5 void __iomem *ioremap_fixed(phys_addr_t, unsigned long, pgprot_t);
10 ioremap_fixed(phys_addr_t phys_addr, unsigned long size, pgprot_t prot) in ioremap_fixed()

1234567891011