• Home
  • Raw
  • Download

Lines Matching refs:dl

326 	  Elf_Data_List *dl = &scn->data_list;  in __elfw2()  local
332 assert (dl->data.d.d_off >= 0); in __elfw2()
333 assert ((GElf_Off) dl->data.d.d_off <= shdr->sh_size); in __elfw2()
334 assert (dl->data.d.d_size <= (shdr->sh_size in __elfw2()
335 - (GElf_Off) dl->data.d.d_off)); in __elfw2()
338 if (scn_start + dl->data.d.d_off > last_position in __elfw2()
339 && (dl->data.d.d_off == 0 in __elfw2()
340 || ((scn->flags | dl->flags | elf->flags) 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()
348 if ((scn->flags | dl->flags | elf->flags) & ELF_F_DIRTY) in __elfw2()
355 last_position = scn_start + dl->data.d.d_off; in __elfw2()
361 …fctp = __elf_xfctstom[__libelf_version - 1][dl->data.d.d_version - 1][ELFW(ELFCLASS, LIBELFBITS) -… in __elfw2()
364 # define fctp __elf_xfctstom[0][EV_CURRENT - 1][ELFW(ELFCLASS, LIBELFBITS) - 1][dl->data.d.d_type] in __elfw2()
368 (*fctp) (last_position, dl->data.d.d_buf, in __elfw2()
369 dl->data.d.d_size, 1); in __elfw2()
371 last_position += dl->data.d.d_size; in __elfw2()
373 else if (dl->data.d.d_size != 0) in __elfw2()
375 dl->data.d.d_buf, in __elfw2()
376 dl->data.d.d_size); in __elfw2()
381 last_position += dl->data.d.d_size; in __elfw2()
383 assert (scn_start + dl->data.d.d_off + dl->data.d.d_size in __elfw2()
386 dl->flags &= ~ELF_F_DIRTY; in __elfw2()
388 dl = dl->next; in __elfw2()
390 while (dl != NULL); in __elfw2()
706 Elf_Data_List *dl = &scn->data_list; in __elfw2() local
713 if (scn_start + dl->data.d.d_off > last_offset in __elfw2()
714 && ((previous_scn_changed && dl->data.d.d_off == 0) in __elfw2()
715 || ((scn->flags | dl->flags | elf->flags) in __elfw2()
719 (scn_start + dl->data.d.d_off) in __elfw2()
730 if ((scn->flags | dl->flags | elf->flags) & ELF_F_DIRTY) in __elfw2()
733 void *buf = dl->data.d.d_buf; in __elfw2()
740 last_offset = scn_start + dl->data.d.d_off; in __elfw2()
746 …fctp = __elf_xfctstom[__libelf_version - 1][dl->data.d.d_version - 1][ELFW(ELFCLASS, LIBELFBITS) -… in __elfw2()
749 # define fctp __elf_xfctstom[0][EV_CURRENT - 1][ELFW(ELFCLASS, LIBELFBITS) - 1][dl->data.d.d_type] in __elfw2()
753 if (dl->data.d.d_size > MAX_TMPBUF) in __elfw2()
755 buf = malloc (dl->data.d.d_size); in __elfw2()
764 (*fctp) (buf, dl->data.d.d_buf, dl->data.d.d_size, 1); in __elfw2()
768 dl->data.d.d_size, in __elfw2()
770 if (unlikely ((size_t) n != dl->data.d.d_size)) in __elfw2()
772 if (buf != dl->data.d.d_buf && buf != tmpbuf) in __elfw2()
779 if (buf != dl->data.d.d_buf && buf != tmpbuf) in __elfw2()
785 last_offset += dl->data.d.d_size; in __elfw2()
787 dl->flags &= ~ELF_F_DIRTY; in __elfw2()
789 dl = dl->next; in __elfw2()
791 while (dl != NULL); in __elfw2()