/arch/powerpc/include/asm/ |
D | mman.h | 20 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot, in arch_calc_vm_prot_bits() 29 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey) argument 43 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) in arch_validate_prot()
|
/arch/sparc/include/asm/ |
D | mman.h | 30 #define arch_calc_vm_prot_bits(prot, pkey) sparc_calc_vm_prot_bits(prot) argument 31 static inline unsigned long sparc_calc_vm_prot_bits(unsigned long prot) in sparc_calc_vm_prot_bits() 55 #define arch_validate_prot(prot, addr) sparc_validate_prot(prot, addr) argument 56 static inline int sparc_validate_prot(unsigned long prot, unsigned long addr) in sparc_validate_prot()
|
/arch/powerpc/mm/ |
D | ioremap.c | 13 pgprot_t prot = pgprot_noncached(PAGE_KERNEL); in ioremap() local 24 pgprot_t prot = pgprot_noncached_wc(PAGE_KERNEL); in ioremap_wc() local 35 pgprot_t prot = pgprot_cached(PAGE_KERNEL); in ioremap_coherent() local 63 unsigned long size, pgprot_t prot) in early_ioremap_range() 78 pgprot_t prot, void *caller) in do_ioremap()
|
D | ioremap_32.c | 11 pgprot_t prot = pgprot_cached_wthru(PAGE_KERNEL); in ioremap_wt() local 18 __ioremap_caller(phys_addr_t addr, unsigned long size, pgprot_t prot, void *caller) in __ioremap_caller()
|
D | ioremap_64.c | 10 void __iomem *__ioremap_at(phys_addr_t pa, void *ea, unsigned long size, pgprot_t prot) in __ioremap_at() 58 pgprot_t prot, void *caller) in __ioremap_caller()
|
/arch/arm/mm/ |
D | idmap.c | 25 unsigned long prot) in idmap_add_pmd() 56 unsigned long prot) in idmap_add_pmd() 69 unsigned long prot) in idmap_add_pud() 81 const char *text_end, unsigned long prot) in identity_mapping_add()
|
/arch/arm64/include/asm/ |
D | pgalloc.h | 47 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate() 57 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate() 76 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pudp, pgdval_t prot) in __pgd_populate() 86 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pudp, pgdval_t prot) in __pgd_populate() 96 pmdval_t prot) in __pmd_populate()
|
/arch/x86/mm/ |
D | iomap_32.c | 21 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()
|
/arch/sh/kernel/ |
D | sys_sh.c | 33 unsigned long prot, unsigned long flags, in old_mmap() 42 unsigned long prot, unsigned long flags, in sys_mmap2()
|
/arch/powerpc/include/asm/nohash/ |
D | pgtable.h | 240 #define pgprot_noncached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument 243 #define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument 246 #define pgprot_cached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument 250 #define pgprot_cached_wthru(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument 253 #define pgprot_cached_wthru(prot) pgprot_noncached(prot) argument 256 #define pgprot_cached_noncoherent(prot) \ argument
|
/arch/arm64/mm/ |
D | ioremap.c | 22 pgprot_t prot, void *caller) in __ioremap_caller() 65 void __iomem *__ioremap(phys_addr_t phys_addr, size_t size, pgprot_t prot) in __ioremap()
|
D | mmu.c | 141 phys_addr_t phys, pgprot_t prot) in init_pte() 166 pgprot_t 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() 286 phys_addr_t phys, pgprot_t prot, in alloc_init_pud() 337 pgprot_t prot, in __create_pgd_mapping() 400 phys_addr_t size, pgprot_t prot) in create_mapping_noalloc() 413 pgprot_t prot, bool page_mappings_only) in create_pgd_mapping() 427 phys_addr_t size, pgprot_t prot) in update_mapping_prot() 443 phys_addr_t end, pgprot_t prot, int flags) in __map_memblock() [all …]
|
/arch/arm/include/asm/ |
D | pgtable.h | 113 #define __pgprot_modify(prot,mask,bits) \ argument 116 #define pgprot_noncached(prot) \ argument 119 #define pgprot_writecombine(prot) \ argument 122 #define pgprot_stronglyordered(prot) \ argument 125 #define pgprot_device(prot) \ argument 129 #define pgprot_dmacoherent(prot) \ argument 136 #define pgprot_dmacoherent(prot) \ argument 212 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot)) argument 215 #define mk_pte(page,prot) pfn_pte(page_to_pfn(page), prot) argument 269 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit() [all …]
|
D | pgtable-nommu.h | 63 #define pgprot_noncached(prot) (prot) argument 64 #define pgprot_writecombine(prot) (prot) argument 65 #define pgprot_device(prot) (prot) argument
|
/arch/csky/mm/ |
D | ioremap.c | 12 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()
|
/arch/riscv/kernel/ |
D | sys_riscv.c | 13 unsigned long prot, unsigned long flags, in riscv_sys_mmap() 25 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument 32 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
|
/arch/s390/mm/ |
D | dump_pagetables.c | 73 unsigned int prot, cur; in note_page() local 117 unsigned int prot; in note_kasan_early_shadow_page() local 136 unsigned int prot; in walk_pte_level() local 153 unsigned int prot; in walk_pmd_level() local 184 unsigned int prot; in walk_pud_level() local
|
/arch/sh/include/asm/ |
D | pgtable.h | 147 static inline bool __pte_access_permitted(pte_t pte, u64 prot) in __pte_access_permitted() 155 u64 prot = _PAGE_PRESENT; in pte_access_permitted() local 165 u64 prot = _PAGE_PRESENT | _PAGE_USER | _PAGE_READ; in pte_access_permitted() local 174 u64 prot = _PAGE_PRESENT | _PAGE_USER; in pte_access_permitted() local
|
D | mmu.h | 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()
|
/arch/um/include/asm/ |
D | pgtable-2level.h | 42 #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot)) argument 43 #define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot)) argument
|
/arch/microblaze/kernel/ |
D | sys_microblaze.c | 37 unsigned long, prot, unsigned long, flags, unsigned long, fd, in SYSCALL_DEFINE6() argument 47 unsigned long, prot, unsigned long, flags, unsigned long, fd, in SYSCALL_DEFINE6() argument
|
/arch/x86/include/asm/ |
D | fb.h | 12 unsigned long prot; in fb_pgprotect() local
|
/arch/x86/include/uapi/asm/ |
D | mman.h | 22 #define arch_calc_vm_prot_bits(prot, key) ( \ argument
|
/arch/powerpc/kernel/ |
D | syscalls.c | 41 unsigned long prot, unsigned long flags, in do_mmap2() 61 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument 68 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
|
/arch/um/kernel/ |
D | syscall.c | 18 unsigned long prot, unsigned long flags, in old_mmap()
|