Lines Matching refs:prot
100 static inline pgprot_t arch_filter_pgprot(pgprot_t prot) in arch_filter_pgprot() argument
102 return prot; in arch_filter_pgprot()
1401 unsigned long len, unsigned long prot, in do_mmap() argument
1420 if ((prot & PROT_READ) && (current->personality & READ_IMPLIES_EXEC)) in do_mmap()
1422 prot |= PROT_EXEC; in do_mmap()
1458 if (prot == PROT_EXEC) { in do_mmap()
1468 vm_flags |= calc_vm_prot_bits(prot, pkey) | calc_vm_flag_bits(flags) | in do_mmap()
1501 if (prot & PROT_WRITE) { in do_mmap()
1589 unsigned long prot, unsigned long flags, in ksys_mmap_pgoff() argument
1632 retval = vm_mmap_pgoff(file, addr, len, prot, flags, pgoff); in ksys_mmap_pgoff()
1640 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
1643 return ksys_mmap_pgoff(addr, len, prot, flags, fd, pgoff); in SYSCALL_DEFINE6()
1650 unsigned long prot; member
1665 return ksys_mmap_pgoff(a.addr, a.len, a.prot, a.flags, a.fd, in SYSCALL_DEFINE1()
2905 unsigned long, prot, unsigned long, pgoff, unsigned long, flags) in SYSCALL_DEFINE5() argument
2917 if (prot) in SYSCALL_DEFINE5()
2962 prot |= vma->vm_flags & VM_READ ? PROT_READ : 0; in SYSCALL_DEFINE5()
2963 prot |= vma->vm_flags & VM_WRITE ? PROT_WRITE : 0; in SYSCALL_DEFINE5()
2964 prot |= vma->vm_flags & VM_EXEC ? PROT_EXEC : 0; in SYSCALL_DEFINE5()
2989 prot, flags, pgoff, &populate, NULL); in SYSCALL_DEFINE5()