Lines Matching +full:max +full:- +full:read +full:- +full:sz
4 * SPDX-License-Identifier: Apache-2.0
50 return -ENOENT; in cmd_llext_list_symbols()
53 shell_print(sh, "Extension: %s symbols", m->name); in cmd_llext_list_symbols()
55 for (elf_word i = 0; i < m->sym_tab.sym_cnt; i++) { in cmd_llext_list_symbols()
56 shell_print(sh, "| %16s | %p |", m->sym_tab.syms[i].name, in cmd_llext_list_symbols()
57 m->sym_tab.syms[i].addr); in cmd_llext_list_symbols()
73 if (cmd->tgt == cmd->idx) { in llext_shell_name_cb()
74 cmd->ext = ext; in llext_shell_name_cb()
78 cmd->idx++; in llext_shell_name_cb()
89 entry->syntax = cmd.ext ? cmd.ext->name : NULL; in llext_name_get()
90 entry->help = NULL; in llext_name_get()
91 entry->subcmd = NULL; in llext_name_get()
92 entry->handler = NULL; in llext_name_get()
93 entry->args.mandatory = 0; in llext_name_get()
94 entry->args.optional = 0; in llext_name_get()
101 if (entry->syntax) { in llext_name_arg_get()
102 entry->args.mandatory = 1; in llext_name_arg_get()
115 shell_print(sl->sh, "| %16s | %12d |", ext->name, ext->alloc_size); in llext_shell_list_cb()
136 shell_print(sh, "Extension %d bytes too large to load, max %d bytes\n", hex_len/2, in cmd_llext_load_hex()
138 return -ENOMEM; in cmd_llext_load_hex()
147 LOG_DBG("hex2bin hex len %d, llext buf sz %d, read %d", in cmd_llext_load_hex()
156 shell_print(sh, "Successfully loaded extension %s, addr %p\n", ext->name, ext); in cmd_llext_load_hex()
170 return -ENOENT; in cmd_llext_unload()
185 return -ENOENT; in cmd_llext_call_fn()
207 return -ENOEXEC; 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()
218 return -ENOEXEC; in cmd_llext_load_fs()
220 shell_print(sh, "Successfully loaded extension %s, addr %p\n", ext->name, ext); in cmd_llext_load_fs()
225 /* clang-format off */
240 /* clang-format on */