Home
last modified time | relevance | path

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

12345

/linux/arch/powerpc/include/asm/
H A Dpgtable.h58 static inline pgprot_t pte_pgprot(pte_t pte) in pte_pgprot()
68 static inline pgprot_t pmd_pgprot(pmd_t pmd) in pmd_pgprot()
74 static inline pgprot_t pud_pgprot(pud_t pud) in pud_pgprot()
80 static inline pgprot_t pgprot_nx(pgprot_t prot) in pgprot_nx()
100 extern const pgprot_t protection_map[16];
122 pgprot_t __phys_mem_access_prot(unsigned long pfn, unsigned long size,
123 pgprot_t vma_prot);
126 static inline pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
127 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
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/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()
H A Dfixmap.h68 unsigned long phys, pgprot_t flags);
69 extern void __clear_fixmap(enum fixed_addresses idx, pgprot_t flags);
H A Dpage.h64 typedef struct { unsigned long long pgprot; } pgprot_t; typedef
72 typedef struct { unsigned long pgprot; } pgprot_t; typedef
82 #define __pgprot(x) ((pgprot_t) { (x) } )
/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/powerpc/include/asm/book3s/32/
H A Dpgtable.h137 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()
517 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
572 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
579 static inline pgprot_t pgprot_noncached_wc(pgprot_t prot) in pgprot_noncached_wc()
586 static inline pgprot_t pgprot_cached(pgprot_t prot) in pgprot_cached()
593 static inline pgprot_t pgprot_cached_wthru(pgprot_t prot) in pgprot_cached_wthru()
600 static inline pgprot_t pgprot_cached_noncoherent(pgprot_t prot) in pgprot_cached_noncoherent()
606 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/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/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/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()
H A Diomap_32.c21 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot) in iomap_create_wc()
47 void __iomem *__iomap_local_pfn_prot(unsigned long pfn, pgprot_t prot) in __iomap_local_pfn_prot()
/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/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/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()
/linux/include/linux/
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/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()
593 static inline bool conflicts(pgprot_t prot, pgprotval_t val) in conflicts()
598 static inline void check_conflict(int warnlvl, pgprot_t prot, pgprotval_t val, in check_conflict()
622 static inline pgprot_t static_protections(pgprot_t prot, unsigned long start, in static_protections()
670 static inline pgprot_t verify_rwx(pgprot_t old, pgprot_t new, unsigned long start, in verify_rwx()
911 static pgprot_t pgprot_clear_protnone_bits(pgprot_t prot) in pgprot_clear_protnone_bits()
932 pgprot_t old_prot, new_prot, req_prot, chk_prot; in __should_split_large_page()
1091 pgprot_t ref_prot, unsigned long address, in split_set_pte()
[all …]
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/m68k/kernel/
H A Ddma.c17 pgprot_t pgprot_dmacoherent(pgprot_t prot) in pgprot_dmacoherent()
/linux/arch/m68k/include/asm/
H A Dpage.h26 typedef struct { unsigned long pgprot; } pgprot_t; typedef
45 #define __pgprot(x) ((pgprot_t) { (x) } )

12345