Home
last modified time | relevance | path

Searched refs:MAP_SHARED (Results 1 – 25 of 134) sorted by relevance

123456

/titanic_44/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dxmmap.c37 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED, in xmmap()
40 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_SHARED, in xmmap()
55 address = mmap(NULL, size, PROT_WRITE|PROT_READ, MAP_SHARED, in xmmap()
/titanic_44/usr/src/test/zfs-tests/cmd/mmapwrite/
H A Dmmapwrite.c51 mmap(0, 8192, PROT_READ, MAP_SHARED, fd, 0)) == MAP_FAILED) { in mapper()
57 MAP_SHARED|MAP_FIXED, fd, 0) == MAP_FAILED) { in mapper()
/titanic_44/usr/src/test/libc-tests/tests/random/
H A Dinz_inval.c73 MAP_SHARED | MAP_ANON, -1, 0); in main()
99 buf = mmap(NULL, mapsz, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main()
H A Darc4random_fork.c50 PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0); in main()
H A Darc4random_forkall.c50 PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0); in main()
/titanic_44/usr/src/lib/libc/i386/crt/
H A D_rtld.c140 MAP_SHARED, ldfd, 0); in __rtld()
198 MAP_SHARED, ldfd, 0); in __rtld()
212 MAP_SHARED, ldfd, 0); in __rtld()
/titanic_44/usr/src/lib/libc/sparc/crt/
H A D_rtld.c139 MAP_SHARED, ldfd, 0); in __rtld()
198 MAP_SHARED, ldfd, 0); in __rtld()
212 MAP_SHARED, ldfd, 0); in __rtld()
/titanic_44/usr/src/cmd/sgs/link_audit/common/
H A Ddumpbind.c169 (PROT_READ | PROT_WRITE), MAP_SHARED, fd, 0)) == MAP_FAILED) { in main()
191 (PROT_READ | PROT_WRITE), MAP_SHARED, fd, 0)) == MAP_FAILED) { in main()
H A Dbindings.c122 MAP_SHARED, fd, 0)) == MAP_FAILED) { in remap_buffer()
256 MAP_SHARED, fd, 0)) == MAP_FAILED) { in la_version()
291 PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)) == in la_version()
/titanic_44/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rep.c321 MAP_SHARED, fd, 0)) == MAP_FAILED) { in update_fabric_wwn_list()
340 MAP_SHARED, copy_fd, 0)) == MAP_FAILED) { in update_fabric_wwn_list()
459 MAP_SHARED, tmp_fd, 0)) == MAP_FAILED) { in update_fabric_wwn_list()
556 MAP_SHARED, tmp_fd, 0)) == MAP_FAILED) { in update_fabric_wwn_list()
/titanic_44/usr/src/lib/libcmdutils/common/
H A Dwritefile.c113 MAP_SHARED, fi, (off_t)0)) == MAP_FAILED) in writefile()
179 if (mmap(cp, mapsize, PROT_READ, MAP_SHARED | in writefile()
/titanic_44/usr/src/lib/libbc/inc/include/sys/
H A Dmman.h48 #define MAP_SHARED 1 /* share changes */ macro
/titanic_44/usr/src/test/zfs-tests/tests/functional/exec/
H A Dmmap_exec.c65 PROT_EXEC, MAP_SHARED, fd, 0) == MAP_FAILED) { in main()
/titanic_44/usr/src/lib/libast/common/vmalloc/
H A Dvmmopen.c115 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 );
/titanic_44/usr/src/uts/common/vm/
H A Dseg_vn.c556 if (a->type != MAP_PRIVATE && a->type != MAP_SHARED) { in segvn_create()
577 if (a->type == MAP_SHARED) in segvn_create()
807 if (a->type == MAP_SHARED) in segvn_create()
841 if (svd->type == MAP_SHARED && svd->vp != NULL && in segvn_create()
850 if (svd->type == MAP_SHARED) { in segvn_create()
891 if (a->type == MAP_SHARED) { in segvn_create()
987 if (svd->type == MAP_SHARED) in segvn_create()
1067 if (svd1->vp == NULL && svd1->type == MAP_SHARED) { in segvn_concat()
1141 if (amp1 != NULL && svd1->type == MAP_SHARED) { in segvn_concat()
1314 if (svd1->type == MAP_SHARED)
[all …]
H A Dseg_dev.h121 ((SEGOP_GETTYPE(seg, (seg)->s_base) & (MAP_SHARED | MAP_PRIVATE)) == 0))
/titanic_44/usr/src/lib/libsmbios/common/
H A Dsmb_lib.c126 PROT_READ, MAP_SHARED, fd, (off_t)*val64); in smb_biosopen()
132 PROT_READ, MAP_SHARED, fd, (uint32_t)SMB_RANGE_START); in smb_biosopen()
215 PROT_READ, MAP_SHARED, fd, smbe_staddr & pgmask); in smb_biosopen()
/titanic_44/usr/src/uts/common/os/
H A Dgrow.c600 if ((flags & ~(MAP_SHARED | MAP_PRIVATE | MAP_FIXED | _MAP_NEW | in smmap_common()
628 if (type != MAP_PRIVATE && type != MAP_SHARED) in smmap_common()
664 if (error == 0 && (flags & MAP_SHARED)) { in smmap_common()
692 if (type == MAP_SHARED && (fp->f_flag & FWRITE) == 0) { in smmap_common()
753 if ((prot & PROT_WRITE) && (type == MAP_SHARED)) { in smmap_common()
782 if (flags & MAP_SHARED) { in smmap_common()
/titanic_44/usr/src/cmd/sgs/libelf/common/
H A Doutput.c61 MAP_SHARED, fd, (off_t)0)) != (char *)-1) { in _elf_outmap()
/titanic_44/usr/src/cmd/sgs/rtld.4.x/
H A Drtld.4.x.c383 MAP_SHARED, fd, 0);
444 MAP_SHARED, fd, 0);
458 MAP_SHARED, fd, 0);
/titanic_44/usr/src/lib/libtnfctl/
H A Dprb_shmem.c64 PROT_READ | PROT_WRITE, MAP_SHARED, in prb_shmem_init()
/titanic_44/usr/src/cmd/tzreload/
H A Dtzreload.c228 addr = mmap(NULL, sizeof (uint32_t), PROT_READ, MAP_SHARED, fd, 0); in counter_get()
255 MAP_SHARED, fd, 0); in counter_set()
/titanic_44/usr/src/cmd/svr4pkg/libinst/
H A Dcopyf.c239 (MAP_SHARED|MAP_ALIGN), a_srcFd, (off_t)0); in copyFile()
386 cp = mmap(cp, mapsize, PROT_READ, (MAP_SHARED|MAP_FIXED), in copyFile()
/titanic_44/usr/src/cmd/tail/
H A Dmisc.c102 if ((mip->start = mmap(NULL, mip->maplen, PROT_READ, MAP_SHARED, in maparound()
/titanic_44/usr/src/lib/libast/common/port/
H A Dastcopy.c72 …if (mapsize >= BUFSIZ * 2 && (mapbuf = (char*)mmap(NiL, mapsize, PROT_READ, MAP_SHARED, rfd, pos))… in astcopy()

123456