Lines Matching refs:last_position
105 fill_mmap (size_t offset, char *last_position, char *scn_start, in fill_mmap() argument
110 if (last_position < shdr_start) in fill_mmap()
112 written = MIN (scn_start + offset - last_position, in fill_mmap()
113 shdr_start - last_position); in fill_mmap()
115 memset (last_position, __libelf_fill_byte, written); in fill_mmap()
118 if (last_position + written != scn_start + offset in fill_mmap()
220 char *last_position = ((char *) elf->map_address + elf->start_offset in __elfw2() local
338 if (scn_start + dl->data.d.d_off > last_position in __elfw2()
343 fill_mmap (dl->data.d.d_off, last_position, scn_start, in __elfw2()
345 last_position = scn_start + dl->data.d.d_off; in __elfw2()
355 last_position = scn_start + dl->data.d.d_off; in __elfw2()
368 (*fctp) (last_position, dl->data.d.d_buf, in __elfw2()
371 last_position += dl->data.d.d_size; in __elfw2()
374 last_position = mempcpy (last_position, in __elfw2()
381 last_position += dl->data.d.d_size; in __elfw2()
384 == last_position); in __elfw2()
395 if (scn_start > last_position && previous_scn_changed) in __elfw2()
396 fill_mmap (0, last_position, scn_start, in __elfw2()
400 last_position = scn_start + shdr->sh_size; in __elfw2()
412 && last_position < ((char *) elf->map_address + elf->start_offset in __elfw2()
414 memset (last_position, __libelf_fill_byte, in __elfw2()
416 - last_position); in __elfw2()