Lines Matching refs:argc
17 static int do_host_load(struct cmd_tbl *cmdtp, int flag, int argc, in do_host_load() argument
20 return do_load(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX); in do_host_load()
23 static int do_host_ls(struct cmd_tbl *cmdtp, int flag, int argc, in do_host_ls() argument
26 return do_ls(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX); in do_host_ls()
29 static int do_host_size(struct cmd_tbl *cmdtp, int flag, int argc, in do_host_size() argument
32 return do_size(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX); in do_host_size()
35 static int do_host_save(struct cmd_tbl *cmdtp, int flag, int argc, in do_host_save() argument
38 return do_save(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX); in do_host_save()
41 static int do_host_bind(struct cmd_tbl *cmdtp, int flag, int argc, in do_host_bind() argument
44 if (argc < 2 || argc > 3) in do_host_bind()
48 char *file = argc >= 3 ? argv[2] : NULL; in do_host_bind()
57 static int do_host_info(struct cmd_tbl *cmdtp, int flag, int argc, in do_host_info() argument
60 if (argc < 1 || argc > 2) in do_host_info()
64 if (argc >= 2) { in do_host_info()
104 static int do_host_dev(struct cmd_tbl *cmdtp, int flag, int argc, in do_host_dev() argument
112 if (argc < 1 || argc > 3) in do_host_dev()
115 if (argc == 1) { in do_host_dev()
154 static int do_host(struct cmd_tbl *cmdtp, int flag, int argc, in do_host() argument
160 argc--; in do_host()
167 return c->cmd(cmdtp, flag, argc, argv); in do_host()