Home
last modified time | relevance | path

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

12345678

/linux/arch/arm64/mm/
H A Dpageattr.c20 pgprot_t set_mask;
21 pgprot_t clear_mask;
101 pgprot_t set_mask, pgprot_t clear_mask) in update_range_prot()
128 pgprot_t set_mask, pgprot_t clear_mask) in __change_memory_common()
145 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
250 pgprot_t clear_mask = __pgprot(PTE_VALID); in set_direct_map_invalid_noflush()
251 pgprot_t set_mask = __pgprot(0); in set_direct_map_invalid_noflush()
262 pgprot_t set_mask = __pgprot(PTE_VALID | PTE_WRITE); in set_direct_map_default_noflush()
263 pgprot_t clear_mask = __pgprot(PTE_RDONLY); in set_direct_map_default_noflush()
H A Dmmu.c104 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
105 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
175 phys_addr_t phys, pgprot_t prot) in init_pte()
199 pgprot_t prot, in alloc_init_cont_pte()
228 pgprot_t __prot = prot; in alloc_init_cont_pte()
254 phys_addr_t phys, pgprot_t prot, in init_pmd()
294 pgprot_t prot, in alloc_init_cont_pmd()
327 pgprot_t __prot = prot; in alloc_init_cont_pmd()
351 phys_addr_t phys, pgprot_t prot, in alloc_init_pud()
417 phys_addr_t phys, pgprot_t prot, in alloc_init_p4d()
[all …]
/linux/include/xen/
H A Dxen-ops.h47 xen_pfn_t *pfn, int nr, int *err_ptr, pgprot_t prot,
52 pgprot_t prot, unsigned int domid, in xen_remap_pfn()
66 int *err_ptr, pgprot_t prot,
79 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array()
116 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array()
152 pgprot_t prot, unsigned int domid) in xen_remap_domain_mfn_array()
176 pgprot_t prot, unsigned int domid, in xen_remap_domain_gfn_range()
/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/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/include/linux/
H A Dvmalloc.h93 static inline bool arch_vmap_p4d_supported(pgprot_t prot) in arch_vmap_p4d_supported()
100 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported()
107 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
137 static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) in arch_vmap_pgprot_tagged()
176 pgprot_t prot, unsigned long vm_flags, int node,
218 unsigned long flags, pgprot_t prot);
219 void *vmap_pfn(unsigned long *pfns, unsigned int count, pgprot_t prot);
229 int vmap_pages_range(unsigned long addr, unsigned long end, 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(const struct page *page, pgprot_t prot);
90 static inline void *kmap_local_page_prot(const struct page *page, pgprot_t prot) in kmap_local_page_prot()
105 static inline void *kmap_atomic_prot(const struct page *page, pgprot_t prot) in kmap_atomic_prot()
201 static inline void *kmap_local_page_prot(const struct page *page, pgprot_t prot) in kmap_local_page_prot()
228 static inline void *kmap_atomic_prot(const struct page *page, pgprot_t prot) in kmap_atomic_prot()
H A Dpgtable.h1699 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify()
1834 pgprot_t *prot) in pfnmap_setup_cachemode()
1840 pgprot_t *prot) in pfnmap_track()
1873 pgprot_t *prot);
1893 int pfnmap_track(unsigned long pfn, unsigned long size, pgprot_t *prot);
1915 static inline void pfnmap_setup_cachemode_pfn(unsigned long pfn, pgprot_t *prot) in pfnmap_setup_cachemode_pfn()
2033 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot);
2036 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
2043 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot);
2044 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot);
[all …]
H A Dkmsan.h144 pgprot_t prot,
172 phys_addr_t phys_addr, pgprot_t prot,
351 unsigned long start, unsigned long end, pgprot_t prot, in kmsan_vmap_pages_range_noflush()
365 pgprot_t prot, in kmsan_ioremap_page_range()
/linux/arch/loongarch/include/asm/
H A Dpgtable-bits.h131 static inline pgprot_t pgprot_nx(pgprot_t _prot) in pgprot_nx()
138 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached()
151 static inline pgprot_t pgprot_writecombine(pgprot_t _prot) in pgprot_writecombine()
/linux/arch/arm64/include/asm/
H A Dvmalloc.h10 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported()
16 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
69 static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) in arch_vmap_pgprot_tagged()
/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()
252 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/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/sparc/include/asm/
H A Dpgtable_32.h259 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte()
279 static inline pte_t mk_pte_phys(unsigned long page, pgprot_t pgprot) in mk_pte_phys()
284 static inline pte_t mk_pte_io(unsigned long page, pgprot_t pgprot, int space) in mk_pte_io()
290 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
296 static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__;
297 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/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-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/x86/mm/pat/
H A Dmemtype.c769 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
770 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
778 static inline void pgprot_set_cachemode(pgprot_t *prot, enum page_cache_mode pcm) in pgprot_set_cachemode()
785 unsigned long size, pgprot_t *vma_prot) in phys_mem_access_prot_allowed()
839 static int reserve_pfn_range(u64 paddr, unsigned long size, pgprot_t *vma_prot) in reserve_pfn_range()
908 int pfnmap_setup_cachemode(unsigned long pfn, unsigned long size, pgprot_t *prot) in pfnmap_setup_cachemode()
930 int pfnmap_track(unsigned long pfn, unsigned long size, pgprot_t *prot) in pfnmap_track()
944 pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
951 pgprot_t pgprot_writethrough(pgprot_t prot) in pgprot_writethrough()
/linux/arch/arm64/kernel/pi/
H A Dmap_range.c30 pgprot_t prot, int level, pte_t *tbl, bool may_use_cont, in map_range()
94 pgprot_t text_prot = PAGE_KERNEL_ROX; in create_init_idmap()
95 pgprot_t data_prot = PAGE_KERNEL; in create_init_idmap()
/linux/include/drm/ttm/
H A Dttm_caching.h55 pgprot_t ttm_prot_from_caching(enum ttm_caching caching, pgprot_t tmp);
/linux/arch/x86/include/asm/
H A Diomap.h16 void __iomem *__iomap_local_pfn_prot(unsigned long pfn, pgprot_t prot);
18 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot);
H A Dvmalloc.h12 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported()
19 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
/linux/arch/powerpc/include/asm/
H A Dvmalloc.h10 static __always_inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported()
17 static __always_inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
/linux/arch/riscv/include/asm/
H A Dvmalloc.h12 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported()
18 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
/linux/arch/csky/mm/
H A 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()
/linux/arch/sh/mm/
H A 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()

12345678