/illumos-gate/usr/src/cmd/sgs/0@0/common/ |
H A D | 0@0.c | 50 (void) mmap(0, 1, PROT_READ, MAP_PRIVATE|MAP_FIXED, fd, 0);
|
/illumos-gate/usr/src/lib/libbc/csu/common/ |
H A D | alloc_pbuf.c | 41 buf = (char*) mmap(0, size, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0);
|
/illumos-gate/usr/src/test/libc-tests/tests/random/ |
H A D | inz_inval.c | 42 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, 51 ret = memcntl(buf, mapsz, MC_INHERIT_ZERO, 0, PROT_READ, 0); 55 ret = memcntl(buf, mapsz, MC_INHERIT_ZERO, bad, PROT_READ | PRIVATE, 0); 72 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, 90 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); 99 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
|
H A D | getentropy.c | 57 addr = mmap(NULL, 4096, PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0);
|
H A D | arc4random_fork.c | 50 PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0);
|
H A D | arc4random_forkall.c | 50 PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0);
|
H A D | inz_child.c | 42 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE,
|
H A D | inz_mlock.c | 40 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE,
|
H A D | inz_region.c | 40 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE,
|
H A D | inz_split.c | 42 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE,
|
H A D | inz_vpp.c | 43 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE,
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_subr.c | 37 return (mmap(NULL, size, PROT_READ | PROT_WRITE, 50 (void) mprotect(buf, size, PROT_READ);
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mmapwrite/ |
H A D | mmapwrite.c | 51 mmap(0, 8192, PROT_READ, MAP_SHARED, fd, 0)) == MAP_FAILED) { 56 if (mmap(addr, 8192, PROT_READ,
|
/illumos-gate/usr/src/test/os-tests/tests/secflags/ |
H A D | addrs.c | 17 if ((mapping = mmap((caddr_t)0, 10, (PROT_READ | PROT_WRITE),
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | mman.h | 35 * combinations. PROT_WRITE is often implemented as (PROT_READ | 36 * PROT_WRITE) and (PROT_EXECUTE as PROT_READ | PROT_EXECUTE). 41 #define PROT_READ 0x1 /* pages can be read */ macro
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | ppage.c | 80 HAT_STORECACHING_OK | PROT_READ | PROT_WRITE | HAT_NOSYNC, 95 HAT_STORECACHING_OK | PROT_READ | PROT_WRITE | HAT_NOSYNC,
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | output.c | 60 (p = mmap((char *)0, sz, PROT_READ+PROT_WRITE,
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | aligned_alloc.c | 60 PROT_READ, MAP_ANON | MAP_FIXED | MAP_PRIVATE, -1, 0),
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | mman.h | 60 * combinations. PROT_WRITE is often implemented as (PROT_READ | 61 * PROT_WRITE) and (PROT_EXECUTE as PROT_READ | PROT_EXECUTE). 66 #define PROT_READ 0x1 /* pages can be read */ macro 72 #define PROT_ZFOD (PROT_READ | PROT_WRITE | PROT_EXEC | PROT_USER) 73 #define PROT_ALL (PROT_READ | PROT_WRITE | PROT_EXEC | PROT_USER) 103 #define PROC_TEXT (PROT_EXEC | PROT_READ) 104 #define PROC_DATA (PROT_READ | PROT_WRITE | PROT_EXEC) 107 #define VALID_ATTR (PROT_READ|PROT_WRITE|PROT_EXEC|SHARED|PRIVATE)
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | urw.c | 149 (PROT_READ | PROT_WRITE) : PROT_READ, (caddr_t)-1); 162 writing ? (PROT_READ | PROT_WRITE) : PROT_READ, HAT_LOAD_LOCK); 190 uint_t prot_rw = writing ? PROT_WRITE : PROT_READ;
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | prb_shmem.c | 64 PROT_READ | PROT_WRITE, MAP_SHARED,
|
/illumos-gate/usr/src/lib/libc/i386/crt/ |
H A D | _rtld.c | 139 ehdr = (Elf32_Ehdr *)MMAP(0, sb.st_size, PROT_READ | PROT_EXEC, 197 maddr = (caddr_t)MMAP(0, mlen, PROT_READ | PROT_EXEC, 211 maddr = (caddr_t)MMAP(0, mlen, PROT_READ | PROT_EXEC, 268 i |= PROT_READ;
|
/illumos-gate/usr/src/lib/libc/sparc/crt/ |
H A D | _rtld.c | 138 ehdr = (Elf32_Ehdr *)MMAP(0, sb.st_size, PROT_READ | PROT_EXEC, 197 maddr = (caddr_t)MMAP(0, mlen, PROT_READ | PROT_EXEC, 211 maddr = (caddr_t)MMAP(0, mlen, PROT_READ | PROT_EXEC, 268 i |= PROT_READ;
|
/illumos-gate/usr/src/lib/libmtmalloc/tests/ |
H A D | exhaust.c | 65 stacks[ncpus] = mmap(0, 1<<23, PROT_READ|PROT_WRITE,
|
/illumos-gate/usr/src/cmd/tail/ |
H A D | misc.c | 102 if ((mip->start = mmap(NULL, mip->maplen, PROT_READ, MAP_SHARED,
|