Home
last modified time | relevance | path

Searched refs:symdata_scn (Results 1 – 2 of 2) sorted by relevance

/third_party/elfutils/libelf/
Dgelf_update_symshndx.c46 Elf_Data_Scn *symdata_scn = (Elf_Data_Scn *) symdata; in gelf_update_symshndx() local
55 if (unlikely (symdata_scn->d.d_type != ELF_T_SYM)) in gelf_update_symshndx()
62 scn = symdata_scn->s; in gelf_update_symshndx()
100 if (INVALID_NDX (ndx, Elf32_Sym, &symdata_scn->d)) in gelf_update_symshndx()
106 sym = &((Elf32_Sym *) symdata_scn->d.d_buf)[ndx]; in gelf_update_symshndx()
123 if (INVALID_NDX (ndx, Elf64_Sym, &symdata_scn->d)) in gelf_update_symshndx()
129 ((Elf64_Sym *) symdata_scn->d.d_buf)[ndx] = *src; in gelf_update_symshndx()
Dgelf_getsymshndx.c46 Elf_Data_Scn *symdata_scn = (Elf_Data_Scn *) symdata; in gelf_getsymshndx() local
62 rwlock_rdlock (symdata_scn->s->elf->lock); in gelf_getsymshndx()
80 if (symdata_scn->s->elf->class == ELFCLASS32) in gelf_getsymshndx()
133 rwlock_unlock (symdata_scn->s->elf->lock); in gelf_getsymshndx()