Lines Matching refs:prot
88 l_size_t len, l_int prot, l_int flags, l_int fd,
461 args->addr, args->len, args->prot, in linux_mmap2()
465 return (linux_mmap_common(td, PTROUT(args->addr), args->len, args->prot, in linux_mmap2()
483 linux_args.addr, linux_args.len, linux_args.prot, in linux_mmap()
488 linux_args.prot, linux_args.flags, linux_args.fd, in linux_mmap()
493 linux_mmap_common(struct thread *td, l_uintptr_t addr, l_size_t len, l_int prot, in linux_mmap_common() argument
543 bsd_args.prot = prot; in linux_mmap_common()
544 if (bsd_args.prot & (PROT_READ | PROT_WRITE | PROT_EXEC)) in linux_mmap_common()
545 bsd_args.prot |= PROT_READ | PROT_EXEC; in linux_mmap_common()
647 (void *)bsd_args.addr, (int)bsd_args.len, bsd_args.prot, in linux_mmap_common()
666 bsd_args.prot = uap->prot; in linux_mprotect()
667 if (bsd_args.prot & (PROT_READ | PROT_WRITE | PROT_EXEC)) in linux_mprotect()
668 bsd_args.prot |= PROT_READ | PROT_EXEC; in linux_mprotect()