Home
last modified time | relevance | path

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

1234567891011

/linux/arch/powerpc/include/asm/book3s/32/
A Dpgtable.h180 int map_kernel_page(unsigned long va, phys_addr_t pa, pgprot_t prot);
444 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) in pfn_pte()
521 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
591 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
598 static inline pgprot_t pgprot_noncached_wc(pgprot_t prot) in pgprot_noncached_wc()
605 static inline pgprot_t pgprot_cached(pgprot_t prot) in pgprot_cached()
612 static inline pgprot_t pgprot_cached_wthru(pgprot_t prot) in pgprot_cached_wthru()
619 static inline pgprot_t pgprot_cached_noncoherent(pgprot_t prot) in pgprot_cached_noncoherent()
625 static inline pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
/linux/include/xen/
A Dxen-ops.h54 xen_pfn_t *pfn, int nr, int *err_ptr, pgprot_t prot,
59 pgprot_t prot, unsigned int domid, in xen_remap_pfn()
73 int *err_ptr, pgprot_t prot,
86 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array()
123 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array()
159 pgprot_t prot, unsigned int domid) in xen_remap_domain_mfn_array()
183 pgprot_t prot, unsigned int domid, in xen_remap_domain_gfn_range()
/linux/arch/sh/include/asm/
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/arch/x86/include/asm/
A Dpgtable_types.h175 #define __pgprot(x) ((pgprot_t) { (x) } )
280 typedef struct pgprot { pgprotval_t pgprot; } pgprot_t; typedef
284 static inline pgprot_t pgprot_nx(pgprot_t prot) in pgprot_nx()
489 static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot) in pgprot_4k_2_large()
499 static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot) in pgprot_large_2_4k()
513 extern pgprot_t pgprot_writecombine(pgprot_t prot);
516 extern pgprot_t pgprot_writethrough(pgprot_t prot);
523 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
524 unsigned long size, pgprot_t vma_prot);
/linux/arch/sparc/include/asm/
A Dpgtable_32.h294 static inline pte_t mk_pte(struct page *page, pgprot_t pgprot) in mk_pte()
299 static inline pte_t mk_pte_phys(unsigned long page, pgprot_t pgprot) in mk_pte_phys()
304 static inline pte_t mk_pte_io(unsigned long page, pgprot_t pgprot, int space) in mk_pte_io()
310 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
316 static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__;
317 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
400 unsigned long, pgprot_t);
404 unsigned long size, pgprot_t prot) in io_remap_pfn_range()
A Dpgtable_64.h211 pte_t mk_pte_io(unsigned long, pgprot_t, int, unsigned long);
215 extern pgprot_t PAGE_KERNEL;
216 extern pgprot_t PAGE_KERNEL_LOCKED;
217 extern pgprot_t PAGE_COPY;
218 extern pgprot_t PAGE_SHARED;
277 static inline pte_t pte_modify(pte_t pte, pgprot_t prot) in pte_modify()
336 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
346 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached()
783 static inline pgprot_t pmd_pgprot(pmd_t entry) in pmd_pgprot()
1005 unsigned long, pgprot_t);
[all …]
/linux/include/linux/
A 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()
185 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot()
212 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
A Dvmalloc.h87 static inline bool arch_vmap_p4d_supported(pgprot_t prot) in arch_vmap_p4d_supported()
94 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported()
101 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
149 pgprot_t prot, unsigned long vm_flags, int node,
159 unsigned long flags, pgprot_t prot);
160 void *vmap_pfn(unsigned long *pfns, unsigned int count, pgprot_t prot);
A Dpgtable.h940 static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot) in pgprot_modify()
1129 extern int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot,
1132 extern void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot,
1387 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot);
1390 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
1400 int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot);
1401 int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot);
1408 static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot) in p4d_set_huge()
1412 static inline int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot) in pud_set_huge()
1467 unsigned long size, pgprot_t *vma_prot);
[all …]
/linux/arch/powerpc/mm/
A 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/arch/x86/mm/
A 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/arch/arm64/mm/
A 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()
A Dmmu.c84 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
157 phys_addr_t phys, pgprot_t prot) in init_pte()
182 pgprot_t prot, in alloc_init_cont_pte()
204 pgprot_t __prot = prot; in alloc_init_cont_pte()
220 phys_addr_t phys, pgprot_t prot, in init_pmd()
258 pgprot_t prot, in alloc_init_cont_pmd()
282 pgprot_t __prot = prot; in alloc_init_cont_pmd()
310 phys_addr_t phys, pgprot_t prot, in alloc_init_pud()
366 pgprot_t prot, in __create_pgd_mapping()
428 phys_addr_t size, pgprot_t prot) in create_mapping_noalloc()
[all …]
/linux/arch/csky/include/asm/
A Dpgtable.h224 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
225 unsigned long size, pgprot_t vma_prot);
235 static inline pgprot_t pgprot_noncached(pgprot_t _prot) in pgprot_noncached()
245 static inline pgprot_t pgprot_writecombine(pgprot_t _prot) in pgprot_writecombine()
259 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
/linux/arch/arm/mm/
A Dpageattr.c12 pgprot_t set_mask;
13 pgprot_t clear_mask;
36 pgprot_t set_mask, pgprot_t clear_mask) in change_memory_common()
/linux/mm/
A 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()
53 phys_addr_t phys, pgprot_t prot) in __late_set_fixmap()
101 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap()
221 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap()
230 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap_ro()
A Dmprotect.c39 unsigned long addr, unsigned long end, pgprot_t newprot, in change_pte_range()
224 pgprot_t newprot, unsigned long cp_flags) in change_pmd_range()
296 pgprot_t newprot, unsigned long cp_flags) in change_pud_range()
316 pgprot_t newprot, unsigned long cp_flags) in change_p4d_range()
335 unsigned long addr, unsigned long end, pgprot_t newprot, in change_protection_range()
365 unsigned long end, pgprot_t newprot, in change_protection()
384 return pfn_modify_allowed(pte_pfn(*pte), *(pgprot_t *)(walk->private)) ? in prot_none_pte_entry()
392 return pfn_modify_allowed(pte_pfn(*pte), *(pgprot_t *)(walk->private)) ? in prot_none_hugetlb_entry()
433 pgprot_t new_pgprot = vm_get_page_prot(newflags); in mprotect_fixup()
/linux/arch/x86/mm/pat/
A Dset_memory.c44 pgprot_t mask_set;
45 pgprot_t mask_clr;
537 static inline pgprot_t static_protections(pgprot_t prot, unsigned long start, in static_protections()
759 static pgprot_t pgprot_clear_protnone_bits(pgprot_t prot) in pgprot_clear_protnone_bits()
939 pgprot_t prot; in split_set_pte()
977 pgprot_t ref_prot; in __split_large_page()
1276 pgprot_t pmd_pgprot; in populate_pmd()
1345 pgprot_t pgprot) in populate_pud()
1350 pgprot_t pud_pgprot; in populate_pud()
1699 pgprot_t mask_set, pgprot_t mask_clr, in change_page_attr_set_clr()
[all …]
A Dmemtype.c824 pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn, in phys_mem_access_prot()
825 unsigned long size, pgprot_t vma_prot) in phys_mem_access_prot()
861 unsigned long size, pgprot_t *vma_prot) in phys_mem_access_prot_allowed()
913 static int reserve_pfn_range(u64 paddr, unsigned long size, pgprot_t *vma_prot, in reserve_pfn_range()
1004 pgprot_t pgprot; in track_pfn_copy()
1028 int track_pfn_remap(struct vm_area_struct *vma, pgprot_t *prot, in track_pfn_remap()
1068 void track_pfn_insert(struct vm_area_struct *vma, pgprot_t *prot, pfn_t pfn) in track_pfn_insert()
1120 pgprot_t pgprot_writecombine(pgprot_t prot) in pgprot_writecombine()
1127 pgprot_t pgprot_writethrough(pgprot_t prot) in pgprot_writethrough()
/linux/arch/arm/include/asm/
A 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()
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
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/mips/include/asm/
A Dpgtable.h472 static inline pgprot_t pgprot_noncached(pgprot_t _prot)
483 static inline pgprot_t pgprot_writecombine(pgprot_t _prot)
525 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
534 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
543 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
583 unsigned long pfn, unsigned long size, pgprot_t prot);
690 extern pmd_t mk_pmd(struct page *page, pgprot_t prot);
692 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
/linux/arch/arm64/include/asm/
A Dpgtable.h151 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit()
157 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
163 static inline pmd_t clear_pmd_bit(pmd_t pmd, pgprot_t prot) in clear_pmd_bit()
169 static inline pmd_t set_pmd_bit(pmd_t pmd, pgprot_t prot) in set_pmd_bit()
395 static inline pgprot_t mk_pud_sect_prot(pgprot_t prot) in mk_pud_sect_prot()
400 static inline pgprot_t mk_pmd_sect_prot(pgprot_t prot) in mk_pmd_sect_prot()
529 extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
530 unsigned long size, pgprot_t vma_prot);
756 static inline pte_t pte_modify(pte_t pte, pgprot_t newprot) in pte_modify()
772 static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot) in pmd_modify()
[all …]
/linux/arch/alpha/include/asm/
A Dpage.h34 typedef struct { unsigned long pgprot; } pgprot_t; typedef
44 #define __pgprot(x) ((pgprot_t) { (x) } )
53 typedef unsigned long pgprot_t; typedef

Completed in 44 milliseconds

1234567891011