/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | mmap | 70 (MAP_PRIVATE|MAP_VARIABLE), fd, 0); 74 (MAP_PRIVATE|MAP_FIXED), fd, 0); 98 (MAP_PRIVATE | (mm ? MAP_FIXED : MAP_VARIABLE)), 106 (MAP_PRIVATE|MAP_VARIABLE), 168 if (!(s = mmap64((caddr_t)0, (size_t)n, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, off))) 198 addr = mmap(0,1024*1024,PROT_READ|PROT_WRITE,MAP_ANON|MAP_PRIVATE,-1,0); 217 addr = mmap(0,1024*1024,PROT_READ|PROT_WRITE,MAP_PRIVATE,fd,0); 296 MAP_PRIVATE, fd, i*MAPSIZE );
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_context.c | 76 MAP_PRIVATE | MAP_ANON, -1, 0); in mdb_context_create() 89 MAP_PRIVATE, zfd, 0); in mdb_context_create()
|
/illumos-gate/usr/src/lib/libumem/common/ |
H A D | vmem_mmap.c | 36 #define ALLOC_FLAGS MAP_PRIVATE | MAP_ANON 37 #define FREE_FLAGS MAP_PRIVATE | MAP_ANON | MAP_NORESERVE
|
/illumos-gate/usr/src/test/libc-tests/tests/random/ |
H A D | inz_inval.c | 43 MAP_PRIVATE | MAP_ANON, -1, 0); in main() 90 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, MAP_PRIVATE, fd, 0); in main()
|
H A D | getentropy.c | 57 addr = mmap(NULL, 4096, PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0); in main()
|
H A D | inz_region.c | 41 MAP_PRIVATE | MAP_ANON, -1, 0); in main()
|
H A D | inz_mlock.c | 41 MAP_PRIVATE | MAP_ANON, -1, 0); in main()
|
H A D | inz_child.c | 43 MAP_PRIVATE | MAP_ANON, -1, 0); in main()
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | alloc.c | 118 _MAP_NEW | MAP_PRIVATE | MAP_ANON | MAP_ALIGN, -1L, (off_t)0) != 0) in initial_allocation() 202 MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, (off_t)0); in lmalloc() 239 MAP_PRIVATE|MAP_ANON|MAP_ALIGN, -1, (off_t)0); in lmalloc()
|
/illumos-gate/usr/src/test/os-tests/tests/xsave/ |
H A D | xsave_baducontext.c | 105 MAP_PRIVATE | MAP_ANON, -1, 0); in test_context_badptr1() 117 void *addr = mmap(NULL, pgsz * 2, PROT_NONE, MAP_PRIVATE | MAP_ANON, in test_context_badptr2()
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_vn.h | 159 seg_type == MAP_PRIVATE) 162 { NULL, NULL, 0, MAP_PRIVATE, prot, max, 0, NULL, 0, 0 }
|
H A D | seg_dev.h | 122 ((SEGOP_GETTYPE(seg, (seg)->s_base) & (MAP_SHARED | MAP_PRIVATE)) == 0))
|
H A D | seg_vn.c | 558 if (a->type != MAP_PRIVATE && a->type != MAP_SHARED) { in segvn_create() 572 if (a->type == MAP_PRIVATE && (a->flags & MAP_TEXT) && in segvn_create() 584 (a->amp != NULL && a->type == MAP_PRIVATE) || in segvn_create() 620 (a->type == MAP_PRIVATE && (a->prot & PROT_WRITE)))) { in segvn_create() 672 a->type == MAP_PRIVATE && swresv == 0 && in segvn_create() 704 if ((a->vp == NULL) && (a->type == MAP_PRIVATE) && in segvn_create() 1164 ASSERT(svd1->type == MAP_PRIVATE); in segvn_concat() 1980 ASSERT(svd->type == MAP_PRIVATE); in segvn_unmap() 2046 if (amp->refcnt == 1 || svd->type == MAP_PRIVATE) { in segvn_unmap() 2153 if (amp->refcnt == 1 || svd->type == MAP_PRIVATE) { in segvn_unmap() [all …]
|
/illumos-gate/usr/src/test/smbclient-tests/cmd/prot_mmap/ |
H A D | prot_mmap.c | 102 mflags0 |= MAP_PRIVATE; in main() 113 mflags1 |= MAP_PRIVATE; in main()
|
/illumos-gate/usr/src/cmd/sgs/0@0/common/ |
H A D | 0@0.c | 48 (void) mmap(0, 1, PROT_READ, MAP_PRIVATE|MAP_FIXED, fd, 0); in __zero_at_zero()
|
/illumos-gate/usr/src/test/os-tests/tests/secflags/ |
H A D | addrs.c | 18 MAP_ANON|MAP_PRIVATE, -1, 0)) == (void*)-1) in main()
|
/illumos-gate/usr/src/test/util-tests/tests/libsff/ |
H A D | libsff_efault.c | 39 if ((addr = mmap(NULL, len, PROT_READ, MAP_PRIVATE | MAP_ANON, -1, in main()
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | compat-cygwin.c | 39 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in blob_alloc()
|
/illumos-gate/usr/src/tools/smatch/src/compat/ |
H A D | mmap-blob.c | 22 ptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in blob_alloc()
|
/illumos-gate/usr/src/lib/libmtmalloc/tests/ |
H A D | exhaust.c | 64 MAP_PRIVATE, fd, 0); in main()
|
/illumos-gate/usr/src/lib/libctf/common/ |
H A D | ctf_subr.c | 36 MAP_PRIVATE | MAP_ANON, -1, 0)); in ctf_data_alloc()
|
/illumos-gate/usr/src/cmd/sgs/libcrle/common/ |
H A D | dump.c | 319 (MAP_FIXED | MAP_PRIVATE), fd, 0) == MAP_FAILED) { in filladdr() 339 (MAP_FIXED | MAP_PRIVATE), fd, 0) == MAP_FAILED) { in filladdr()
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | posix_memalign.c | 72 PROT_READ, MAP_ANON | MAP_FIXED | MAP_PRIVATE, -1, 0), in main()
|
/illumos-gate/usr/src/lib/libc/i386/crt/ |
H A D | _rtld.c | 274 MAP_FIXED | MAP_PRIVATE, ldfd, foff) == (caddr_t)-1) in __rtld() 296 MAP_FIXED | MAP_PRIVATE, dzfd, in __rtld()
|
/illumos-gate/usr/src/lib/libc/sparc/crt/ |
H A D | _rtld.c | 274 MAP_FIXED | MAP_PRIVATE, ldfd, foff) == (caddr_t)-1) in __rtld() 297 MAP_FIXED | MAP_PRIVATE, dzfd, in __rtld()
|