Home
last modified time | relevance | path

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

123456789

/linux/arch/powerpc/include/asm/
H A Dpgtable.h56 static inline pgprot_t pte_pgprot(pte_t pte) in pte_pgprot()
64 static inline pgprot_t pgprot_nx(pgprot_t prot) in pgprot_nx()
90 extern const pgprot_t protection_map[16];
112 pgprot_t __phys_mem_access_prot(unsigned long pfn, unsigned long size,
113 pgprot_t vma_prot);
116 static inline pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
117 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
/linux/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/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.h1524 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify()
1659 pgprot_t *prot) in pfnmap_setup_cachemode()
1665 pgprot_t *prot) in pfnmap_track()
1698 pgprot_t *prot);
1718 int pfnmap_track(unsigned long pfn, unsigned long size, pgprot_t *prot);
1740 static inline void pfnmap_setup_cachemode_pfn(unsigned long pfn, pgprot_t *prot) in pfnmap_setup_cachemode_pfn()
1858 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot);
1861 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
1868 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot);
1869 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/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()
252 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux/arch/x86/mm/pat/
H A Dset_memory.c44 pgprot_t mask_set;
45 pgprot_t mask_clr;
78 static inline pgprot_t cachemode2pgprot(enum page_cache_mode pcm) in cachemode2pgprot()
587 static inline bool conflicts(pgprot_t prot, pgprotval_t val) in conflicts()
592 static inline void check_conflict(int warnlvl, pgprot_t prot, pgprotval_t val, in check_conflict()
616 static inline pgprot_t static_protections(pgprot_t prot, unsigned long start, in static_protections()
664 static inline pgprot_t verify_rwx(pgprot_t old, pgprot_t new, unsigned long start, in verify_rwx()
905 static pgprot_t pgprot_clear_protnone_bits(pgprot_t prot) in pgprot_clear_protnone_bits()
926 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page()
1085 pgprot_t ref_prot, unsigned long address, in split_set_pte()
[all …]
/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.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);
216 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
222 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
268 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/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/alpha/include/asm/
H A Dpage.h29 typedef struct { unsigned long pgprot; } pgprot_t; typedef
39 #define __pgprot(x) ((pgprot_t) { (x) } )
48 typedef unsigned long pgprot_t; typedef
/linux/arch/powerpc/mm/book3s64/
H A Dpgtable.c237 static pmd_t pmd_set_protbits(pmd_t pmd, pgprot_t pgprot) in pmd_set_protbits()
242 static pud_t pud_set_protbits(pud_t pud, pgprot_t pgprot) in pud_set_protbits()
252 pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot) in pfn_pmd()
261 pud_t pfn_pud(unsigned long pfn, pgprot_t pgprot) in pfn_pud()
270 pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
279 pud_t pud_modify(pud_t pud, pgprot_t newprot) in pud_modify()
302 int nid, pgprot_t prot) in create_section_mapping()
646 pgprot_t vm_get_page_prot(vm_flags_t vm_flags) in vm_get_page_prot()
/linux/arch/openrisc/mm/
H A Dinit.c66 pgprot_t prot; in map_ram()
205 static int __init map_page(unsigned long va, phys_addr_t pa, pgprot_t prot) in map_page()
234 phys_addr_t phys, pgprot_t prot) in __set_fixmap()
246 static const pgprot_t protection_map[16] = {
/linux/include/drm/ttm/
H A Dttm_caching.h55 pgprot_t ttm_prot_from_caching(enum ttm_caching caching, pgprot_t tmp);
/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/arch/powerpc/include/asm/book3s/64/
H A Dpgtable.h549 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte()
611 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
751 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
758 static inline pgprot_t pgprot_noncached_wc(pgprot_t prot) in pgprot_noncached_wc()
765 static inline pgprot_t pgprot_cached(pgprot_t prot) in pgprot_cached()
771 static inline pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
980 static inline int map_kernel_page(unsigned long ea, unsigned long pa, pgprot_t prot) in map_kernel_page()
1078 extern pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot);
1079 extern pud_t pfn_pud(unsigned long pfn, pgprot_t pgprot);
1080 extern pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot);
[all …]
/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);

123456789