Lines Matching refs:argc
51 static int call_bootm(int argc, char * const argv[], const char *subcommand[]) in call_bootm() argument
61 switch (argc) { in call_bootm()
78 debug("args %d: %s %s ", argc, bootm_argv[0], bootm_argv[1]); in call_bootm()
79 for (j = 0; j < argc; j++) in call_bootm()
83 ret = do_bootm(find_cmd("do_bootm"), 0, argc+2, in call_bootm()
102 static int spl_export(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in spl_export() argument
106 if (argc < 2) /* no subcommand */ in spl_export()
112 argc -= 2; in spl_export()
114 if (call_bootm(argc, argv, subcmd_list[(long)c->cmd])) in spl_export()
147 static int do_spl(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) in do_spl() argument
152 if (argc < 2) /* no subcommand */ in do_spl()
160 argc--; in do_spl()
162 if (spl_export(cmdtp, flag, argc, argv)) in do_spl()