Home | History | Annotate | Download | only in libkmod

Lines Matching defs:nameoff

64 			uint32_t nameoff; /* offset in strings itself */
224 static inline int elf_get_section_info(const struct kmod_elf *elf, uint16_t idx, uint64_t *offset, uint64_t *size, uint32_t *nameoff)
233 *nameoff = 0;
244 *nameoff = READV(sh_name);
249 *nameoff = READV(sh_name);
260 ELFDBG(elf, "section=%"PRIu16" is: offset=%"PRIu64" size=%"PRIu64" nameoff=%"PRIu32"\n",
261 idx, *offset, *size, *nameoff);
342 &elf->header.strings.nameoff) < 0) {
381 uint32_t nameoff;
383 int err = elf_get_section_info(elf, i, &off, &size, &nameoff);
386 if (nameoff >= nameslen)
388 n = names + nameoff;
409 uint32_t nameoff;
411 int err = elf_get_section_info(elf, i, &off, &size, &nameoff);
414 if (nameoff >= nameslen)
416 n = names + nameoff;