/external/elfutils/libelf/ |
gelf_getversym.c | 69 Elf_Scn *scn; local 84 scn = data_scn->s; 91 rwlock_rdlock (scn->elf->lock); 107 rwlock_unlock (scn->elf->lock);
|
gelf_update_lib.c | 85 Elf_Scn *scn = data_scn->s; local 86 rwlock_wrlock (scn->elf->lock); 99 scn->flags |= ELF_F_DIRTY; 102 rwlock_unlock (scn->elf->lock);
|
gelf_update_syminfo.c | 69 Elf_Scn *scn; local 92 scn = data_scn->s; 93 rwlock_wrlock (scn->elf->lock); 107 scn->flags |= ELF_F_DIRTY; 110 rwlock_unlock (scn->elf->lock);
|
gelf_getrel.c | 68 Elf_Scn *scn; local 89 scn = data_scn->s; 91 rwlock_rdlock (scn->elf->lock); 93 if (scn->elf->class == ELFCLASS32) 126 rwlock_unlock (scn->elf->lock);
|
gelf_getrela.c | 68 Elf_Scn *scn; local 89 scn = data_scn->s; 91 rwlock_rdlock (scn->elf->lock); 93 if (scn->elf->class == ELFCLASS32) 127 rwlock_unlock (scn->elf->lock);
|
gelf_update_auxv.c | 67 Elf_Scn *scn; local 86 scn = data_scn->s; 87 rwlock_wrlock (scn->elf->lock); 89 if (scn->elf->class == ELFCLASS32) 129 scn->flags |= ELF_F_DIRTY; 132 rwlock_unlock (scn->elf->lock);
|
gelf_update_dyn.c | 68 Elf_Scn *scn; local 87 scn = data_scn->s; 88 rwlock_wrlock (scn->elf->lock); 90 if (scn->elf->class == ELFCLASS32) 131 scn->flags |= ELF_F_DIRTY; 134 rwlock_unlock (scn->elf->lock);
|
gelf_update_rel.c | 65 Elf_Scn *scn; local 84 scn = data_scn->s; 85 rwlock_wrlock (scn->elf->lock); 87 if (scn->elf->class == ELFCLASS32) 129 scn->flags |= ELF_F_DIRTY; 132 rwlock_unlock (scn->elf->lock);
|
gelf_update_rela.c | 65 Elf_Scn *scn; local 84 scn = data_scn->s; 85 rwlock_wrlock (scn->elf->lock); 87 if (scn->elf->class == ELFCLASS32) 132 scn->flags |= ELF_F_DIRTY; 135 rwlock_unlock (scn->elf->lock);
|
gelf_update_sym.c | 69 Elf_Scn *scn; local 88 scn = data_scn->s; 89 rwlock_wrlock (scn->elf->lock); 91 if (scn->elf->class == ELFCLASS32) 140 scn->flags |= ELF_F_DIRTY; 143 rwlock_unlock (scn->elf->lock);
|
gelf_update_symshndx.c | 73 Elf_Scn *scn; local 93 scn = symdata_scn->s; 96 rwlock_wrlock (scn->elf->lock); 117 if (scn->elf->class == ELFCLASS32) 170 scn->flags |= ELF_F_DIRTY; 173 rwlock_unlock (scn->elf->lock);
|
elf32_checksum.c | 84 Elf_Scn *scn; local 117 scn = NULL; 118 while ((scn = INTUSE(elf_nextscn) (elf, scn)) != NULL) 125 shdr = INTUSE(gelf_getshdr) (scn, &shdr_mem); 150 data = INTUSE(elf_rawdata) (scn, NULL); 162 while ((data = INTUSE(elf_getdata) (scn, data)) != NULL)
|
elf32_updatenull.c | 215 Elf_Scn *scn = &list->data[cnt]; local 216 ElfW2(LIBELFBITS,Shdr) *shdr = scn->shdr.ELFW(e,LIBELFBITS); 268 scn->shdr_flags); 270 if (scn->data_read == 0 271 && __libelf_set_rawdata_wrlock (scn) != 0) 278 Elf_Data_List *dl = &scn->data_list; 283 if (dl == &scn->data_list && data->d_buf == NULL 284 && scn->rawdata.d.d_buf != NULL) 285 data = &scn->rawdata.d; 333 offset += scn->rawdata.d.d_size [all...] |
elf_end.c | 168 Elf_Scn *scn = &list->data[cnt]; local 171 if ((scn->shdr_flags & ELF_F_MALLOCED) != 0) 173 free (scn->shdr.e32); 179 if (scn->data_base != scn->rawdata_base) 180 free (scn->data_base); 185 free (scn->rawdata_base); 190 runp = scn->data_list.next;
|
/external/elfutils/tests/ |
early-offscn.c | 54 Elf_Scn *scn = gelf_offscn (elf, strtoull (argv[2], NULL, 0)); local 55 if (scn == NULL)
|
asm-tst4.c | 70 AsmScn_t *scn; local 76 scn = asm_newscn (ctx, buf, SHT_PROGBITS, SHF_ALLOC | SHF_WRITE); 77 if (scn == NULL) 86 if (asm_adduint32 (scn, cnt) != 0)
|
asm-tst5.c | 72 AsmScn_t *scn; local 78 scn = asm_newscn (ctx, buf, SHT_PROGBITS, SHF_ALLOC | SHF_WRITE); 79 if (scn == NULL) 89 if (asm_newsym (scn, buf, sizeof (uint32_t), STT_OBJECT, 98 if (asm_adduint32 (scn, cnt) != 0)
|
asm-tst6.c | 70 AsmScn_t *scn; local 82 scn = asm_newscn_ingrp (ctx, ".data", SHT_PROGBITS, 84 if (scn == NULL) 94 sym = asm_newsym (scn, buf, sizeof (uint32_t), STT_OBJECT, 104 if (asm_adduint32 (scn, cnt) != 0) 122 scn = asm_newscn_ingrp (ctx, ".stab", SHT_PROGBITS, 0, grp); 123 if (scn == NULL) 132 if (asm_adduint32 (scn, cnt) != 0)
|
scnnames.c | 42 Elf_Scn *scn; local 80 scn = NULL; 81 while ((scn = elf_nextscn (elf, scn)) != NULL) 86 if (gelf_getshdr (scn, &shdr) != NULL)
|
asm-tst7.c | 106 Elf_Scn *scn; local 110 scn = elf_getscn (elf, cnt); 111 if (scn == NULL) 118 shdr = gelf_getshdr (scn, &shdr_mem); 144 sym = gelf_getsym (elf_getdata (scn, NULL), cnt, &sym_mem);
|
asm-tst8.c | 107 Elf_Scn *scn; local 111 scn = elf_getscn (elf, cnt); 112 if (scn == NULL) 119 shdr = gelf_getshdr (scn, &shdr_mem); 145 sym = gelf_getsym (elf_getdata (scn, NULL), cnt, &sym_mem);
|
/external/elfutils/backends/ |
alpha_symbol.c | 96 Elf_Scn *scn = NULL; local 97 while ((scn = elf_nextscn (ebl->elf, scn)) != NULL) 100 if (likely (gelf_getshdr (scn, &scn_shdr) != NULL) 105 Elf_Data *data = elf_getdata (scn, NULL);
|
sparc_symbol.c | 84 Elf_Scn *scn = NULL; local 85 while ((scn = elf_nextscn (ebl->elf, scn)) != NULL) 88 if (likely (gelf_getshdr (scn, &scn_shdr) != NULL) 92 Elf_Data *data = elf_getdata (scn, NULL);
|
/external/elfutils/libasm/ |
asm_newscn.c | 109 Elf_Scn *scn; local 134 result->data.main.scn = scn = elf_newscn (result->ctx->out.elf); 135 if (scn == NULL) 146 shdr = gelf_getshdr (scn, &shdr_mem); 151 (void) gelf_update_shdr (scn, shdr);
|
/external/elfutils/libdwfl/ |
dwfl_module_addrsym.c | 75 Elf_Scn *scn = NULL; local 77 while ((scn = elf_nextscn (mod->symfile->elf, scn)) != NULL) 80 GElf_Shdr *shdr = gelf_getshdr (scn, &shdr_mem); 85 addr_shndx = elf_ndxscn (scn);
|