Lines Matching refs:last_position
101 fill_mmap (size_t offset, char *last_position, char *scn_start,
106 if (last_position < shdr_start)
108 written = MIN (scn_start + offset - last_position,
109 shdr_start - last_position);
111 memset (last_position, __libelf_fill_byte, written);
114 if (last_position + written != scn_start + offset
206 char *last_position = ((char *) elf->map_address + elf->start_offset
322 if (scn_start + dl->data.d.d_off > last_position
327 fill_mmap (dl->data.d.d_off, last_position, scn_start,
331 last_position = scn_start + dl->data.d.d_off;
350 if ((((uintptr_t) last_position)
354 (*fctp) (last_position, dl->data.d.d_buf,
386 memcpy (last_position, converted, size);
390 last_position += dl->data.d.d_size;
394 memmove (last_position, dl->data.d.d_buf,
396 last_position += dl->data.d.d_size;
402 last_position += dl->data.d.d_size;
405 == last_position);
416 if (scn_start > last_position && previous_scn_changed)
417 fill_mmap (0, last_position, scn_start,
421 last_position = scn_start + shdr->sh_size;
433 && last_position < ((char *) elf->map_address + elf->start_offset
435 memset (last_position, __libelf_fill_byte,
437 - last_position);