Searched refs:MAP_SHARED (Results 1 - 25 of 130) sorted by relevance

123456

/illumos-gate/usr/src/test/zfs-tests/cmd/mmapwrite/
H A Dmmapwrite.c51 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 Dmman.h48 #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 Dmmap_exec.c65 PROT_EXEC, MAP_SHARED, fd, 0) == MAP_FAILED) {
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Doutput.c61 MAP_SHARED, fd, (off_t)0)) != (char *)-1) {
/illumos-gate/usr/src/test/libc-tests/tests/random/
H A Dinz_inval.c71 /* 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 Darc4random_fork.c50 PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0);
H A Darc4random_forkall.c50 PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0);
H A Darc4random_forksig.c69 PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0);
/illumos-gate/usr/src/lib/libtnfctl/
H A Dprb_shmem.c64 PROT_READ | PROT_WRITE, MAP_SHARED,
/illumos-gate/usr/src/cmd/tail/
H A Dmisc.c102 if ((mip->start = mmap(NULL, mip->maplen, PROT_READ, MAP_SHARED,
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_dev.h121 ((SEGOP_GETTYPE(seg, (seg)->s_base) & (MAP_SHARED | MAP_PRIVATE)) == 0))
/illumos-gate/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)) != ((caddr_t)-1))
/illumos-gate/usr/src/lib/libcmdutils/common/
H A Dwritefile.c113 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 Ddumpbind.c169 (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 Dzmalloc.c115 mbuf = mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
/illumos-gate/usr/src/test/zfs-tests/cmd/readmmap/
H A Dreadmmap.c88 map = mmap(0, size, PROT_READ|PROT_WRITE, MAP_SHARED, fd, 0);
/illumos-gate/usr/src/lib/libc/i386/crt/
H A D_rtld.c140 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.c139 MAP_SHARED, ldfd, 0);
198 MAP_SHARED, ldfd, 0);
212 MAP_SHARED, ldfd, 0);
/illumos-gate/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 );
/illumos-gate/usr/src/lib/libtnfprobe/
H A Dtrace_init.c207 PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)) == (caddr_t)-1) {
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rep.c321 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 Dgfxp_segmap.c77 if ((flags & MAP_TYPE) != MAP_SHARED)
/illumos-gate/usr/src/lib/libsmbios/common/
H A Dsmb_lib.c98 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 Dcopyf.c239 (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 Dtzreload.c228 addr = mmap(NULL, sizeof (uint32_t), PROT_READ, MAP_SHARED, fd, 0);
255 MAP_SHARED, fd, 0);

Completed in 200 milliseconds

123456