Lines Matching refs:data

1 /* Write changed data structures.
93 *scnp++ = &list->data[cnt];
235 /* We possibly have to copy the section header data because moving
236 the sections might overwrite the data. */
267 multiple data segments in the list only the first can be
270 <= (char *) scn->data_list.data.d.d_buf)
271 && ((char *) scn->data_list.data.d.d_buf
276 > (char *) scn->data_list.data.d.d_buf))
278 void *p = malloc (scn->data_list.data.d.d_size);
285 scn->data_list.data.d.d_buf = scn->data_base
286 = memcpy (p, scn->data_list.data.d.d_buf,
287 scn->data_list.data.d.d_size);
316 assert (dl->data.d.d_off >= 0);
317 assert ((GElf_Off) dl->data.d.d_off <= shdr->sh_size);
318 assert (dl->data.d.d_size <= (shdr->sh_size
319 - (GElf_Off) dl->data.d.d_off));
322 if (scn_start + dl->data.d.d_off > last_position
323 && (dl->data.d.d_off == 0
327 fill_mmap (dl->data.d.d_off, last_position, scn_start,
331 last_position = scn_start + dl->data.d.d_off;
337 user's section data with the latest one, rather than
341 && dl->data.d.d_size != 0
342 && dl->data.d.d_type != ELF_T_BYTE))
345 #define fctp __elf_xfctstom[ELFW(ELFCLASS, LIBELFBITS) - 1][dl->data.d.d_type]
349 dl->data.d.d_type);
354 (*fctp) (last_position, dl->data.d.d_buf,
355 dl->data.d.d_size, 1);
364 size_t size = dl->data.d.d_size;
383 (*fctp) (converted, dl->data.d.d_buf, size, 1);
390 last_position += dl->data.d.d_size;
392 else if (dl->data.d.d_size != 0)
394 memmove (last_position, dl->data.d.d_buf,
395 dl->data.d.d_size);
396 last_position += dl->data.d.d_size;
402 last_position += dl->data.d.d_size;
404 assert (scn_start + dl->data.d.d_off + dl->data.d.d_size
720 if (scn_start + dl->data.d.d_off > last_offset
721 && ((previous_scn_changed && dl->data.d.d_off == 0)
726 (scn_start + dl->data.d.d_off)
737 last_offset = scn_start + dl->data.d.d_off;
742 void *buf = dl->data.d.d_buf;
746 user's section data with the latest one, rather than
752 #define fctp __elf_xfctstom[ELFW(ELFCLASS, LIBELFBITS) - 1][dl->data.d.d_type]
755 if (dl->data.d.d_size > MAX_TMPBUF)
757 buf = malloc (dl->data.d.d_size);
766 (*fctp) (buf, dl->data.d.d_buf, dl->data.d.d_size, 1);
770 dl->data.d.d_size,
772 if (unlikely ((size_t) n != dl->data.d.d_size))
774 if (buf != dl->data.d.d_buf && buf != tmpbuf)
781 if (buf != dl->data.d.d_buf && buf != tmpbuf)
787 last_offset += dl->data.d.d_size;