Searched refs:mi (Results 1 – 4 of 4) sorted by relevance
| /third_party/ulib/ngunwind/src/ |
| A D | os-linux.h | 76 if (mi->fd >= 0) in maps_init() 91 mi->buf = mi->buf_end = cp + mi->buf_size; in maps_init() 215 ssize_t bytes_left = mi->buf_end - mi->buf; in maps_next() 232 memmove (mi->buf_end - mi->buf_size, mi->buf, bytes_left); in maps_next() 234 mi->buf = mi->buf_end - mi->buf_size; in maps_next() 235 nread = read (mi->fd, mi->buf + bytes_left, in maps_next() 246 mi->buf = mi->buf_end - nread - bytes_left; in maps_next() 289 mi->fd = -1; in maps_close() 290 if (mi->buf) in maps_close() 292 munmap (mi->buf_end - mi->buf_size, mi->buf_size); in maps_close() [all …]
|
| A D | os-linux.c | 37 struct map_iterator mi; in tdep_get_elf_image() local 41 if (maps_init (&mi, pid) < 0) in tdep_get_elf_image() 44 while (maps_next (&mi, segbase, &hi, mapoff)) in tdep_get_elf_image() 53 maps_close (&mi); in tdep_get_elf_image() 58 strncpy(path, mi.path, pathlen); in tdep_get_elf_image() 60 rc = elf_map_image (ei, mi.path); in tdep_get_elf_image() 61 maps_close (&mi); in tdep_get_elf_image()
|
| /third_party/ulib/ngunwind/ |
| A D | rules.mk | 27 $(LOCAL_DIR)/src/mi/Gdyn-extract.c \ 28 $(LOCAL_DIR)/src/mi/Gdyn-remote.c \ 31 $(LOCAL_DIR)/src/mi/Gget_fpreg.c \ 34 $(LOCAL_DIR)/src/mi/Gget_reg.c \ 37 $(LOCAL_DIR)/src/mi/Gset_fpreg.c \ 38 $(LOCAL_DIR)/src/mi/Gset_reg.c \ 39 $(LOCAL_DIR)/src/mi/common.c \ 40 $(LOCAL_DIR)/src/mi/flush_cache.c \ 41 $(LOCAL_DIR)/src/mi/init.c \ 42 $(LOCAL_DIR)/src/mi/mempool.c \ [all …]
|
| /third_party/ulib/ngunwind/src/dwarf/ |
| A D | Gfind_proc_info-lsb.c | 241 struct map_iterator mi; in find_binary_for_address() local 246 maps_init (&mi, pid); in find_binary_for_address() 247 while (maps_next (&mi, &segbase, &hi, &mapoff)) in find_binary_for_address() 250 size_t len = strlen (mi.path); in find_binary_for_address() 254 memcpy (name, mi.path, len + 1); in find_binary_for_address() 259 maps_close (&mi); in find_binary_for_address()
|
Completed in 7 milliseconds