Home
last modified time | relevance | path

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

1234567891011

/linux-5.19.10/arch/arm64/include/asm/
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-5.19.10/arch/arm/mm/
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-5.19.10/arch/powerpc/include/asm/book3s/32/
Dpgtable.h180 int map_kernel_page(unsigned long va, phys_addr_t pa, pgprot_t prot);
452 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte()
529 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
599 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
606 static inline pgprot_t pgprot_noncached_wc(pgprot_t prot) in pgprot_noncached_wc()
613 static inline pgprot_t pgprot_cached(pgprot_t prot) in pgprot_cached()
620 static inline pgprot_t pgprot_cached_wthru(pgprot_t prot) in pgprot_cached_wthru()
627 static inline pgprot_t pgprot_cached_noncoherent(pgprot_t prot) in pgprot_cached_noncoherent()
633 static inline pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
/linux-5.19.10/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-5.19.10/include/xen/
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-5.19.10/include/linux/
Dvmalloc.h83 static inline bool arch_vmap_p4d_supported(pgprot_t prot) in arch_vmap_p4d_supported()
90 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported()
97 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
119 static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) in arch_vmap_pgprot_tagged()
152 pgprot_t prot, unsigned long vm_flags, int node,
167 unsigned long flags, pgprot_t prot);
168 void *vmap_pfn(unsigned long *pfns, unsigned int count, pgprot_t prot);
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()
190 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot()
217 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
Dpgtable.h974 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify()
1150 static inline int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap()
1161 static inline void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_insert()
1192 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot,
1195 extern void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot,
1450 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot);
1453 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
1460 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot);
1461 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot);
1468 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
[all …]
/linux-5.19.10/arch/x86/include/asm/
Dpgtable_types.h177 #define __pgprot(x) ((pgprot_t) { (x) } )
282 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; typedef
286 static inline pgprot_t pgprot_nx(pgprot_t prot) in pgprot_nx()
491 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large()
501 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot) in pgprot_large_2_4k()
515 extern pgprot_t pgprot_writecombine(pgprot_t prot);
518 extern pgprot_t pgprot_writethrough(pgprot_t prot);
525 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
526 unsigned long size, pgprot_t vma_prot);
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);
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-5.19.10/arch/powerpc/mm/
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-5.19.10/arch/x86/mm/
Dcpu_entry_area.c34 void cea_set_pte(void *cea_vaddr, phys_addr_t pa, pgprot_t flags) in cea_set_pte()
54 cea_map_percpu_pages(void *cea_vaddr, void *ptr, int pages, pgprot_t prot) in cea_map_percpu_pages()
137 pgprot_t gdt_prot = PAGE_KERNEL_RO; in setup_cpu_entry_area()
138 pgprot_t tss_prot = PAGE_KERNEL_RO; in setup_cpu_entry_area()
150 pgprot_t gdt_prot = boot_cpu_has(X86_FEATURE_XENPV) ? in setup_cpu_entry_area()
152 pgprot_t tss_prot = PAGE_KERNEL; in setup_cpu_entry_area()
/linux-5.19.10/arch/arm64/mm/
Dpageattr.c16 pgprot_t set_mask;
17 pgprot_t clear_mask;
43 pgprot_t set_mask, pgprot_t clear_mask) in __change_memory_common()
59 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
/linux-5.19.10/arch/sparc/include/asm/
Dpgtable_32.h299 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte()
304 static inline pte_t mk_pte_phys(unsigned long page, pgprot_t pgprot) in mk_pte_phys()
309 static inline pte_t mk_pte_io(unsigned long page, pgprot_t pgprot, int space) in mk_pte_io()
315 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
321 static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__;
322 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
405 unsigned long, pgprot_t);
409 unsigned long size, pgprot_t prot) in io_remap_pfn_range()
/linux-5.19.10/arch/csky/include/asm/
Dpgtable.h225 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
226 unsigned long size, pgprot_t vma_prot);
236 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached()
246 static inline pgprot_t pgprot_writecombine(pgprot_t _prot) in pgprot_writecombine()
260 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-5.19.10/arch/arm/include/asm/
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
Dpgtable.h80 extern pgprot_t pgprot_user;
81 extern pgprot_t pgprot_kernel;
123 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
124 unsigned long size, pgprot_t vma_prot);
228 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
234 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
280 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux-5.19.10/mm/
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-5.19.10/arch/x86/mm/pat/
Dset_memory.c44 pgprot_t mask_set;
45 pgprot_t mask_clr;
77 static inline pgprot_t cachemode2pgprot(enum page_cache_mode pcm) in cachemode2pgprot()
508 static inline bool conflicts(pgprot_t prot, pgprotval_t val) in conflicts()
513 static inline void check_conflict(int warnlvl, pgprot_t prot, pgprotval_t val, in check_conflict()
537 static inline pgprot_t static_protections(pgprot_t prot, unsigned long start, in static_protections()
748 static pgprot_t pgprot_clear_protnone_bits(pgprot_t prot) in pgprot_clear_protnone_bits()
769 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page()
924 pgprot_t ref_prot, unsigned long address, in split_set_pte()
928 pgprot_t prot; in split_set_pte()
[all …]
/linux-5.19.10/include/drm/ttm/
Dttm_caching.h53 pgprot_t ttm_prot_from_caching(enum ttm_caching caching, pgprot_t tmp);
/linux-5.19.10/arch/powerpc/include/asm/
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()
/linux-5.19.10/arch/alpha/include/asm/
Dpage.h34 typedef struct { unsigned long pgprot; } pgprot_t; typedef
44 #define __pgprot(x) ((pgprot_t) { (x) } )
53 typedef unsigned long pgprot_t; typedef
/linux-5.19.10/arch/csky/mm/
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()

1234567891011