Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.3-rc2/arch/arm64/include/asm/
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()
/linux-6.3-rc2/arch/arm/mm/
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.3-rc2/arch/powerpc/include/asm/book3s/32/
A Dpgtable.h163 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()
536 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
606 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
613 static inline pgprot_t pgprot_noncached_wc(pgprot_t prot) in pgprot_noncached_wc()
620 static inline pgprot_t pgprot_cached(pgprot_t prot) in pgprot_cached()
627 static inline pgprot_t pgprot_cached_wthru(pgprot_t prot) in pgprot_cached_wthru()
634 static inline pgprot_t pgprot_cached_noncoherent(pgprot_t prot) in pgprot_cached_noncoherent()
640 static inline pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
/linux-6.3-rc2/arch/sh/include/asm/
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.3-rc2/include/xen/
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.3-rc2/include/linux/
A Dvmalloc.h84 static inline bool arch_vmap_p4d_supported(pgprot_t prot) in arch_vmap_p4d_supported()
91 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported()
98 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
120 static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) in arch_vmap_pgprot_tagged()
153 pgprot_t prot, unsigned long vm_flags, int node,
168 unsigned long flags, pgprot_t prot);
169 void *vmap_pfn(unsigned long *pfns, unsigned int count, pgprot_t prot);
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()
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()
A Dkmsan.h140 pgprot_t prot, struct page **pages,
165 phys_addr_t phys_addr, pgprot_t prot,
286 pgprot_t prot, in kmsan_vmap_pages_range_noflush()
300 pgprot_t prot, in kmsan_ioremap_page_range()
A Dpgtable.h1010 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify()
1200 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot,
1203 extern void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot,
1445 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot);
1448 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
1455 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot);
1456 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot);
1463 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
1519 unsigned long size, pgprot_t *vma_prot);
1528 static inline bool pfn_modify_allowed(unsigned long pfn, pgprot_t prot) in pfn_modify_allowed()
[all …]
/linux-6.3-rc2/arch/x86/include/asm/
A Dpgtable_types.h177 #define __pgprot(x) ((pgprot_t) { (x) } )
263 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; typedef
267 static inline pgprot_t pgprot_nx(pgprot_t prot) in pgprot_nx()
470 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large()
480 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot) in pgprot_large_2_4k()
494 extern pgprot_t pgprot_writecombine(pgprot_t prot);
497 extern pgprot_t pgprot_writethrough(pgprot_t prot);
504 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
505 unsigned long size, pgprot_t vma_prot);
/linux-6.3-rc2/arch/powerpc/mm/
A 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()
/linux-6.3-rc2/arch/arm64/mm/
A Dpageattr.c16 pgprot_t set_mask;
17 pgprot_t clear_mask;
49 pgprot_t set_mask, pgprot_t clear_mask) in __change_memory_common()
65 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
A Dmmu.c175 phys_addr_t phys, pgprot_t prot) in init_pte()
200 pgprot_t prot, in alloc_init_cont_pte()
222 pgprot_t __prot = prot; in alloc_init_cont_pte()
238 phys_addr_t phys, pgprot_t prot, in init_pmd()
276 pgprot_t prot, in alloc_init_cont_pmd()
300 pgprot_t __prot = prot; in alloc_init_cont_pmd()
316 phys_addr_t phys, pgprot_t prot, in alloc_init_pud()
373 pgprot_t prot, in __create_pgd_mapping_locked()
401 pgprot_t prot, in __create_pgd_mapping()
454 phys_addr_t size, pgprot_t prot) in create_mapping_noalloc()
[all …]
/linux-6.3-rc2/arch/sparc/include/asm/
A Dpgtable_32.h280 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte()
285 static inline pte_t mk_pte_phys(unsigned long page, pgprot_t pgprot) in mk_pte_phys()
290 static inline pte_t mk_pte_io(unsigned long page, pgprot_t pgprot, int space) in mk_pte_io()
296 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
302 static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__;
303 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.3-rc2/arch/x86/mm/
A Dcpu_entry_area.c72 void cea_set_pte(void *cea_vaddr, phys_addr_t pa, pgprot_t flags) in cea_set_pte()
92 cea_map_percpu_pages(void *cea_vaddr, void *ptr, int pages, pgprot_t prot) in cea_map_percpu_pages()
175 pgprot_t gdt_prot = PAGE_KERNEL_RO; in setup_cpu_entry_area()
176 pgprot_t tss_prot = PAGE_KERNEL_RO; in setup_cpu_entry_area()
185 pgprot_t gdt_prot = PAGE_KERNEL; in setup_cpu_entry_area()
186 pgprot_t tss_prot = PAGE_KERNEL; in setup_cpu_entry_area()
/linux-6.3-rc2/arch/csky/include/asm/
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.3-rc2/arch/x86/mm/pat/
A Dset_memory.c45 pgprot_t mask_set;
46 pgprot_t mask_clr;
620 static inline pgprot_t verify_rwx(pgprot_t old, pgprot_t new, unsigned long start, in verify_rwx()
823 static pgprot_t pgprot_clear_protnone_bits(pgprot_t prot) in pgprot_clear_protnone_bits()
1005 pgprot_t prot; in split_set_pte()
1043 pgprot_t ref_prot; in __split_large_page()
1342 pgprot_t pmd_pgprot; in populate_pmd()
1411 pgprot_t pgprot) in populate_pud()
1416 pgprot_t pud_pgprot; in populate_pud()
1793 pgprot_t mask_set, pgprot_t mask_clr, in change_page_attr_set_clr()
[all …]
/linux-6.3-rc2/mm/
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()
102 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap()
222 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap()
231 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap_ro()
/linux-6.3-rc2/arch/arm/include/asm/
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
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
A Dpgtable.h89 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);
213 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
219 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
265 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-6.3-rc2/arch/loongarch/include/asm/
A Dpgtable-bits.h97 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached()
108 static inline pgprot_t pgprot_writecombine(pgprot_t _prot) in pgprot_writecombine()
/linux-6.3-rc2/arch/alpha/include/asm/
A Dpage.h33 typedef struct { unsigned long pgprot; } pgprot_t; typedef
43 #define __pgprot(x) ((pgprot_t) { (x) } )
52 typedef unsigned long pgprot_t; typedef
/linux-6.3-rc2/include/drm/ttm/
A Dttm_caching.h53 pgprot_t ttm_prot_from_caching(enum ttm_caching caching, pgprot_t tmp);
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dvmalloc.h10 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported()
17 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()

Completed in 37 milliseconds

12345678910>>...12