/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) { 57 MAP_SHARED|MAP_FIXED, fd, 0) == MAP_FAILED) {
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | mman.h | 48 #define MAP_SHARED 1 /* share changes */ macro 52 /* other flags to mmap (or-ed in to MAP_SHARED or MAP_PRIVATE) */
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/exec/ |
H A D | mmap_exec.c | 65 PROT_EXEC, MAP_SHARED, fd, 0) == MAP_FAILED) {
|
/illumos-gate/usr/src/cmd/sgs/libelf/common/ |
H A D | output.c | 61 MAP_SHARED, fd, (off_t)0)) != (char *)-1) {
|
/illumos-gate/usr/src/test/libc-tests/tests/random/ |
H A D | inz_inval.c | 71 /* Map anon MAP_SHARED */ 73 MAP_SHARED | MAP_ANON, -1, 0); 98 /* MAP_SHARED file */ 99 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 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 | arc4random_forksig.c | 69 PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0);
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | prb_shmem.c | 64 PROT_READ | PROT_WRITE, MAP_SHARED,
|
/illumos-gate/usr/src/cmd/tail/ |
H A D | misc.c | 102 if ((mip->start = mmap(NULL, mip->maplen, PROT_READ, MAP_SHARED,
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | seg_dev.h | 121 ((SEGOP_GETTYPE(seg, (seg)->s_base) & (MAP_SHARED | MAP_PRIVATE)) == 0))
|
/illumos-gate/usr/src/lib/libast/common/port/ |
H A D | astcopy.c | 72 if (mapsize >= BUFSIZ * 2 && (mapbuf = (char*)mmap(NiL, mapsize, PROT_READ, MAP_SHARED, rfd, pos)) != ((caddr_t)-1))
|
/illumos-gate/usr/src/lib/libcmdutils/common/ |
H A D | writefile.c | 113 MAP_SHARED, fi, (off_t)0)) == MAP_FAILED) 179 if (mmap(cp, mapsize, PROT_READ, MAP_SHARED |
|
/illumos-gate/usr/src/cmd/sgs/link_audit/common/ |
H A D | dumpbind.c | 169 (PROT_READ | PROT_WRITE), MAP_SHARED, fd, 0)) == MAP_FAILED) { 191 (PROT_READ | PROT_WRITE), MAP_SHARED, fd, 0)) == MAP_FAILED) {
|
/illumos-gate/usr/src/cmd/audio/utilities/ |
H A D | zmalloc.c | 115 mbuf = mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
|
/illumos-gate/usr/src/test/zfs-tests/cmd/readmmap/ |
H A D | readmmap.c | 88 map = mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
|
/illumos-gate/usr/src/lib/libc/i386/crt/ |
H A D | _rtld.c | 140 MAP_SHARED, ldfd, 0); 198 MAP_SHARED, ldfd, 0); 212 MAP_SHARED, ldfd, 0);
|
/illumos-gate/usr/src/lib/libc/sparc/crt/ |
H A D | _rtld.c | 139 MAP_SHARED, ldfd, 0); 198 MAP_SHARED, ldfd, 0); 212 MAP_SHARED, ldfd, 0);
|
/illumos-gate/usr/src/lib/libast/common/vmalloc/ |
H A D | vmmopen.c | 115 MAP_FIXED|MAP_SHARED, fd, (off_t)0 ); 129 (addr ? MAP_FIXED : 0)|MAP_SHARED, fd, (off_t)0 ); 195 MAP_FIXED|MAP_SHARED, mmdc->fd, (off_t)0 );
|
/illumos-gate/usr/src/lib/libtnfprobe/ |
H A D | trace_init.c | 207 PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)) == (caddr_t)-1) {
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rep.c | 321 MAP_SHARED, fd, 0)) == MAP_FAILED) { 340 MAP_SHARED, copy_fd, 0)) == MAP_FAILED) { 459 MAP_SHARED, tmp_fd, 0)) == MAP_FAILED) { 556 MAP_SHARED, tmp_fd, 0)) == MAP_FAILED) {
|
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_segmap.c | 77 if ((flags & MAP_TYPE) != MAP_SHARED)
|
/illumos-gate/usr/src/lib/libsmbios/common/ |
H A D | smb_lib.c | 98 PROT_READ, MAP_SHARED, fd, (uint32_t)SMB_RANGE_START); 125 PROT_READ, MAP_SHARED, fd, ep->smbe_staddr & pgmask);
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | copyf.c | 239 (MAP_SHARED|MAP_ALIGN), a_srcFd, (off_t)0); 386 cp = mmap(cp, mapsize, PROT_READ, (MAP_SHARED|MAP_FIXED),
|
/illumos-gate/usr/src/cmd/tzreload/ |
H A D | tzreload.c | 228 addr = mmap(NULL, sizeof (uint32_t), PROT_READ, MAP_SHARED, fd, 0); 255 MAP_SHARED, fd, 0);
|