Home
last modified time | relevance | path

Searched refs:map_info (Results 1 – 25 of 40) sorted by relevance

12

/external/libunwind/src/mi/
Dmap.c71 struct map_info *map_info = map_cursor->cur_map; in unw_map_cursor_get_next() local
73 if (map_info == NULL) in unw_map_cursor_get_next()
76 unw_map->start = map_info->start; in unw_map_cursor_get_next()
77 unw_map->end = map_info->end; in unw_map_cursor_get_next()
78 unw_map->offset = map_info->offset; in unw_map_cursor_get_next()
79 unw_map->load_base = map_info->load_base; in unw_map_cursor_get_next()
80 unw_map->flags = map_info->flags; in unw_map_cursor_get_next()
81 unw_map->path = map_info->path; in unw_map_cursor_get_next()
83 map_cursor->cur_map = map_info->next; in unw_map_cursor_get_next()
88 HIDDEN struct map_info *
[all …]
DLmap.c30 HIDDEN struct map_info *local_map_list = NULL;
103 struct map_info *map_info = map_cursor->cur_map; in unw_map_local_cursor_get_next() local
107 if (map_info == NULL) in unw_map_local_cursor_get_next()
122 unw_map->start = map_info->start; in unw_map_local_cursor_get_next()
123 unw_map->end = map_info->end; in unw_map_local_cursor_get_next()
124 unw_map->offset = map_info->offset; in unw_map_local_cursor_get_next()
125 unw_map->load_base = map_info->load_base; in unw_map_local_cursor_get_next()
126 unw_map->flags = map_info->flags; in unw_map_local_cursor_get_next()
127 if (map_info->path) in unw_map_local_cursor_get_next()
128 unw_map->path = strdup (map_info->path); in unw_map_local_cursor_get_next()
[all …]
/external/libunwind/include/
Dmap_info.h37 struct map_info struct
49 struct map_info *next; argument
53 extern struct map_info *local_map_list;
63 struct map_info *map_alloc_info (void);
65 void map_free_info (struct map_info *);
67 struct map_info *map_find_from_addr (struct map_info *, unw_word_t);
69 struct map_info *map_create_list (int, pid_t);
71 void map_destroy_list (struct map_info *);
/external/strace/
Dkvm.c109 is_map_for_file(struct mmap_cache_entry_t *map_info, void *data) in is_map_for_file() argument
117 return map_info->binary_filename && in is_map_for_file()
118 map_info->major == 0 && in is_map_for_file()
119 strcmp(map_info->binary_filename, data) == 0; in is_map_for_file()
123 map_len(struct mmap_cache_entry_t *map_info) in map_len() argument
125 return map_info->start_addr < map_info->end_addr in map_len()
126 ? map_info->end_addr - map_info->start_addr in map_len()
136 struct mmap_cache_entry_t *map_info; in vcpu_get_info() local
148 map_info = mmap_cache_search(tcp, vcpu_info->mmap_addr); in vcpu_get_info()
149 if (map_info) { in vcpu_get_info()
[all …]
/external/gwp_asan/android/
Dtest_backtrace.cpp63 unwindstack::MapInfo* map_info = maps->Find(pc); in BuildFrame() local
64 if (!map_info) { in BuildFrame()
70 map_info->GetElf(unwinder->GetProcessMemory(), unwindstack::Regs::CurrentArch()); in BuildFrame()
72 uint64_t relative_pc = elf->GetRelPc(pc, map_info); in BuildFrame()
96 frame.map_name = map_info->name; in BuildFrame()
97 frame.map_elf_start_offset = map_info->elf_start_offset; in BuildFrame()
98 frame.map_exact_offset = map_info->offset; in BuildFrame()
99 frame.map_start = map_info->start; in BuildFrame()
100 frame.map_end = map_info->end; in BuildFrame()
101 frame.map_flags = map_info->flags; in BuildFrame()
/external/bcc/introspection/
Dbps.c158 static void print_map_info(const struct bpf_map_info *map_info) in print_map_info() argument
163 if (map_info->type > LAST_KNOWN_MAP_TYPE) { in print_map_info()
165 "<%u>", map_info->type); in print_map_info()
169 map_type = map_type_strings[map_info->type]; in print_map_info()
173 map_info->id, map_type, map_info->map_flags, map_info->key_size, in print_map_info()
174 map_info->value_size, map_info->max_entries, in print_map_info()
175 map_info->name); in print_map_info()
240 struct bpf_map_info map_info = {}; in print_one_prog() local
241 info_len = sizeof(map_info); in print_one_prog()
256 ret = bpf_obj_get_info(map_fd, &map_info, &info_len); in print_one_prog()
[all …]
/external/strace/tests-mx32/
Dbpf-obj_get_info_by_fd.c296 #define MAP_INFO_SZ (sizeof(*map_info) + 64) in main()
297 struct bpf_map_info_struct *map_info = calloc(1, MAP_INFO_SZ); in main() local
301 .info = (uintptr_t) map_info, in main()
318 printxval(bpf_map_types, map_info->type, "BPF_MAP_TYPE_???"); in main()
319 PRINT_FIELD_U(", ", *map_info, id); in main()
320 PRINT_FIELD_U(", ", *map_info, key_size); in main()
321 PRINT_FIELD_U(", ", *map_info, value_size); in main()
322 PRINT_FIELD_U(", ", *map_info, max_entries); in main()
324 printflags(bpf_map_flags, map_info->map_flags, "BPF_F_???"); in main()
329 print_quoted_cstring(map_info->name, sizeof(map_info->name)); in main()
[all …]
/external/strace/tests-m32/
Dbpf-obj_get_info_by_fd.c296 #define MAP_INFO_SZ (sizeof(*map_info) + 64) in main()
297 struct bpf_map_info_struct *map_info = calloc(1, MAP_INFO_SZ); in main() local
301 .info = (uintptr_t) map_info, in main()
318 printxval(bpf_map_types, map_info->type, "BPF_MAP_TYPE_???"); in main()
319 PRINT_FIELD_U(", ", *map_info, id); in main()
320 PRINT_FIELD_U(", ", *map_info, key_size); in main()
321 PRINT_FIELD_U(", ", *map_info, value_size); in main()
322 PRINT_FIELD_U(", ", *map_info, max_entries); in main()
324 printflags(bpf_map_flags, map_info->map_flags, "BPF_F_???"); in main()
329 print_quoted_cstring(map_info->name, sizeof(map_info->name)); in main()
[all …]
/external/strace/tests/
Dbpf-obj_get_info_by_fd.c296 #define MAP_INFO_SZ (sizeof(*map_info) + 64) in main()
297 struct bpf_map_info_struct *map_info = calloc(1, MAP_INFO_SZ); in main() local
301 .info = (uintptr_t) map_info, in main()
318 printxval(bpf_map_types, map_info->type, "BPF_MAP_TYPE_???"); in main()
319 PRINT_FIELD_U(", ", *map_info, id); in main()
320 PRINT_FIELD_U(", ", *map_info, key_size); in main()
321 PRINT_FIELD_U(", ", *map_info, value_size); in main()
322 PRINT_FIELD_U(", ", *map_info, max_entries); in main()
324 printflags(bpf_map_flags, map_info->map_flags, "BPF_F_???"); in main()
329 print_quoted_cstring(map_info->name, sizeof(map_info->name)); in main()
[all …]
/external/libunwind/src/
DLos-common.c30 extern struct map_info *local_map_list;
48 move_cached_elf_data (struct map_info *old_list, struct map_info *new_list) in move_cached_elf_data()
93 struct map_info *map; in rebuild_if_necessary()
94 struct map_info *new_list; in rebuild_if_necessary()
132 struct map_info *map; in is_flag_set()
179 struct map_info *map; in local_get_elf_image()
230 struct map_info *map; in map_local_get_image_name()
Dos-qnx.c33 struct map_info **map_list = (struct map_info **)data; in callback()
34 struct map_info *cur_map; in callback()
60 struct map_info *
63 struct map_info *map_list = NULL; in map_create_list()
Dos-hpux.c35 extern struct map_info *local_map_list;
38 HIDDEN struct map_info *
102 struct map_info *map_list = as->map_list; in tdep_get_elf_image()
134 maps_is_local_readable(struct map_info *map_list, unw_word_t addr) in maps_is_local_readable()
140 maps_is_local_writable(struct map_info *map_list, unw_word_t addr) in maps_is_local_writable()
Dos-linux.c35 HIDDEN struct map_info *
40 struct map_info *map_list = NULL; in map_create_list()
41 struct map_info *cur_map; in map_create_list()
Dos-freebsd.c92 struct map_info *
99 struct map_info *map_list = NULL; in map_create_list()
Dos-common.c39 struct map_info *map; in tdep_get_elf_image()
/external/ImageMagick/coders/
Ddps.c149 *map_info; in ReadDPSImage() local
190 map_info=XAllocStandardColormap(); in ReadDPSImage()
192 if (map_info == (XStandardColormap *) NULL) in ReadDPSImage()
200 visual_info=XBestVisualInfo(display,map_info,&resource_info); in ReadDPSImage()
201 map_info->colormap=(Colormap) NULL; in ReadDPSImage()
203 if ((map_info == (XStandardColormap *) NULL) || in ReadDPSImage()
207 XFreeResources(display,visual_info,map_info,(XPixelInfo *) NULL, in ReadDPSImage()
225 XFreeResources(display,visual_info,map_info,(XPixelInfo *) NULL, in ReadDPSImage()
239 XFreeResources(display,visual_info,map_info,(XPixelInfo *) NULL, in ReadDPSImage()
252 XFreeResources(display,visual_info,map_info,(XPixelInfo *) NULL, in ReadDPSImage()
[all …]
/external/ImageMagick/MagickCore/
Dxwindow.c414 if (windows->map_info != (XStandardColormap *) NULL) in DestroyXResources()
416 XFree(windows->map_info); in DestroyXResources()
417 windows->map_info=(XStandardColormap *) NULL; in DestroyXResources()
1153 XStandardColormap *map_info,XResourceInfo *resource_info) in XBestVisualInfo() argument
1189 assert(map_info != (XStandardColormap *) NULL); in XBestVisualInfo()
1281 if ((map_info != (XStandardColormap *) NULL) && (map_type != (char *) NULL)) in XBestVisualInfo()
1359 *map_info=map_list[0]; in XBestVisualInfo()
1367 *map_info=map_list[i]; in XBestVisualInfo()
1372 if (map_info->visualid != visual_template.visualid) in XBestVisualInfo()
1379 if (map_info->colormap == (Colormap) NULL) in XBestVisualInfo()
[all …]
Danimate.c770 *map_info; in XAnimateBackgroundImage() local
840 map_info=XAllocStandardColormap(); in XAnimateBackgroundImage()
841 if (map_info == (XStandardColormap *) NULL) in XAnimateBackgroundImage()
844 map_info->colormap=(Colormap) NULL; in XAnimateBackgroundImage()
851 visual_info=XBestVisualInfo(display,map_info,&resources); in XAnimateBackgroundImage()
934 XMakeStandardColormap(display,visual_info,&resources,display_image,map_info, in XAnimateBackgroundImage()
949 XGetWindowInfo(display,visual_info,map_info,&pixel,(XFontStruct *) NULL, in XAnimateBackgroundImage()
1089 XGetPixelInfo(display,visual_info,map_info,&resources, in XAnimateBackgroundImage()
1397 *map_info; in XAnimateImages() local
1485 map_info=windows->map_info; in XAnimateImages()
[all …]
Dxwindow-private.h354 *map_info; member
446 *map_info, member
Ddisplay.c2004 (void) XParseColor(display,windows->map_info->colormap, in XAnnotateEditImage()
2006 XBestPixel(display,windows->map_info->colormap,(XColor *) NULL, in XAnnotateEditImage()
2049 (void) XParseColor(display,windows->map_info->colormap, in XAnnotateEditImage()
2051 XBestPixel(display,windows->map_info->colormap,(XColor *) NULL, in XAnnotateEditImage()
3335 cursor=XMakeCursor(display,windows->image.id,windows->map_info->colormap, in XColorEditImage()
3430 (void) XParseColor(display,windows->map_info->colormap, in XColorEditImage()
3432 XBestPixel(display,windows->map_info->colormap,(XColor *) NULL, in XColorEditImage()
3476 (void) XParseColor(display,windows->map_info->colormap, in XColorEditImage()
5601 (void) XParseColor(display,windows->map_info->colormap, in XDrawEditImage()
5603 XBestPixel(display,windows->map_info->colormap,(XColor *) NULL, in XDrawEditImage()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dpinning.c10 struct bpf_map_info map_info = {}; in get_map_id() local
15 map_info_len = sizeof(map_info); in get_map_id()
22 &map_info, &map_info_len); in get_map_id()
24 return map_info.id; in get_map_id()
Dbpf_obj_id.c206 struct bpf_map_info map_info = {}; in test_bpf_obj_id() local
209 info_len = sizeof(map_info); in test_bpf_obj_id()
233 err = bpf_obj_get_info_by_fd(map_fd, &map_info, &info_len); in test_bpf_obj_id()
235 memcmp(&map_info, &map_infos[i], info_len) || in test_bpf_obj_id()
240 memcmp(&map_info, &map_infos[i], info_len), in test_bpf_obj_id()
/external/perfetto/src/profiling/common/
Dunwind_support.cc123 unwindstack::MapInfo* map_info = fd_maps.Find(frame.pc); in AnnotateFrame() local
124 if (map_info) in AnnotateFrame()
125 build_id = map_info->GetBuildID(); in AnnotateFrame()
/external/perfetto/src/profiling/memory/
Dunwinding_unittest.cc66 unwindstack::MapInfo* map_info = in TEST() local
68 ASSERT_NE(map_info, nullptr); in TEST()
69 ASSERT_EQ(map_info->name, "[stack]"); in TEST()
/external/libunwind/include/tdep-ia64/
Dlibunwind_i.h117 struct map_info *map_list;

12