• Home
  • Raw
  • Download

Lines Matching refs:map_info

37 HIDDEN struct map_info *
42 struct map_info *map_list = NULL; in maps_create_list()
43 struct map_info *cur_map; in maps_create_list()
44 struct map_info *buf; in maps_create_list()
49 …buf = (struct map_info*)mmap(NULL, buf_sz * sizeof(struct map_info), PROT_READ | PROT_WRITE, MAP_A… in maps_create_list()
57 …struct map_info *newBuf = (struct map_info *)mmap(NULL, 2 * buf_sz * sizeof(struct map_info), PROT… in maps_create_list()
59 memcpy(newBuf, buf, buf_sz * sizeof(struct map_info)); in maps_create_list()
60 munmap(buf, buf_sz * sizeof(struct map_info)); in maps_create_list()
98 munmap(buf, buf_sz * sizeof(struct map_info)); in maps_create_list()
106 maps_destroy_list(struct map_info *map_info) in maps_destroy_list() argument
108 struct map_info *map; in maps_destroy_list()
109 int buf_sz = map_info->buf_sz; in maps_destroy_list()
110 void* buf = map_info->buf; in maps_destroy_list()
111 int sz = map_info->sz; in maps_destroy_list()
114 map = &map_info[i]; in maps_destroy_list()
132 munmap(buf, buf_sz * sizeof(struct map_info)); in maps_destroy_list()
137 HIDDEN struct map_info *
138 get_map(struct map_info *map_list, unw_word_t addr) in get_map()
144 struct map_info* buf = map_list->buf; in get_map()
171 maps_is_readable(struct map_info *map_list, unw_word_t addr) in maps_is_readable()
177 struct map_info *map = get_map(map_list, addr); in maps_is_readable()
184 static int map_elf_in_hap(struct map_info *map) in map_elf_in_hap()
196 struct map_info* prev = map - 1; in map_elf_in_hap()
242 maps_is_writable(struct map_info *map_list, unw_word_t addr) in maps_is_writable()
248 struct map_info *map = get_map(map_list, addr); in maps_is_writable()
254 HIDDEN struct map_info*
257 struct map_info *map; in tdep_get_elf_image()