Home
last modified time | relevance | path

Searched refs:shm (Results 1 – 25 of 63) sorted by relevance

123

/external/libchrome/base/memory/
Dshared_memory_mac_unittest.cc58 SharedMemoryHandle shm(size); in CreateSharedMemory() local
59 if (!shm.IsValid()) { in CreateSharedMemory()
63 std::unique_ptr<SharedMemory> shared_memory(new SharedMemory(shm, false)); in CreateSharedMemory()
249 SharedMemoryHandle shm(memory_object, in MULTIPROCESS_TEST_MAIN() local
252 SharedMemory shared_memory(shm, false); in MULTIPROCESS_TEST_MAIN()
265 SharedMemoryHandle shm(s_memory_size); in TEST_F() local
266 ASSERT_TRUE(shm.IsValid()); in TEST_F()
267 SharedMemory shared_memory(shm, false); in TEST_F()
278 client_port_.get(), shm.GetMemoryObject(), MACH_MSG_TYPE_COPY_SEND); in TEST_F()
289 SharedMemoryHandle shm(memory_object, in MULTIPROCESS_TEST_MAIN() local
[all …]
/external/ltp/tools/pounder21/src/ramsnake/
Dsnake.c145 void *shm; in main() local
214 shm = mmap(NULL, ram_size, PROT_READ | PROT_WRITE, in main()
216 if (shm == MAP_FAILED) { in main()
220 printf("mmap region: %p (%llu nodes)\n", shm, num_nodes); in main()
234 populate_graph(shm, num_nodes); in main()
293 walk_graph(shm); in main()
/external/mesa3d/src/gallium/winsys/sw/xlib/
Dxlib_sw_winsys.c79 Bool shm; /** Using shared memory images? */ member
170 xlib_dt->shm = False; in alloc_shm_ximage()
192 xlib_dt->shm = False; in alloc_shm_ximage()
197 xlib_dt->shm = True; in alloc_shm_ximage()
207 if (xlib_dt->shm) { in alloc_ximage()
342 if (xlib_dt->shm) { in xlib_sw_display()
416 xlib_dt->shm = True; in xlib_displaytarget_create()
/external/ltp/testcases/kernel/hotplug/memory_hotplug/Scripts/
Dtest33 shm foo 2g
4 shm bar 2g
Dtest3l1 # memtoy test 3l - single shm seg - lazy mig
4 shm foo 1m
Dtest3-1m3 shm foo 1m
4 shm bar 1m
Dtest1shm2 shm foo 4p
/external/mesa3d/src/mesa/drivers/x11/
Dxm_buffer.c87 b->shm = 0; in alloc_back_shm_ximage()
98 b->shm = 0; in alloc_back_shm_ximage()
110 b->shm = 0; in alloc_back_shm_ximage()
129 b->shm = 0; in alloc_back_shm_ximage()
150 b->shm = 0; in alloc_back_shm_ximage()
178 if (b->shm) { in alloc_back_buffer()
193 if (b->shm == 0 || !alloc_back_shm_ximage(b, width, height)) { in alloc_back_buffer()
397 if (b->shm) { in xmesa_delete_framebuffer()
/external/ltp/testcases/kernel/hotplug/memory_hotplug/Xpm-tests/
Dtest-lazy-shm-8p1 # memtoy test - lazy migrate 8p range of single 1M shm seg
4 shm foo 1m
Dtest-mpm-2shm-1m3 shm foo 1m
4 shm bar 1m
Dtest-lazy-2shm-1m3 shm foo 1m
4 shm bar 1m
/external/linux-kselftest/tools/testing/selftests/vm/
D.gitignore2 hugepage-shm
DMakefile11 TEST_GEN_FILES += hugepage-shm
/external/ltp/testcases/kernel/controllers/memcg/functional/
Dmemcg_process.c220 static void shm(void) in shm() function
289 shm(); in sigusr_handler()
/external/ltp/runtest/
Dltp-aio-stress.part220 # -m shm use ipc shared memory for io buffers instead of malloc
21 # -m shmfs mmap a file in /dev/shm for io buffers
/external/autotest/client/tests/fio/
Dfio-mixed.job25 mem=shm
/external/selinux/libsepol/tests/policies/test-hooks/
Dcmp_policy.conf40 class shm
307 class shm
Dsmall-base.conf40 class shm
307 class shm
/external/autotest/client/site_tests/security_SysVIPC/
Dcontrol10 CRITERIA = "Fails if shm, mqueues, or semaphores do not match expectations."
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_init/
Dcoverage.txt10 be root, and the semaphore is created in /dev/shm file system.
/external/selinux/libsepol/tests/policies/test-expander/
Drole-base.conf40 class shm
307 class shm
Duser-base.conf40 class shm
307 class shm
Dalias-base.conf40 class shm
307 class shm
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
Dcpuset_memory_test.c244 void shm(int flag_allocated) in shm() function
372 shm(flag_allocated); in main()
/external/autotest/client/site_tests/platform_TempFS/
Dcontrol13 - /dev/shm

123