/external/ltp/testcases/kernel/controllers/memcg/functional/ |
memcg_move_charge_at_immigrate_test.sh | 37 test_move_charge "--mmap-anon" $PAGESIZE $PAGESIZE 0 0 0 $PAGESIZE 0 43 test_move_charge "--mmap-anon --shm --mmap-file" $PAGESIZE \ 50 test_move_charge "--mmap-anon --shm --mmap-file" $PAGESIZE \ 57 test_move_charge "--mmap-anon --shm" $PAGESIZE \
|
memcg_limit_in_bytes.sh | 33 # Test mmap(locked) + alloc_mem > limit_in_bytes 36 test_proc_kill $PAGESIZE "--mmap-lock1" $((PAGESIZE*2)) 0 41 test_proc_kill $PAGESIZE "--mmap-lock2" $((PAGESIZE*2)) 0 48 test_proc_kill $PAGESIZE "--mmap-anon" $((PAGESIZE*2)) 0 55 test_proc_kill $PAGESIZE "--mmap-file" $((PAGESIZE*2)) 0 69 test_proc_kill 0 "--mmap-anon" $PAGESIZE 0 74 test_proc_kill 0 "--mmap-file" $PAGESIZE 0
|
/external/autotest/client/tests/fio/ |
fio-mixed.job | 31 ioengine=mmap 32 mem=mmap
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
rlimit_mmap_test.cc | 1 // Check that we properly report mmap failure. 14 // CHECK: ERROR: Failed to mmap
|
/external/perf_data_converter/src/quipper/ |
huge_page_deducer.cc | 22 // IsContiguous returns true if mmap |a| is immediately followed by |b| 105 // checking any mmap in |a| with any in |b| is sufficient. 125 // Skip dynamic mmap() events. Hugepage deduction only works on mmaps as 127 // Support for deducing hugepages from a sequence of mmap()/mremap() calls 132 const MMapEvent& mmap = events.Get(i).mmap_event(); local 135 prev_mmap = &mmap; 139 if (prev_mmap->filename() != mmap.filename()) { 143 if (start != i && !IsContiguous(*prev_mmap, mmap)) { 148 if (mmap.pgoff() != 0) { 151 CHECK(mmap.pgoff() == 0 || !IsAnon(mmap) 188 MMapEvent* mmap = event->mutable_mmap_event(); local 282 const MMapEvent& mmap = event->mmap_event(); local [all...] |
/external/python/cpython3/Doc/library/ |
ipc.rst | 11 :mod:`signal` and :mod:`mmap`. Other modules support networking protocols 27 mmap.rst
|
/external/syslinux/com32/lib/syslinux/ |
memmap.c | 46 struct syslinux_memmap **mmap = map; local 47 return syslinux_add_memmap(mmap, start, len, type); 52 struct syslinux_memmap *mmap; local 54 mmap = syslinux_init_memmap(); 55 if (!mmap) 58 if (syslinux_scan_memory(syslinux_memory_map_callback, &mmap)) { 59 syslinux_free_memmap(mmap); 63 return mmap;
|
/external/valgrind/none/tests/mips32/ |
bug320057-mips32.c | 27 ptr = mmap(0, SZ, (PROT_READ | PROT_WRITE), MAP_SHARED, fd, 0); 28 DO(mmap());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
WeakIdentityHashMap.java | 32 private final HashMap<WeakReference<K>,V> mMap = new HashMap<>(); 38 mMap.remove(ref); 44 mMap.put(new CmpWeakReference<>(key, mRefQueue), value); 49 return mMap.get(new CmpWeakReference<>(key)); 54 return mMap.values(); 58 return mMap.entrySet(); 63 return mMap.size(); 68 return mMap.isEmpty();
|
/prebuilts/go/darwin-x86/src/syscall/ |
mmap_unix_test.go | 15 b, err := syscall.Mmap(-1, 0, syscall.Getpagesize(), syscall.PROT_NONE, syscall.MAP_ANON|syscall.MAP_PRIVATE) 17 t.Fatalf("Mmap: %v", err)
|
/prebuilts/go/linux-x86/src/syscall/ |
mmap_unix_test.go | 15 b, err := syscall.Mmap(-1, 0, syscall.Getpagesize(), syscall.PROT_NONE, syscall.MAP_ANON|syscall.MAP_PRIVATE) 17 t.Fatalf("Mmap: %v", err)
|
/external/autotest/client/tests/memory_api/ |
mremaps.c | 36 mem = mmap(0, memsize, PROT_READ | PROT_WRITE, 41 perror("Failed to allocate anon private memory using mmap\n"); 64 mem = mmap(0, memsize, PROT_READ | PROT_WRITE, 69 perror("Failed to allocate anon private memory using mmap\n");
|
/external/compiler-rt/test/esan/TestCases/ |
mmap-shadow-conflict.c | 9 void *Map = mmap((void *)0x0000016000000000ULL, 0x1000, PROT_READ, 15 Map = mmap((void *)0x0000016000000000ULL, 0x1000, PROT_READ, 24 // CHECK-NEXT: mmap conflict: {{.*}} 26 // CHECK-NEXT: mmap conflict: {{.*}}
|
/external/compiler-rt/test/tsan/ |
java_heap_init.cc | 11 jptr jheap = (jptr)mmap(0, kHeapSize, PROT_READ | PROT_WRITE, 14 return printf("mmap failed with %d\n", errno); 17 jheap = (jptr)mmap((void*)jheap, kHeapSize, PROT_READ | PROT_WRITE, 20 return printf("second mmap failed with %d\n", errno);
|
/external/valgrind/massif/tests/ |
mmapunmap.c | 9 return mmap(NULL, 80 * 1000 * 1024,
|
/external/valgrind/memcheck/tests/ |
mmaptest.c | 13 mmap(NULL, 4711, PROT_READ, MAP_PRIVATE, fd, 0);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
7-1.c | 19 * 1. mmap() a file, setting MAP_SHARED. 23 * 5. mmap() the same file again into memory. 64 pa = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); 66 printf("Error at mmap(): %s\n", strerror(errno)); 80 /* Mmap again */ 81 pa = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); 83 printf("Error at 2nd mmap(): %s\n", strerror(errno));
|
1-1.c | 9 * The mmap() function shall establish a mapping between a process's 14 * 2. mmap it to memory using mmap(); 54 pa = mmap(NULL, len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); 56 printf("Error at mmap: %s\n", strerror(errno));
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/munmap/ |
4-1.c | 12 * 1. mmap a file into memory. Set flag as MAP_PRIVATE; 16 * 4. mmap the same file again into memory; 76 pa = mmap(addr, size, prot, flag, fd, off); 78 printf("Test Fail: " TNAME " Error at mmap: %s\n", 95 /* Mmap again */ 97 pa = mmap(addr, size, prot, flag, fd, off); 99 printf("Test Fail: " TNAME " Error at 2nd mmap: %s\n",
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
PathMatcher.java | 73 private HashMap<String, Node> mMap; 77 if (mMap == null) { 78 mMap = new HashMap<String, Node>(); 80 Node node = mMap.get(segment); 85 mMap.put(segment, n); 90 if (mMap == null) return null; 91 return mMap.get(segment);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
DequeMap.java | 36 private final Map<K, Deque<V>> mMap = Maps.newHashMap(); 43 Deque<V> pile = mMap.get(key); 46 mMap.put(key, pile); 61 final Deque<V> pile = mMap.get(key); 78 final Deque<V> pile = mMap.get(key); 86 mMap.clear(); 98 for (Map.Entry<K, Deque<V>> entry : mMap.entrySet()) {
|
/system/security/keystore/ |
operation.cpp | 32 mMap.emplace(token, Operation(handle, keyid, purpose, dev, std::move(characteristics), appToken, 41 auto entry = mMap.find(token); 42 if (entry == mMap.end()) return {}; 57 auto entry = mMap.find(token); 58 if (entry == mMap.end()) return {}; 62 mMap.erase(entry); 99 auto entry = mMap.find(token); 100 if (entry == mMap.end()) return; 107 auto entry = mMap.find(token); 108 if (entry == mMap.end()) return [all...] |
/frameworks/native/libs/vr/libbroadcastring/ |
broadcast_ring_test.cc | 52 void* mmap() { return static_cast<void*>(data.get()); } function in struct:android::dvr::__anon46393::FakeMmap 57 FakeMmap mmap(Ring::MemorySize(count)); 58 *ring = Ring::Create(mmap.mmap(), mmap.size, count); 59 return mmap; 132 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); local 141 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); local 173 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); local 199 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()) local 293 auto mmap = CreateRing(&ring, Ring::Traits::MinCount()); local 334 auto mmap = CreateRing(&original_ring, OriginalRing::Traits::MinCount()); local 368 auto mmap = CreateRing(&original_ring, OriginalRing::Traits::MinCount()); local 389 auto mmap = CreateRing(&original_ring, OriginalRing::Traits::MinCount()); local 409 auto mmap = CreateRing(&original_ring, OriginalRing::Traits::MinCount()); local 435 auto mmap = CreateRing(&original_ring, OriginalRing::Traits::MinCount()); local 483 auto mmap = CreateRing(&original_ring, StaticRing::Traits::MinCount()); local 527 auto mmap = CreateRing(&original_ring, StaticRing::Traits::MinCount()); local [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/mm/ |
hugetlb_vs_thp_test.c | 18 p = mmap(addr, SIZE, PROT_READ | PROT_WRITE, 22 * Typically the mmap will fail because no huge pages are 24 * allocated the mmap will succeed. That's fine too, we just 34 p = mmap(addr, SIZE, PROT_READ | PROT_WRITE, 38 perror("mmap");
|
/frameworks/base/core/java/com/android/internal/textservice/ |
LazyIntToIntMap.java | 33 private final SparseIntArray mMap = new SparseIntArray(); 50 mMap.delete(key); 59 final int index = mMap.indexOfKey(key); 61 return mMap.valueAt(index); 64 mMap.append(key, value);
|