Home
last modified time | relevance | path

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

12345

/external/autotest/client/site_tests/security_mprotect/src/
Dprot_exec.c37 PROT_READ | PROT_WRITE, MAP_SHARED, in main()
43 PROT_READ | PROT_EXEC, MAP_SHARED, in main()
48 PROT_READ, MAP_SHARED, in main()
/external/strace/xlat/
Dmmap_flags.h15 #if defined(MAP_SHARED) || (defined(HAVE_DECL_MAP_SHARED) && HAVE_DECL_MAP_SHARED)
16 XLAT(MAP_SHARED),
Dmmap_flags.in1 MAP_SHARED
/external/autotest/client/tests/fsx/
D0001-Minor-fixes-to-PAGE_SIZE-handling.patch49 if ((p = (char *)mmap(0, map_size, PROT_READ, MAP_SHARED, fd,
58 MAP_FILE | MAP_SHARED, fd,
/external/autotest/client/tests/rmaptest/src/
Drmap-test.c208 MAP_SHARED|MAP_ANONYMOUS, in main()
222 MAP_SHARED, fd, offset); in main()
/external/autotest/client/tests/aio_dio_bugs/src/
Daio-io-setup-with-nonwritable-context-pointer.c22 addr = mmap(NULL, 4096, PROT_READ, MAP_SHARED|MAP_ANONYMOUS, 0, 0); in main()
/external/fio/
Dmutex.c82 OS_MAP_ANON | MAP_SHARED, -1, 0); in fio_mutex_init()
217 OS_MAP_ANON | MAP_SHARED, -1, 0); in fio_rwlock_init()
/external/kernel-headers/original/uapi/asm-generic/
Dmman-common.h17 #define MAP_SHARED 0x01 /* Share changes */ macro
/external/valgrind/none/tests/mips32/
Dbug320057-mips32.c27 ptr = mmap(0, SZ, (PROT_READ | PROT_WRITE), MAP_SHARED, fd, 0); in main()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dmman.h29 #define MAP_SHARED 0x001 /* Share changes */ macro
/external/fio/os/windows/posix/include/sys/
Dmman.h19 #define MAP_SHARED 0x100 macro
/external/autotest/client/tests/iosched_bugs/src/
Ddirty.c42 p = mmap(NULL, st.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main()
/external/llvm/autoconf/m4/
Dfunc_mmap_file.m416 fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0);
/external/autotest/client/deps/gfxtest/src/
Dgetfb.c51 ptr = mmap(0, screen_size, PROT_READ, MAP_SHARED, fd, 0); in main()
/external/valgrind/memcheck/tests/
Dfile_locking.c62 if (mmap(NULL, 1, PROT_WRITE, MAP_SHARED, fd, 0) == 0) in open_lock_and_map()
/external/libchrome/base/files/
Dmemory_mapped_file_posix.cc68 data_ = static_cast<uint8_t*>(mmap(NULL, map_size, PROT_READ, MAP_SHARED, in MapFileRegionToMemory()
/external/android-clat/
Dring.c68 ring->base = mmap(NULL, buflen, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_LOCKED|MAP_POPULATE, in ring_create()
/external/toybox/toys/other/
Dmodinfo.c49 if (!(buf = mmap(0, len, PROT_READ, MAP_SHARED, fd, 0))) close(fd); in modinfo_file()
/external/autotest/client/tests/linus_stress/
Dlinus_stress.c63 return mmap(NULL, SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in remap()
/external/libdrm/tests/kms/
Dlibkms-test-framebuffer.c141 ptr = mmap(0, fb->size, PROT_READ | PROT_WRITE, MAP_SHARED, in kms_framebuffer_map()
/external/libdrm/intel/
Dtest_decode.c67 *ptr = drm_mmap(NULL, st.st_size, PROT_READ, MAP_SHARED, fd, 0); in read_file()
/external/libxml2/
DtestSchemas.c93 MAP_SHARED, fd, 0) ; in main()
DtestRelax.c97 MAP_SHARED, fd, 0) ; in main()
/external/blktrace/btt/
Dmmap.c91 cur_map = mmap(NULL, len, PROT_READ, MAP_SHARED, fd, in move_map()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_ptrace_dumper_unittest.cc203 MAP_SHARED, in SetUp()
216 MAP_SHARED | MAP_FIXED, in SetUp()

12345