Lines Matching defs:symtab
338 struct dst_sec *symtab = &linker->secs[linker->symtab_sec_idx];
340 size_t sym_cnt = symtab->sec_sz / sizeof(*sym);
342 syms = libbpf_reallocarray(symtab->raw_data, sym_cnt + 1, sizeof(*sym));
349 symtab->raw_data = syms;
350 symtab->sec_sz += sizeof(*sym);
351 symtab->shdr->sh_size += sizeof(*sym);
352 symtab->data->d_size += sizeof(*sym);
429 sec = add_dst_sec(linker, ".symtab");
1408 struct src_sec *symtab = &obj->secs[obj->symtab_sec_idx];
1409 Elf64_Sym *sym = symtab->data->d_buf;
1410 int i, n = symtab->shdr->sh_size / symtab->shdr->sh_entsize, err;
1411 int str_sec_idx = symtab->shdr->sh_link;
1441 struct dst_sec *symtab = &linker->secs[linker->symtab_sec_idx];
1442 Elf64_Sym *syms = symtab->raw_data;
2290 struct src_sec *symtab = &obj->secs[obj->symtab_sec_idx];
2291 Elf64_Sym *sym = symtab->data->d_buf;
2292 int i, n = symtab->shdr->sh_size / symtab->shdr->sh_entsize;
2293 int str_sec_idx = symtab->shdr->sh_link;