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

12345

/external/autotest/client/tests/aio_dio_bugs/src/
H A Daio-io-setup-with-nonwritable-context-pointer.c22 addr = mmap(NULL, 4096, PROT_READ, MAP_SHARED|MAP_ANONYMOUS, 0, 0);
/external/autotest/client/site_tests/security_mprotect/src/
H A Dprot_exec.c37 PROT_READ | PROT_WRITE, MAP_SHARED,
43 PROT_READ | PROT_EXEC, MAP_SHARED,
48 PROT_READ, MAP_SHARED,
/external/kernel-headers/original/uapi/asm-generic/
H A Dmman-common.h17 #define MAP_SHARED 0x01 /* Share changes */ macro
/external/llvm/autoconf/m4/
H A Dfunc_mmap_file.m416 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
/external/fio/os/windows/posix/include/sys/
H A Dmman.h19 #define MAP_SHARED 0x100 macro
/external/valgrind/none/tests/mips32/
H A Dbug320057-mips32.c27 ptr = mmap(0, SZ, (PROT_READ | PROT_WRITE), MAP_SHARED, fd, 0);
/external/strace/xlat/
H A Dmmap_flags.h15 #if defined(MAP_SHARED) || (defined(HAVE_DECL_MAP_SHARED) && HAVE_DECL_MAP_SHARED)
16 XLAT(MAP_SHARED),
/external/autotest/client/deps/gfxtest/src/
H A Dgetfb.c51 ptr = mmap(0, screen_size, PROT_READ, MAP_SHARED, fd, 0);
/external/autotest/client/tests/iosched_bugs/src/
H A Ddirty.c42 p = mmap(NULL, st.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
/external/kernel-headers/original/uapi/asm-mips/asm/
H A Dmman.h29 #define MAP_SHARED 0x001 /* Share changes */ macro
/external/libchrome/base/files/
H A Dmemory_mapped_file_posix.cc68 data_ = static_cast<uint8_t*>(mmap(NULL, map_size, PROT_READ, MAP_SHARED,
/external/autotest/client/tests/rmaptest/src/
H A Drmap-test.c208 MAP_SHARED|MAP_ANONYMOUS,
222 MAP_SHARED, fd, offset);
/external/valgrind/memcheck/tests/
H A Dfile_locking.c62 if (mmap(NULL, 1, PROT_WRITE, MAP_SHARED, fd, 0) == 0)
/external/android-clat/
H A Dring.c68 ring->base = mmap(NULL, buflen, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_LOCKED|MAP_POPULATE,
/external/autotest/client/tests/linus_stress/
H A Dlinus_stress.c63 return mmap(NULL, SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
/external/blktrace/btt/
H A Dmmap.c91 cur_map = mmap(NULL, len, PROT_READ, MAP_SHARED, fd,
/external/libdrm/tests/kms/
H A Dlibkms-test-framebuffer.c141 ptr = mmap(0, fb->size, PROT_READ | PROT_WRITE, MAP_SHARED,
/external/toybox/toys/other/
H A Dmodinfo.c49 if (!(buf = mmap(0, len, PROT_READ, MAP_SHARED, fd, 0))) close(fd);
/external/fio/
H A Dmutex.c82 OS_MAP_ANON | MAP_SHARED, -1, 0);
217 OS_MAP_ANON | MAP_SHARED, -1, 0);
/external/autotest/client/cros/
H A Dmemory_bandwidth_logger.py80 mmap.MAP_SHARED,
/external/elfutils/libelf/
H A Delf_update.c74 MAP_SHARED, elf->fildes, 0);
/external/libdrm/intel/
H A Dtest_decode.c67 *ptr = drm_mmap(NULL, st.st_size, PROT_READ, MAP_SHARED, fd, 0);
/external/libdrm/libkms/
H A Ddumb.c150 map = drm_mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, arg.offset);
H A Dexynos.c145 map = drm_mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, arg.offset);
H A Dintel.c176 map = drm_mmap(0, bo->base.size, PROT_READ | PROT_WRITE, MAP_SHARED, bo->base.kms->fd, arg.offset);

Completed in 1236 milliseconds

12345