Home
last modified time | relevance | path

Searched refs:maps (Results 1 – 19 of 19) sorted by relevance

/system/extras/libpagemap/
Dpm_process.c90 error = pm_map_usage_flags(proc->maps[i], &map_usage, flags_mask, in pm_process_usage_flags()
158 pm_map_t **maps; in pm_process_maps() local
164 maps = malloc(proc->num_maps * sizeof(pm_map_t*)); in pm_process_maps()
165 if (!maps) in pm_process_maps()
168 memcpy(maps, proc->maps, proc->num_maps * sizeof(pm_map_t*)); in pm_process_maps()
170 *maps_out = maps; in pm_process_maps()
198 error = pm_map_workingset(proc->maps[i], &map_ws); in pm_process_workingset()
233 pm_map_destroy(proc->maps[i]); in pm_process_destroy()
235 free(proc->maps); in pm_process_destroy()
251 pm_map_t *map, **maps, **new_maps; in read_maps() local
[all …]
Dpagemap_test.cpp23 TEST(pagemap, maps) { in TEST() argument
30 pm_map_t** maps; in TEST() local
32 ASSERT_EQ(0, pm_process_maps(process, &maps, &num_maps)); in TEST()
37 std::string name(maps[i]->name); in TEST()
45 free(maps); in TEST()
/system/core/libbacktrace/
DGetPss.cpp47 FILE* maps = fopen("/proc/self/maps", "r"); in GetPssBytes() local
48 if (maps == nullptr) { in GetPssBytes()
54 fclose(maps); in GetPssBytes()
60 fclose(maps); in GetPssBytes()
68 while (fgets(line, sizeof(line), maps)) { in GetPssBytes()
87 fclose(maps); in GetPssBytes()
DBacktraceMap.cpp145 BacktraceMap* BacktraceMap::Create(pid_t pid, const std::vector<backtrace_map_t>& maps) { argument
147 backtrace_map->maps_.insert(backtrace_map->maps_.begin(), maps.begin(), maps.end());
/system/extras/ksmutils/
Dksminfo.c62 static int read_pages(struct ksm_pages *kp, pm_map_t **maps, size_t num_maps, uint8_t pr_flags);
75 pm_map_t **maps; in main() local
160 error = pm_process_maps(proc, &maps, &num_maps); in main()
168 if (read_pages(&kp, maps, num_maps, pr_flags) < 0) { in main()
169 free(maps); in main()
175 free(maps); in main()
190 static int read_pages(struct ksm_pages *kp, pm_map_t **maps, size_t num_maps, uint8_t pr_flags) { in read_pages() argument
210 pid = pm_process_pid(maps[0]->proc); in read_pages()
211 ker = maps[0]->proc->ker; in read_pages()
231 error = pm_map_pagemap(maps[i], &pagemap, &map_len); in read_pages()
[all …]
/system/extras/simpleperf/
Dthread_tree.cpp65 child->maps = parent->maps; in ForkThread()
116 FixOverlappedMap(&thread->maps, map); in AddThreadMap()
117 auto pair = thread->maps.insert(map); in AddThreadMap()
167 static MapEntry* FindMapByAddr(const std::set<MapEntry*, MapComparator>& maps, uint64_t addr) { in FindMapByAddr() argument
171 auto it = maps.upper_bound(&find_map); in FindMapByAddr()
172 if (it != maps.begin() && IsAddrInMap(addr, *--it)) { in FindMapByAddr()
181 result = FindMapByAddr(thread->maps, ip); in FindMap()
Ddwarf_unwind.cpp111 std::vector<backtrace_map_t> bt_maps(thread.maps.size()); in UnwindCallChain()
113 for (auto& map : thread.maps) { in UnwindCallChain()
Dthread_tree.h56 std::set<MapEntry*, MapComparator> maps; member
/system/extras/librank/
Dlibrank.c210 pm_map_t **maps; in main() local
343 error = pm_process_maps(proc, &maps, &num_maps); in main()
350 if (prefix && (strncmp(pm_map_name(maps[j]), prefix, prefix_len))) in main()
353 if (perm && (pm_map_flags(maps[j]) & PM_MAP_PERMISSIONS) != perm) in main()
356 li = get_library(pm_map_name(maps[j]), all); in main()
362 error = pm_map_usage_flags(maps[j], &map_usage, flags_mask, in main()
367 pm_map_name(maps[j]), proc->pid); in main()
/system/extras/procmem/
Dprocmem.c51 pm_map_t **maps; size_t num_maps; in main() local
129 error = pm_process_maps(proc, &maps, &num_maps); in main()
165 mi->map = maps[i]; in main()
/system/core/include/backtrace/
DBacktraceMap.h52 static BacktraceMap* Create(pid_t pid, const std::vector<backtrace_map_t>& maps);
/system/extras/libpagemap/include/pagemap/
Dpagemap.h93 pm_map_t **maps; member
/system/sepolicy/
Duntrusted_app.te5 ### Apps are labeled based on mac_permissions.xml (maps signer and
6 ### optionally package name to seinfo value) and seapp_contexts (maps UID
Ddumpstate.te107 # Reading /proc/PID/maps of other processes
/system/core/libmemunreachable/
DREADME.md59 - `ProcessMappings.cpp`: Collects snapshots of `/proc/pid/maps`.
/system/connectivity/shill/bin/
Dff_debug61 maps to "--level -4".)
/system/connectivity/shill/doc/
Dmanager-api.txt365 https://developers.google.com/maps/documentation/business/geolocation/
/system/media/audio_utils/
DDoxyfile.orig1529 # unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
DDoxyfile1529 # unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of