Lines Matching refs:sym_tab
464 ext->sym_tab.sym_cnt = 0; in llext_count_export_syms()
492 ext->sym_tab.sym_cnt++; in llext_count_export_syms()
504 struct llext_symtable *sym_tab = &ext->sym_tab; in llext_allocate_symtab() local
505 size_t syms_size = sym_tab->sym_cnt * sizeof(struct llext_symbol); in llext_allocate_symtab()
507 sym_tab->syms = llext_alloc(syms_size); in llext_allocate_symtab()
508 if (!sym_tab->syms) { in llext_allocate_symtab()
511 memset(sym_tab->syms, 0, syms_size); in llext_allocate_symtab()
553 struct llext_symtable *sym_tab = &ext->sym_tab; in llext_copy_symbols() local
584 __ASSERT(j <= sym_tab->sym_cnt, "Miscalculated symbol number %u\n", j); in llext_copy_symbols()
586 sym_tab->syms[j].name = name; in llext_copy_symbols()
593 sym_tab->syms[j].addr = (uint8_t *)sym.st_value + in llext_copy_symbols()
613 sym_tab->syms[j].addr = (uint8_t *)base + sym.st_value - in llext_copy_symbols()
618 j, name, sym_tab->syms[j].addr); in llext_copy_symbols()
746 llext_free(ext->sym_tab.syms); in do_llext_load()
747 ext->sym_tab.sym_cnt = 0; in do_llext_load()
748 ext->sym_tab.syms = NULL; in do_llext_load()