Home
last modified time | relevance | path

Searched defs:prot (Results 1 – 25 of 165) sorted by relevance

1234567

/arch/powerpc/include/asm/
Dmman.h20 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/
Dmman.h30 #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/
Dioremap.c13 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()
Dioremap_32.c11 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()
Dioremap_64.c10 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/
Didmap.c25 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/
Dpgalloc.h47 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/
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()
/arch/sh/kernel/
Dsys_sh.c33 unsigned long prot, unsigned long flags, in old_mmap()
42 unsigned long prot, unsigned long flags, in sys_mmap2()
/arch/powerpc/include/asm/nohash/
Dpgtable.h240 #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/
Dioremap.c22 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()
Dmmu.c141 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/
Dpgtable.h113 #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 …]
Dpgtable-nommu.h63 #define pgprot_noncached(prot) (prot) argument
64 #define pgprot_writecombine(prot) (prot) argument
65 #define pgprot_device(prot) (prot) argument
/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()
/arch/riscv/kernel/
Dsys_riscv.c13 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/
Ddump_pagetables.c73 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/
Dpgtable.h147 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
Dmmu.h72 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/
Dpgtable-2level.h42 #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/
Dsys_microblaze.c37 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/
Dfb.h12 unsigned long prot; in fb_pgprotect() local
/arch/x86/include/uapi/asm/
Dmman.h22 #define arch_calc_vm_prot_bits(prot, key) ( \ argument
/arch/powerpc/kernel/
Dsyscalls.c41 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/
Dsyscall.c18 unsigned long prot, unsigned long flags, in old_mmap()

1234567