Lines Matching refs:tmp
214 struct llext *tmp = *ext; in llext_unload() local
223 __ASSERT(tmp->use_count, "A valid LLEXT cannot have a zero use-count!"); in llext_unload()
225 if (tmp->use_count-- != 1) { in llext_unload()
226 unsigned int ret = tmp->use_count; in llext_unload()
233 sys_slist_find_and_remove(&llext_list, &tmp->llext_list); in llext_unload()
235 llext_dependency_remove_all(tmp); in llext_unload()
240 if (tmp->sect_hdrs_on_heap) { in llext_unload()
241 llext_free(tmp->sect_hdrs); in llext_unload()
244 llext_free_regions(tmp); in llext_unload()
245 llext_free(tmp->sym_tab.syms); in llext_unload()
246 llext_free(tmp->exp_tab.syms); in llext_unload()
247 llext_free(tmp); in llext_unload()