Home
last modified time | relevance | path

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

12345678910

/linux/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/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/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/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/include/linux/
H A Dvmalloc.h11 #include <asm/page.h> /* pgprot_t */
88 static inline bool arch_vmap_p4d_supported(pgprot_t prot) in arch_vmap_p4d_supported()
95 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported()
102 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
124 static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) in arch_vmap_pgprot_tagged()
169 pgprot_t prot, unsigned long vm_flags, int node,
200 unsigned long flags, pgprot_t prot); in get_vm_area_size()
201 void *vmap_pfn(unsigned long *pfns, unsigned int count, pgprot_t prot); in get_vm_area_size()
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 Dkmsan.h143 pgprot_t prot,
170 phys_addr_t phys_addr, pgprot_t prot,
350 unsigned long start, unsigned long end, pgprot_t prot, in kmsan_vmap_pages_range_noflush()
364 pgprot_t prot, in kmsan_ioremap_page_range()
/linux/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/arch/arm64/mm/
H A Dpageattr.c17 pgprot_t set_mask;
18 pgprot_t clear_mask;
52 pgprot_t set_mask, pgprot_t clear_mask) in __change_memory_common()
68 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
H A Dmmu.c99 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
100 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
170 phys_addr_t phys, pgprot_t prot) in init_pte()
194 pgprot_t prot, in alloc_init_cont_pte()
221 pgprot_t __prot = prot; in alloc_init_cont_pte()
245 phys_addr_t phys, pgprot_t prot, in init_pmd()
279 pgprot_t prot, in alloc_init_cont_pmd()
308 pgprot_t __prot = prot; in alloc_init_cont_pmd()
327 phys_addr_t phys, pgprot_t prot, in alloc_init_pud()
385 phys_addr_t phys, pgprot_t prot, in alloc_init_p4d()
[all …]
/linux/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/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/arch/powerpc/mm/
H 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()
60 unsigned long size, pgprot_t prot) in early_ioremap_range()
/linux/arch/x86/mm/pat/
H A Dset_memory.c46 pgprot_t mask_set;
47 pgprot_t mask_clr;
79 static inline pgprot_t cachemode2pgprot(enum page_cache_mode pcm) in cachemode2pgprot()
544 static inline bool conflicts(pgprot_t prot, pgprotval_t val) in conflicts()
549 static inline void check_conflict(int warnlvl, pgprot_t prot, pgprotval_t val, in check_conflict()
573 static inline pgprot_t static_protections(pgprot_t prot, unsigned long start, in static_protections()
621 static inline pgprot_t verify_rwx(pgprot_t old, pgprot_t new, unsigned long start, in verify_rwx()
862 static pgprot_t pgprot_clear_protnone_bits(pgprot_t prot) in pgprot_clear_protnone_bits()
883 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page()
1042 pgprot_t ref_prot, unsigned long address, in split_set_pte()
[all …]
H A Dmemtype.c767 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
768 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
804 unsigned long size, pgprot_t *vma_prot) in phys_mem_access_prot_allowed()
856 static int reserve_pfn_range(u64 paddr, unsigned long size, pgprot_t *vma_prot, in reserve_pfn_range()
956 pgprot_t *pgprot) in get_pat_info()
998 pgprot_t pgprot; in track_pfn_copy()
1016 int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap()
1056 void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, pfn_t pfn) in track_pfn_insert()
1112 pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
1119 pgprot_t pgprot_writethrough(pgprot_t prot) in pgprot_writethrough()
/linux/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/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.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);
218 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
224 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
270 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
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
/linux/arch/loongarch/include/asm/
H A Dpgtable-bits.h101 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached()
114 static inline pgprot_t pgprot_writecombine(pgprot_t _prot) in pgprot_writecombine()
/linux/arch/alpha/include/asm/
H 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/arch/mips/include/asm/
H A Dpgtable.h460 static inline pgprot_t pgprot_noncached(pgprot_t _prot)
471 static inline pgprot_t pgprot_writecombine(pgprot_t _prot)
514 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
523 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
532 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
614 unsigned long pfn, unsigned long size, pgprot_t prot);
723 extern pmd_t mk_pmd(struct page *page, pgprot_t prot);
725 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
/linux/arch/riscv/mm/
H A Dpageattr.c14 pgprot_t set_mask;
15 pgprot_t clear_mask;
114 pgprot_t prot = __pgprot(pmd_val(pmdp_get(pmdp)) & ~_PAGE_PFN_MASK); in __split_linear_mapping_pmd()
154 pgprot_t prot = __pgprot(pud_val(pudp_get(pudp)) & ~_PAGE_PFN_MASK); in __split_linear_mapping_pud()
203 pgprot_t prot = __pgprot(p4d_val(p4dp_get(p4dp)) & ~_PAGE_PFN_MASK); in __split_linear_mapping_p4d()
262 static int __set_memory(unsigned long addr, int numpages, pgprot_t set_mask, in __set_memory()
263 pgprot_t clear_mask) in __set_memory()
/linux/include/drm/ttm/
H A Dttm_caching.h55 pgprot_t ttm_prot_from_caching(enum ttm_caching caching, pgprot_t tmp);

12345678910