Lines Matching refs:cmd_lvl
634 size_t cmd_lvl = 0; in execute() local
666 &cmd_lvl, &cmd_with_handler_lvl, &args_left); in execute()
667 cmd_lvl++; in execute()
674 while ((argc != 1) && (cmd_lvl < CONFIG_SHELL_ARGC_MAX) in execute()
687 if (IS_ENABLED(CONFIG_SHELL_HELP) && (cmd_lvl > 0) && in execute()
705 if (IS_ENABLED(CONFIG_SHELL_WILDCARD) && (cmd_lvl > 0)) { in execute()
721 ++cmd_lvl; in execute()
740 &help_entry, &cmd_lvl, in execute()
745 cmd_lvl == 0 && in execute()
760 cmd_lvl++; in execute()
765 if ((cmd_lvl >= CONFIG_SHELL_ARGC_MAX) && (argc == 2)) { in execute()
781 (void)z_shell_make_argv(&cmd_lvl, in execute()
790 cmd_lvl++; in execute()
800 if (parent->args.optional == SHELL_OPT_ARG_RAW && argv[cmd_lvl] != NULL) { in execute()
801 cmd_lvl++; in execute()
806 return exec_cmd(sh, cmd_lvl - cmd_with_handler_lvl, in execute()