Home
last modified time | relevance | path

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

1234567891011

/Linux-v5.4/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()
/Linux-v5.4/arch/powerpc/include/asm/book3s/32/
Dpgtable.h140 int map_kernel_page(unsigned long va, phys_addr_t pa, pgprot_t prot);
436 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte()
513 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
583 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
590 static inline pgprot_t pgprot_noncached_wc(pgprot_t prot) in pgprot_noncached_wc()
597 static inline pgprot_t pgprot_cached(pgprot_t prot) in pgprot_cached()
604 static inline pgprot_t pgprot_cached_wthru(pgprot_t prot) in pgprot_cached_wthru()
611 static inline pgprot_t pgprot_cached_noncoherent(pgprot_t prot) in pgprot_cached_noncoherent()
617 static inline pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
/Linux-v5.4/arch/x86/include/asm/
Dpgtable_types.h265 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; typedef
453 #define __pgprot(x) ((pgprot_t) { (x) } )
473 static inline pgprot_t cachemode2pgprot(enum page_cache_mode pcm) in cachemode2pgprot()
477 static inline enum page_cache_mode pgprot2cachemode(pgprot_t pgprot) in pgprot2cachemode()
486 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large()
489 pgprot_t new; in pgprot_4k_2_large()
495 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot) in pgprot_large_2_4k()
498 pgprot_t new; in pgprot_large_2_4k()
515 extern pgprot_t pgprot_writecombine(pgprot_t prot);
518 extern pgprot_t pgprot_writethrough(pgprot_t prot);
[all …]
/Linux-v5.4/lib/
Dioremap.c64 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pte_range()
83 pgprot_t prot) in ioremap_try_huge_pmd()
104 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pmd_range()
126 pgprot_t prot) in ioremap_try_huge_pud()
147 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pud_range()
169 pgprot_t prot) in ioremap_try_huge_p4d()
190 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_p4d_range()
211 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range()
/Linux-v5.4/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()
/Linux-v5.4/include/linux/
Dvmalloc.h78 int node, pgprot_t prot);
99 extern void *__vmalloc(unsigned long size, gfp_t gfp_mask, pgprot_t prot);
102 pgprot_t prot, unsigned long vm_flags, int node,
120 unsigned long flags, pgprot_t prot);
157 extern int map_vm_area(struct vm_struct *area, pgprot_t prot,
161 pgprot_t prot, struct page **pages);
174 pgprot_t prot, struct page **pages) in map_kernel_range_noflush()
Ddma-noncoherent.h58 pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, unsigned long attrs);
60 static inline pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, in dma_pgprot()
/Linux-v5.4/arch/powerpc/mm/
Dioremap.c13 pgprot_t prot = pgprot_noncached(PAGE_KERNEL); in ioremap()
24 pgprot_t prot = pgprot_noncached_wc(PAGE_KERNEL); in ioremap_wc()
35 pgprot_t prot = pgprot_cached(PAGE_KERNEL); in ioremap_coherent()
63 unsigned long size, pgprot_t prot) in early_ioremap_range()
78 pgprot_t prot, void *caller) in do_ioremap()
/Linux-v5.4/arch/x86/mm/
Dcpu_entry_area.c29 void cea_set_pte(void *cea_vaddr, phys_addr_t pa, pgprot_t flags) in cea_set_pte()
49 cea_map_percpu_pages(void *cea_vaddr, void *ptr, int pages, pgprot_t prot) in cea_map_percpu_pages()
120 pgprot_t gdt_prot = PAGE_KERNEL_RO; in setup_cpu_entry_area()
121 pgprot_t tss_prot = PAGE_KERNEL_RO; in setup_cpu_entry_area()
133 pgprot_t gdt_prot = boot_cpu_has(X86_FEATURE_XENPV) ? in setup_cpu_entry_area()
135 pgprot_t tss_prot = PAGE_KERNEL; in setup_cpu_entry_area()
Dpageattr.c38 pgprot_t mask_set;
39 pgprot_t mask_clr;
488 static inline bool conflicts(pgprot_t prot, pgprotval_t val) in conflicts()
493 static inline void check_conflict(int warnlvl, pgprot_t prot, pgprotval_t val, in check_conflict()
517 static inline pgprot_t static_protections(pgprot_t prot, unsigned long start, in static_protections()
728 static pgprot_t pgprot_clear_protnone_bits(pgprot_t prot) in pgprot_clear_protnone_bits()
749 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page()
904 pgprot_t ref_prot, unsigned long address, in split_set_pte()
908 pgprot_t prot; in split_set_pte()
946 pgprot_t ref_prot; in __split_large_page()
[all …]
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()
/Linux-v5.4/arch/csky/mm/
Dioremap.c12 pgprot_t prot, void *caller) in __ioremap_caller()
40 void __iomem *__ioremap(phys_addr_t phys_addr, size_t size, pgprot_t prot) in __ioremap()
60 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
61 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
/Linux-v5.4/arch/arm/include/asm/
Dpgtable.h81 extern pgprot_t pgprot_user;
82 extern pgprot_t pgprot_kernel;
83 extern pgprot_t pgprot_hyp_device;
84 extern pgprot_t pgprot_s2;
85 extern pgprot_t pgprot_s2_device;
133 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
134 unsigned long size, pgprot_t vma_prot);
269 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
275 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
321 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
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
/Linux-v5.4/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()
Dmmu.c79 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
80 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
141 phys_addr_t phys, pgprot_t prot) in init_pte()
166 pgprot_t prot, in alloc_init_cont_pte()
184 pgprot_t __prot = prot; in alloc_init_cont_pte()
200 phys_addr_t phys, pgprot_t prot, in init_pmd()
238 pgprot_t prot, in alloc_init_cont_pmd()
258 pgprot_t __prot = prot; in alloc_init_cont_pmd()
286 phys_addr_t phys, pgprot_t prot, in alloc_init_pud()
337 pgprot_t prot, in __create_pgd_mapping()
[all …]
/Linux-v5.4/arch/sparc/include/asm/
Dpgtable_32.h284 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte()
289 static inline pte_t mk_pte_phys(unsigned long page, pgprot_t pgprot) in mk_pte_phys()
294 static inline pte_t mk_pte_io(unsigned long page, pgprot_t pgprot, int space) in mk_pte_io()
300 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
306 static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__;
307 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
411 unsigned long, pgprot_t);
415 unsigned long size, pgprot_t prot) in io_remap_pfn_range()
/Linux-v5.4/arch/arm/mm/
Dpageattr.c13 pgprot_t set_mask;
14 pgprot_t clear_mask;
37 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
/Linux-v5.4/include/asm-generic/
Dpgtable.h511 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify()
805 static inline int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap()
816 static inline void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert()
847 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot,
850 extern void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot,
1042 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot);
1045 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
1055 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot);
1056 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot);
1063 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
[all …]
/Linux-v5.4/arch/mips/include/asm/
Dpgtable.h420 static inline pgprot_t pgprot_noncached(pgprot_t _prot)
431 static inline pgprot_t pgprot_writecombine(pgprot_t _prot)
448 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
457 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
466 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
495 …uct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t prot);
501 pgprot_t prot)
596 extern pmd_t mk_pmd(struct page *page, pgprot_t prot);
611 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
653 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
[all …]
/Linux-v5.4/mm/
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()
/Linux-v5.4/arch/csky/include/asm/
Dpgtable.h246 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
247 unsigned long size, pgprot_t vma_prot);
257 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached()
267 static inline pgprot_t pgprot_writecombine(pgprot_t _prot) in pgprot_writecombine()
281 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/Linux-v5.4/arch/unicore32/include/asm/
Dpage.h36 typedef struct { unsigned long pgprot; } pgprot_t; typedef
44 #define __pgprot(x) ((pgprot_t) { (x) })
52 typedef unsigned long pgprot_t; typedef
/Linux-v5.4/arch/arc/include/asm/
Dpage.h42 } pgprot_t; typedef
50 #define __pgprot(x) ((pgprot_t) { (x) })
62 typedef unsigned long pgprot_t; typedef

1234567891011