Home
last modified time | relevance | path

Searched refs:mapinfo (Results 1 – 8 of 8) sorted by relevance

/system/unwinding/libunwindstack/
DMaps.cpp66 [&](const android::procinfo::MapInfo& mapinfo) { in Parse() argument
68 auto flags = mapinfo.flags; in Parse()
69 if (strncmp(mapinfo.name.c_str(), "/dev/", 5) == 0 && in Parse()
70 strncmp(mapinfo.name.c_str() + 5, "ashmem/", 7) != 0) { in Parse()
73 maps_.emplace_back(new MapInfo(prev_map, prev_real_map, mapinfo.start, mapinfo.end, in Parse()
74 mapinfo.pgoff, flags, mapinfo.name)); in Parse()
120 &content[0], [&](const android::procinfo::MapInfo& mapinfo) { in Parse() argument
122 auto flags = mapinfo.flags; in Parse()
123 if (strncmp(mapinfo.name.c_str(), "/dev/", 5) == 0 && in Parse()
124 strncmp(mapinfo.name.c_str() + 5, "ashmem/", 7) != 0) { in Parse()
[all …]
/system/unwinding/libbacktrace/
DBacktraceMap.cpp126 [&](const android::procinfo::MapInfo& mapinfo) { in Build()
129 map.start = mapinfo.start; in Build()
130 map.end = mapinfo.end; in Build()
131 map.flags = mapinfo.flags; in Build()
132 map.name = mapinfo.name; in Build()
/system/memory/libmeminfo/
Dprocmeminfo.cpp319 maps_file, [&](const android::procinfo::MapInfo& mapinfo) { in ReadMaps() argument
320 if (std::find(g_excluded_vmas.begin(), g_excluded_vmas.end(), mapinfo.name) == in ReadMaps()
322 maps_.emplace_back(Vma(mapinfo.start, mapinfo.end, in ReadMaps()
323 mapinfo.pgoff, mapinfo.flags, in ReadMaps()
324 mapinfo.name, in ReadMaps()
325 mapinfo.inode, mapinfo.shared)); in ReadMaps()
517 line, [&](const android::procinfo::MapInfo& mapinfo) { in ForEachVmaFromFile() argument
518 vma.start = mapinfo.start; in ForEachVmaFromFile()
519 vma.end = mapinfo.end; in ForEachVmaFromFile()
520 vma.flags = mapinfo.flags; in ForEachVmaFromFile()
[all …]
/system/memory/libmeminfo/libdmabufinfo/
Ddmabufinfo.cpp217 auto account_dmabuf = [&](const android::procinfo::MapInfo& mapinfo) { in ReadDmaBufMapRefs() argument
219 if (!FileIsDmaBuf(mapinfo.name)) { in ReadDmaBufMapRefs()
225 [&mapinfo](const DmaBuffer& dbuf) { return dbuf.inode() == mapinfo.inode; }); in ReadDmaBufMapRefs()
234 if (!ReadBufferExporter(mapinfo.inode, &exporter, dmabuf_sysfs_path)) { in ReadDmaBufMapRefs()
237 DmaBuffer& dbuf = dmabufs->emplace_back(mapinfo.inode, mapinfo.end - mapinfo.start, 0, in ReadDmaBufMapRefs()
/system/libprocinfo/
Dprocess_map_benchmark.cpp36 map_file, [&](const android::procinfo::MapInfo& mapinfo) { maps.emplace_back(mapinfo); }); in BM_ReadMapFile() argument
Dprocess_map_test.cpp34 map_file, [&](const android::procinfo::MapInfo& mapinfo) { maps.emplace_back(mapinfo); })); in TEST() argument
61 getpid(), [&](const android::procinfo::MapInfo& mapinfo) { maps.emplace_back(mapinfo); })); in TEST() argument
/system/extras/simpleperf/
Denvironment.cpp184 return android::procinfo::ReadProcessMaps(pid, [&](const android::procinfo::MapInfo& mapinfo) { in GetThreadMmapsInProcess() argument
185 thread_mmaps->emplace_back(mapinfo.start, mapinfo.end - mapinfo.start, mapinfo.pgoff, in GetThreadMmapsInProcess()
186 mapinfo.name.c_str(), mapinfo.flags); in GetThreadMmapsInProcess()
/system/libprocinfo/include/procinfo/
Dprocess_map.h250 return ReadProcessMaps(pid, [&](const MapInfo& mapinfo) { maps->emplace_back(mapinfo); }); in ReadProcessMaps()