HomeSort by relevance Sort by last modified time
    Searched full:mmap (Results 201 - 225 of 4512) sorted by null

1 2 3 4 5 6 7 891011>>

  /packages/apps/Gallery/tests/src/com/android/camera/gallery/
LruCacheUnitTests.java 42 private final LruCache<Integer,Integer> mMap;
45 mMap = map;
52 mMap.get(i % 2);
  /prebuilts/vndk/v27/arm64/arch-arm-armv7-a-neon/shared/vndk-core/
libtinyalsa.so 
  /external/autotest/client/tests/iozone/
control 14 fwrite, random read, pread ,mmap, aio_read, aio_write
  /external/fio/engines/
mmap.c 2 * mmap engine
46 fmd->mmap_ptr = mmap(NULL, length, flags, MAP_SHARED, f->fd, off);
49 td_verror(td, errno, "mmap");
82 * Just mmap an appropriate portion, we cannot mmap the full extent
90 log_err("fio: bs too big for mmap engine\n");
104 * Attempt to mmap the entire file
212 log_err("fio: mmap options dictate a minimum block size of "
253 .name = "mmap",
  /external/linux-kselftest/tools/testing/selftests/vm/
hugepage-mmap.c 3 * hugepage-mmap:
5 * Example of using huge page memory in a user application using the mmap
76 addr = mmap(ADDR, LENGTH, PROTECTION, FLAGS, fd, 0);
78 perror("mmap");
  /external/ltp/testcases/kernel/controllers/memcg/functional/
memcg_memsw_limit_in_bytes_test.sh 36 test_proc_kill $PAGESIZE "--mmap-lock1" $((PAGESIZE*2)) 1
41 test_proc_kill $PAGESIZE "--mmap-lock2" $((PAGESIZE*2)) 1
46 test_proc_kill 0 "--mmap-anon" $PAGESIZE 1
51 test_proc_kill 0 "--mmap-file" $PAGESIZE 1
  /external/ltp/testcases/kernel/device-drivers/agp/kernel_space/
str_agp.h 153 #define OUTREG64(mmap, addr, val) __raw_writeq((val), (mmap)+(addr))
154 #define OUTREG32(mmap, addr, val) __raw_writel((val), (mmap)+(addr))
155 #define OUTREG16(mmap, addr, val) __raw_writew((val), (mmap)+(addr))
156 #define OUTREG8(mmap, addr, val) __raw_writeb((val), (mmap)+(addr))
158 #define INREG64(mmap, addr) __raw_readq((mmap)+(addr)
    [all...]
  /external/ltp/testcases/kernel/mem/mmapstress/
mmap-corruption01.c 21 ftruncate-mmap: pages are lost after writing to mmaped file,
24 ftruncate/mmap/write/read sequence. And we found that some pages are
32 2. add memory pressure(mmap/mlock) while run the test in infinite
60 char *TCID = "mmap-corruption01"; /* test program identifier. */
78 char *fname = "test.mmap-corruption";
125 printf("mmap-corruption will run for=> %ld, seconds\n",
133 printf("mmap-corruption will run for=> 5, seconds\n");
153 mmap(0, kMemSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd,
179 printf("mmap-corruption PASSED\n");
  /external/ltp/testcases/kernel/syscalls/mmap/
mmap14.c 25 * mmap() should succeed returning the address of the mapped region,
63 addr = mmap(NULL, MMAPSIZE, PROT_READ | PROT_WRITE,
68 tst_resm(TFAIL | TERRNO, "mmap of %s failed", TEMPFILE);
76 tst_resm(TPASS, "Functionality of mmap() "
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/
17-1.sh 8 # The mmap( ) function shall fail if:
20-1.sh 8 # The mmap( ) function shall fail if:
6-5.c 17 * 2. Mmap the file to a memory region setting prot as PROT_WRITE.
19 * 4. The mmap() should be sucessful.
64 pa = mmap(NULL, size, PROT_WRITE, MAP_PRIVATE, fd, 0);
66 printf("Error at mmap(): %s\n", strerror(errno));
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
1-1.c 56 buf = mmap(NULL, BUF_SIZE, PROT_WRITE, MAP_SHARED, fd, 0);
58 perror("An error occurs when calling mmap()");
72 buf = mmap(NULL, BUF_SIZE, PROT_READ, MAP_SHARED, fd, 0);
74 perror("An error occurs when calling mmap()");
14-2.c 55 buf = mmap(NULL, BUF_SIZE, PROT_WRITE, MAP_SHARED, fd, 0);
57 perror("An error occurs when calling mmap()");
69 buf = mmap(NULL, BUF_SIZE, PROT_READ, MAP_SHARED, fd, 0);
71 perror("An error occurs when calling mmap()");
28-3.c 57 buf = mmap(NULL, BUF_SIZE, PROT_WRITE, MAP_SHARED, fd, 0);
59 perror("An error occurs when calling mmap()");
79 buf = mmap(NULL, BUF_SIZE, PROT_READ, MAP_SHARED, fd, 0);
84 perror("An error occurs when calling mmap()");
5-1.c 65 buf = mmap(NULL, BUF_SIZE, PROT_WRITE, MAP_SHARED, fd, 0);
67 perror("An error occurs when calling mmap()");
98 buf = mmap(NULL, BUF_SIZE, PROT_READ, MAP_SHARED, fd, 0);
100 perror("An error occurs when calling mmap()");
  /external/perf_data_converter/src/
perf_data_handler.cc 84 void UpdateMapsWithMMapEvent(const quipper::PerfDataProto_MMapEvent* mmap);
92 // Find the MMAP event which has ip in its address range from pid. If no
101 // Find the main MMAP event for this pid. If no mapping is found,
127 // pid_to_mmaps maps a pid to all mmap events that correspond to that pid.
130 // pid_to_executable_mmap maps a pid to mmap that most likely contains the
330 const quipper::PerfDataProto_MMapEvent* mmap) {
331 if (mmap->len() == 0) {
332 LOG(WARNING) << "bogus mapping: " << mmap->filename();
335 uint32 pid = mmap->pid();
345 if (mmap->filename() != "")
    [all...]
  /external/python/cpython2/Doc/library/
someos.rst 22 mmap.rst
  /external/valgrind/massif/tests/
pages_as_heap.vgtest 3 vgopts: --ignore-fn=mmap
  /external/valgrind/memcheck/tests/
dw4.c 64 /* Describe anonymous mmap-ed */
65 p = mmap( 0, 16 * 1024, PROT_READ|PROT_WRITE,
70 /* Describe file mmap-ed */
80 q = mmap(NULL, 100, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0);
  /external/valgrind/none/tests/
munmap_exe.c 14 m = mmap(NULL, 100, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0);
  /frameworks/av/media/libaaudio/include/aaudio/
AAudioTesting.h 53 * Control whether AAudioStreamBuilder_openStream() will use the new MMAP data path
69 * Get the current MMAP policy set by AAudio_setMMapPolicy().
79 * Return true if the stream uses the MMAP data path versus the legacy path.
84 * @return true if the stream uses ther MMAP data path
  /packages/services/Car/service/src/com/android/car/hal/
HalServiceBase.java 79 private final BidirectionalSparseIntArray mMap;
91 mMap = map;
95 return mMap.getValue(managerPropId, NOT_SUPPORTED_PROPERTY);
99 return mMap.getKey(halPropId, NOT_SUPPORTED_PROPERTY);
  /sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ddms/
DebugPortProvider.java 45 private Map<String, Map<String, Integer>> mMap;
67 if (mMap != null) {
68 Map<String, Integer> deviceMap = mMap.get(device.getSerialNumber());
84 return mMap;
91 mMap = new HashMap<String, Map<String, Integer>>();
116 Map<String, Integer> deviceMap = mMap.get(deviceName);
119 mMap.put(deviceName, deviceMap);
134 mMap.clear();
135 mMap.putAll(map);
  /external/perf_data_converter/src/quipper/
perf_serializer.cc 77 S(mmap);
129 S(mmap);
495 const struct mmap_event& mmap = event.mmap; local
496 sample->set_pid(mmap.pid);
497 sample->set_tid(mmap.tid);
498 sample->set_start(mmap.start);
499 sample->set_len(mmap.len);
500 sample->set_pgoff(mmap.pgoff);
501 sample->set_filename(mmap.filename)
509 struct mmap_event& mmap = event->mmap; local
522 const struct mmap2_event& mmap = event.mmap2; local
542 struct mmap2_event& mmap = event->mmap2; local
    [all...]

Completed in 418 milliseconds

1 2 3 4 5 6 7 891011>>