Lines Matching refs:ext
66 struct llext *ext; member
69 static int llext_shell_name_cb(struct llext *ext, void *arg) in llext_shell_name_cb() argument
74 cmd->ext = ext; in llext_shell_name_cb()
89 entry->syntax = cmd.ext ? cmd.ext->name : NULL; in llext_name_get()
111 static int llext_shell_list_cb(struct llext *ext, void *arg) in llext_shell_list_cb() argument
115 shell_print(sl->sh, "| %16s | %12d |", ext->name, ext->alloc_size); in llext_shell_list_cb()
152 struct llext *ext; in cmd_llext_load_hex() local
153 int res = llext_load(ldr, name, &ext, &ldr_parm); in cmd_llext_load_hex()
156 shell_print(sh, "Successfully loaded extension %s, addr %p\n", ext->name, ext); in cmd_llext_load_hex()
166 struct llext *ext = llext_by_name(argv[1]); in cmd_llext_unload() local
168 if (ext == NULL) { in cmd_llext_unload()
173 llext_unload(&ext); in cmd_llext_unload()
181 struct llext *ext = llext_by_name(argv[1]); in cmd_llext_call_fn() local
183 if (ext == NULL) { in cmd_llext_call_fn()
188 llext_call_fn(ext, argv[2]); in cmd_llext_call_fn()
213 struct llext *ext; in cmd_llext_load_fs() local
215 res = llext_load(ldr, argv[1], &ext, &ldr_parm); in cmd_llext_load_fs()
217 shell_print(sh, "Failed to load extension %s, return code %d\n", ext->name, res); in cmd_llext_load_fs()
220 shell_print(sh, "Successfully loaded extension %s, addr %p\n", ext->name, ext); in cmd_llext_load_fs()