Lines Matching defs:shndxdata
700 gelf_getsymshndx(Elf_Data *symdata, Elf_Data *shndxdata,
705 if (shndxdata && xshndx) {
706 EDATA_READLOCKS(shndxdata);
707 if ((ndx * sizeof (Elf32_Word)) >= shndxdata->d_size) {
709 EDATA_READUNLOCKS(shndxdata);
712 *xshndx = (((Elf32_Word *)shndxdata->d_buf)[ndx]);
713 EDATA_READUNLOCKS(shndxdata);
721 gelf_update_symshndx(Elf_Data *symdata, Elf_Data *shndxdata,
726 if (shndxdata) {
727 ELFWLOCK(EDATA_ELF(shndxdata));
728 if ((ndx * sizeof (Elf32_Word)) >= shndxdata->d_size) {
730 ELFUNLOCK(EDATA_ELF(shndxdata));
733 ((Elf32_Word *)shndxdata->d_buf)[ndx] = xshndx;
734 ELFUNLOCK(EDATA_ELF(shndxdata));