Home
last modified time | relevance | path

Searched refs:MAP_PRIVATE (Results 1 – 25 of 101) sorted by relevance

12345

/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dmmap70 (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 Dmdb_context.c76 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 Dvmem_mmap.c36 #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 Dinz_inval.c43 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 Dgetentropy.c57 addr = mmap(NULL, 4096, PROT_READ, MAP_PRIVATE | MAP_ANON, -1, 0); in main()
H A Dinz_region.c41 MAP_PRIVATE | MAP_ANON, -1, 0); in main()
H A Dinz_mlock.c41 MAP_PRIVATE | MAP_ANON, -1, 0); in main()
H A Dinz_child.c43 MAP_PRIVATE | MAP_ANON, -1, 0); in main()
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dalloc.c118 _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 Dxsave_baducontext.c105 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 Dseg_vn.h159 seg_type == MAP_PRIVATE)
162 { NULL, NULL, 0, MAP_PRIVATE, prot, max, 0, NULL, 0, 0 }
H A Dseg_dev.h122 ((SEGOP_GETTYPE(seg, (seg)->s_base) & (MAP_SHARED | MAP_PRIVATE)) == 0))
H A Dseg_vn.c558 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 Dprot_mmap.c102 mflags0 |= MAP_PRIVATE; in main()
113 mflags1 |= MAP_PRIVATE; in main()
/illumos-gate/usr/src/cmd/sgs/0@0/common/
H A D0@0.c48 (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 Daddrs.c18 MAP_ANON|MAP_PRIVATE, -1, 0)) == (void*)-1) in main()
/illumos-gate/usr/src/test/util-tests/tests/libsff/
H A Dlibsff_efault.c39 if ((addr = mmap(NULL, len, PROT_READ, MAP_PRIVATE | MAP_ANON, -1, in main()
/illumos-gate/usr/src/tools/smatch/src/
H A Dcompat-cygwin.c39 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 Dmmap-blob.c22 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 Dexhaust.c64 MAP_PRIVATE, fd, 0); in main()
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_subr.c36 MAP_PRIVATE | MAP_ANON, -1, 0)); in ctf_data_alloc()
/illumos-gate/usr/src/cmd/sgs/libcrle/common/
H A Ddump.c319 (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 Dposix_memalign.c72 PROT_READ, MAP_ANON | MAP_FIXED | MAP_PRIVATE, -1, 0), in main()
/illumos-gate/usr/src/lib/libc/i386/crt/
H A D_rtld.c274 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.c274 MAP_FIXED | MAP_PRIVATE, ldfd, foff) == (caddr_t)-1) in __rtld()
297 MAP_FIXED | MAP_PRIVATE, dzfd, in __rtld()

12345