HomeSort by relevance Sort by last modified time
    Searched defs:shmem (Results 1 - 4 of 4) sorted by null

  /external/ltp/testcases/kernel/containers/sysvipc/
shm_comm.c 62 char *shmem; local
70 if ((shmem = shmat(id, NULL, 0)) == (char *) -1) {
76 *shmem = 'A';
81 if (*shmem != 'A')
87 shmdt(shmem);
95 char *shmem; local
103 if ((shmem = shmat(id, NULL, 0)) == (char *) -1) {
112 *shmem = 'B';
116 shmdt(shmem);
  /external/libchrome/base/memory/
shared_memory_unittest.cc 241 // On POSIX we have a problem when 2 threads try to create the shmem
245 // intentionally don't clean up its shmem before running with
409 SharedMemory shmem; local
410 ASSERT_TRUE(shmem.CreateAndMapAnonymous(contents.size()));
411 memcpy(shmem.memory(), contents.data(), contents.size());
412 EXPECT_TRUE(shmem.Unmap());
415 ASSERT_TRUE(shmem.ShareToProcess(GetCurrentProcessHandle(), &shared_handle));
427 ASSERT_TRUE(shmem.ShareToProcess(GetCurrentProcessHandle(), &shared_handle));
634 // On POSIX it is especially important we test shmem across processes,
  /external/libchrome/base/process/
process_metrics.h 290 // Linux/Android/Chrome OS. Shmem/slab/gem_objects/gem_size are Chrome OS only.
346 int shmem = 0; member in struct:base::SystemMemoryInfoKB
  /system/core/lmkd/
lmkd.c 203 "Shmem:",
215 int64_t shmem; member in struct:meminfo::__anon2948
1203 if (mi.field.nr_file_pages > (mi.field.shmem + mi.field.unevictable + mi.field.swap_cached)) {
1204 other_file = (mi.field.nr_file_pages - mi.field.shmem -
    [all...]

Completed in 255 milliseconds