Lines Matching refs:prot
353 dlmmap_locked (void *start, size_t length, int prot, int flags, off_t offset)
374 ptr = mmap (NULL, length, (prot & ~PROT_WRITE) | PROT_EXEC,
390 start = mmap (start, length, prot, flags, execfd, offset);
409 dlmmap (void *start, size_t length, int prot,
415 && prot == (PROT_READ | PROT_WRITE)
425 ptr = mmap (start, length, prot | PROT_EXEC, flags, fd, offset);
432 with ((prot & ~PROT_WRITE) | PROT_EXEC) and mremap with
433 MREMAP_DUP and prot at this point. */
439 ptr = dlmmap_locked (start, length, prot, flags, offset);
445 return dlmmap_locked (start, length, prot, flags, offset);