Lines Matching refs:mmap_area
123 struct mmap_area *mmap_area; in load_mmap() local
130 mmap_area = malloc(sizeof(*mmap_area)); in load_mmap()
131 if (!mmap_area) { in load_mmap()
137 free(mmap_area); in load_mmap()
143 mmap_area->addr = mmap_area->next_addr = addr; in load_mmap()
144 mmap_area->len = mmap_area->next_len = len; in load_mmap()
145 mmap_area->next = data->mmap_areas; in load_mmap()
146 data->mmap_areas = mmap_area; in load_mmap()
149 rc = next_entry(&magic, mmap_area, sizeof(uint32_t)); in load_mmap()
154 rc = next_entry(&version, mmap_area, sizeof(uint32_t)); in load_mmap()
170 rc = next_entry(&entry_len, mmap_area, sizeof(uint32_t)); in load_mmap()
183 rc = next_entry(str_buf, mmap_area, entry_len); in load_mmap()
199 rc = next_entry(&entry_len, mmap_area, in load_mmap()
210 next_entry(NULL, mmap_area, entry_len); in load_mmap()
219 rc = next_entry(str_buf, mmap_area, entry_len); in load_mmap()
233 rc = next_entry(&stem_map_len, mmap_area, sizeof(uint32_t)); in load_mmap()
251 rc = next_entry(&stem_len, mmap_area, sizeof(uint32_t)); in load_mmap()
259 buf = (char *)mmap_area->next_addr; in load_mmap()
261 rc = next_entry(NULL, mmap_area, (stem_len + 1)); in load_mmap()
288 rc = next_entry(®ex_array_len, mmap_area, sizeof(uint32_t)); in load_mmap()
307 rc = next_entry(&entry_len, mmap_area, sizeof(uint32_t)); in load_mmap()
318 rc = next_entry(str_buf, mmap_area, entry_len); in load_mmap()
341 rc = next_entry(&entry_len, mmap_area, sizeof(uint32_t)); in load_mmap()
347 spec->regex_str = (char *)mmap_area->next_addr; in load_mmap()
348 rc = next_entry(NULL, mmap_area, entry_len); in load_mmap()
359 rc = next_entry(&mode, mmap_area, sizeof(uint32_t)); in load_mmap()
361 rc = next_entry(&mode, mmap_area, sizeof(mode_t)); in load_mmap()
368 rc = next_entry(&stem_id, mmap_area, sizeof(int32_t)); in load_mmap()
378 rc = next_entry(&meta_chars, mmap_area, sizeof(uint32_t)); in load_mmap()
385 rc = next_entry(&prefix_len, mmap_area, in load_mmap()
393 rc = regex_load_mmap(mmap_area, &spec->regex, reg_arch_matches, in load_mmap()
847 struct mmap_area *area, *last_area; in closef()