Lines Matching refs:last_position
104 fill_mmap (size_t offset, char *last_position, char *scn_start, in fill_mmap() argument
109 if (last_position < shdr_start) in fill_mmap()
111 written = MIN (scn_start + offset - last_position, in fill_mmap()
112 shdr_start - last_position); in fill_mmap()
114 memset (last_position, __libelf_fill_byte, written); in fill_mmap()
117 if (last_position + written != scn_start + offset in fill_mmap()
209 char *last_position = ((char *) elf->map_address + elf->start_offset in __elfw2() local
325 if (scn_start + dl->data.d.d_off > last_position in __elfw2()
330 fill_mmap (dl->data.d.d_off, last_position, scn_start, in __elfw2()
334 last_position = scn_start + dl->data.d.d_off; in __elfw2()
353 if ((((uintptr_t) last_position) in __elfw2()
357 (*fctp) (last_position, dl->data.d.d_buf, in __elfw2()
389 memcpy (last_position, converted, size); in __elfw2()
393 last_position += dl->data.d.d_size; in __elfw2()
397 memmove (last_position, dl->data.d.d_buf, in __elfw2()
399 last_position += dl->data.d.d_size; in __elfw2()
405 last_position += dl->data.d.d_size; in __elfw2()
408 == last_position); in __elfw2()
419 if (scn_start > last_position && previous_scn_changed) in __elfw2()
420 fill_mmap (0, last_position, scn_start, in __elfw2()
424 last_position = scn_start + shdr->sh_size; in __elfw2()
436 && last_position < ((char *) elf->map_address + elf->start_offset in __elfw2()
438 memset (last_position, __libelf_fill_byte, in __elfw2()
440 - last_position); in __elfw2()