Home
last modified time | relevance | path

Searched refs:exp_tab (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/subsys/llext/
Dllext_load.c528 struct llext_symtable *exp_tab = &ext->exp_tab; in llext_export_symbols() local
530 exp_tab->sym_cnt = shdr->sh_size / sizeof(struct llext_symbol); in llext_export_symbols()
531 exp_tab->syms = llext_alloc(exp_tab->sym_cnt * sizeof(struct llext_symbol)); in llext_export_symbols()
532 if (!exp_tab->syms) { in llext_export_symbols()
537 i < exp_tab->sym_cnt; in llext_export_symbols()
539 exp_tab->syms[i].name = sym->name; in llext_export_symbols()
540 exp_tab->syms[i].addr = sym->addr; in llext_export_symbols()
541 LOG_DBG("sym %p name %s in %p", sym->addr, sym->name, exp_tab->syms + i); in llext_export_symbols()
759 llext_free(ext->exp_tab.syms); in do_llext_load()
760 ext->exp_tab.sym_cnt = 0; in do_llext_load()
[all …]
Dllext.c284 llext_free(tmp->exp_tab.syms); in llext_unload()
294 fn = llext_find_sym(&ext->exp_tab, sym_name); in llext_call_fn()
Dllext_link.c122 const void *addr = llext_find_sym(&ext->exp_tab, se->sym); in llext_find_extension_sym_iterate()
/Zephyr-latest/tests/subsys/llext/src/
Dtest_llext.c134 void (*test_entry_fn)() = llext_find_sym(&ext->exp_tab, "test_entry"); in load_call_unload()
279 const int *number = llext_find_sym(&ext->exp_tab, "number"); in init_fini_test_cleanup()
355 int (*test_entry_fn)() = llext_find_sym(&ext_dependent->exp_tab, "test_entry"); in ZTEST()
386 test_entry_fn = llext_find_sym(&ext->exp_tab, "test_entry"); in ZTEST()
426 uintptr_t symbol_ptr = (uintptr_t)llext_find_sym(&ext->exp_tab, "number"); in ZTEST()
485 void (*test_entry_fn)() = llext_find_sym(&detached_llext->exp_tab, "test_entry"); in ZTEST()
490 test_entry_fn = llext_find_sym(&detached_llext->exp_tab, "detached_entry"); in ZTEST()
541 void (*test_entry_fn)() = llext_find_sym(&ext->exp_tab, "test_entry"); in ZTEST()
/Zephyr-latest/samples/subsys/llext/modules/src/
Dmain_module.c36 void (*hello_world_fn)() = llext_find_sym(&ext->exp_tab, "hello_world"); in main()
/Zephyr-latest/tests/misc/llext-edk/src/
Dmain.c62 start_fn = llext_find_sym(&(*ext)->exp_tab, "start"); in load_and_run_extension()
/Zephyr-latest/include/zephyr/llext/
Dllext.h116 struct llext_symtable exp_tab; member
/Zephyr-latest/samples/subsys/llext/edk/app/src/
Dmain.c80 return llext_find_sym(&(*ext)->exp_tab, "start"); in load()