/arch/powerpc/include/asm/ |
H A D | mman.h | 21 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot) argument 23 return (prot & PROT_SAO) ? VM_SAO : 0; 25 #define arch_calc_vm_prot_bits(prot) arch_calc_vm_prot_bits(prot) 33 static inline int arch_validate_prot(unsigned long prot) argument 35 if (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM | PROT_SAO)) 37 if ((prot & PROT_SAO) && !cpu_has_feature(CPU_FTR_SAO)) 41 #define arch_validate_prot(prot) arch_validate_prot(prot)
|
H A D | syscalls.h | 12 unsigned long prot, unsigned long flags, 15 unsigned long prot, unsigned long flags,
|
/arch/sh/include/asm/ |
H A D | syscalls.h | 7 unsigned long prot, unsigned long flags, 10 unsigned long prot, unsigned long flags,
|
H A D | mmu.h | 62 unsigned long size, pgprot_t prot); 64 pgprot_t prot, void *caller); 71 unsigned long size, pgprot_t prot) 78 pgprot_t prot, void *caller) 99 pmb_remap(phys_addr_t phys, unsigned long size, pgprot_t prot) argument 101 return pmb_remap_caller(phys, size, prot, __builtin_return_address(0)); 70 pmb_bolt_mapping(unsigned long virt, phys_addr_t phys, unsigned long size, pgprot_t prot) argument 77 pmb_remap_caller(phys_addr_t phys, unsigned long size, pgprot_t prot, void *caller) argument
|
/arch/um/include/shared/skas/ |
H A D | proc_mm.h | 17 unsigned long prot; member in struct:mm_mmap 31 unsigned int prot; member in struct:mm_mprotect
|
/arch/avr32/include/asm/ |
H A D | pgtable-2level.h | 42 #define pfn_pte(pfn, prot) __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) 43 #define pfn_pmd(pfn, prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot))
|
/arch/score/kernel/ |
H A D | sys_score.c | 37 sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot, argument 40 return sys_mmap_pgoff(addr, len, prot, flags, fd, pgoff); 44 sys_mmap(unsigned long addr, unsigned long len, unsigned long prot, argument 49 return sys_mmap_pgoff(addr, len, prot, flags, fd, offset >> PAGE_SHIFT);
|
/arch/tile/gxio/ |
H A D | kiorpc.c | 33 pgprot_t mmio_base, prot = { 0 }; local 55 prot = hv_pte_set_lotar(prot, hv_pte_get_lotar(mmio_base)); 58 return ioremap_prot(PFN_PHYS(pfn), size, prot);
|
/arch/um/include/asm/ |
H A D | pgtable-2level.h | 41 #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot)) 42 #define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot))
|
/arch/x86/include/asm/ |
H A D | iomap.h | 30 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot); 36 iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot);
|
H A D | highmem.h | 63 void *kmap_atomic_prot(struct page *page, pgprot_t prot); 67 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot);
|
/arch/x86/mm/ |
H A D | iomap_32.c | 34 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot) argument 46 *prot = __pgprot(__PAGE_KERNEL | flag); 57 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) argument 67 set_pte(kmap_pte - idx, pfn_pte(pfn, prot)); 74 * Map 'pfn' using protections 'prot' 77 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) argument 85 if (!pat_enabled && pgprot_val(prot) == pgprot_val(PAGE_KERNEL_WC)) 86 prot = PAGE_KERNEL_UC_MINUS; 88 return (void __force __iomem *) kmap_atomic_prot_pfn(pfn, prot);
|
/arch/arm/mm/ |
H A D | idmap.c | 22 unsigned long prot) 47 *pmd = __pmd((addr & PMD_MASK) | prot); 53 unsigned long prot) 57 addr = (addr & PMD_MASK) | prot; 66 unsigned long prot) 73 idmap_add_pmd(pud, addr, next, prot); 78 const char *text_end, unsigned long prot) 87 prot |= PMD_TYPE_SECT | PMD_SECT_AP_WRITE | PMD_SECT_AF; 90 prot |= PMD_BIT4; 95 idmap_add_pud(pgd, addr, next, prot); 21 idmap_add_pmd(pud_t *pud, unsigned long addr, unsigned long end, unsigned long prot) argument 52 idmap_add_pmd(pud_t *pud, unsigned long addr, unsigned long end, unsigned long prot) argument 65 idmap_add_pud(pgd_t *pgd, unsigned long addr, unsigned long end, unsigned long prot) argument 77 identity_mapping_add(pgd_t *pgd, const char *text_start, const char *text_end, unsigned long prot) argument [all...] |
/arch/ia64/include/asm/ |
H A D | unistd.h | 40 int prot, int flags, 44 int prot, int flags,
|
/arch/um/kernel/ |
H A D | syscall.c | 18 unsigned long prot, unsigned long flags, 25 err = sys_mmap_pgoff(addr, len, prot, flags, fd, offset >> PAGE_SHIFT); 17 old_mmap(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long offset) argument
|
/arch/arc/mm/ |
H A D | ioremap.c | 47 pgprot_t prot = __pgprot(flags); local 59 prot = pgprot_noncached(prot); 75 (unsigned long)vaddr + size, paddr, prot)) {
|
/arch/arm/include/asm/ |
H A D | fixmap.h | 21 void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot);
|
/arch/microblaze/kernel/ |
H A D | sys_microblaze.c | 37 unsigned long, prot, unsigned long, flags, unsigned long, fd, 43 return sys_mmap_pgoff(addr, len, prot, flags, fd, pgoff >> PAGE_SHIFT); 47 unsigned long, prot, unsigned long, flags, unsigned long, fd, 53 return sys_mmap_pgoff(addr, len, prot, flags, fd,
|
/arch/m68k/include/asm/ |
H A D | pgtable_mm.h | 153 # define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) | CF_PAGE_NOCACHE)) 160 #define pgprot_noncached(prot) \ 162 ? (__pgprot(pgprot_val(prot) | __SUN3_PAGE_NOCACHE)) \ 164 ? (__pgprot(pgprot_val(prot) | _PAGE_NOCACHE030)) \ 166 ? (__pgprot((pgprot_val(prot) & _CACHEMASK040) | _PAGE_NOCACHE_S)) \ 167 : (prot)))
|
/arch/arm64/kernel/ |
H A D | sys.c | 30 unsigned long prot, unsigned long flags, 36 return sys_mmap_pgoff(addr, len, prot, flags, fd, off >> PAGE_SHIFT); 29 sys_mmap(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t off) argument
|
/arch/cris/kernel/ |
H A D | sys_cris.c | 30 sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot, argument 34 return sys_mmap_pgoff(addr, len, prot, flags, fd, pgoff);
|
/arch/frv/kernel/ |
H A D | sys_frv.c | 31 unsigned long prot, unsigned long flags, 42 return sys_mmap_pgoff(addr, len, prot, flags, fd, 30 sys_mmap2(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long pgoff) argument
|
/arch/hexagon/mm/ |
H A D | ioremap.c | 30 pgprot_t prot = __pgprot(_PAGE_PRESENT|_PAGE_READ|_PAGE_WRITE local 45 if (ioremap_page_range(addr, addr+size, phys_addr, prot)) {
|
/arch/mn10300/kernel/ |
H A D | sys_mn10300.c | 27 unsigned long prot, unsigned long flags, 32 return sys_mmap_pgoff(addr, len, prot, flags, fd, offset >> PAGE_SHIFT); 26 old_mmap(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, unsigned long offset) argument
|
/arch/tile/include/asm/ |
H A D | highmem.h | 65 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot); 67 void *kmap_atomic_prot(struct page *page, pgprot_t prot);
|