Home
last modified time | relevance | path

Searched refs:argc (Results 1 – 25 of 1666) sorted by relevance

12345678910>>...67

/openbmc/linux/tools/perf/
H A Dbuiltin.h8 int cmd_annotate(int argc, const char **argv);
9 int cmd_bench(int argc, const char **argv);
12 int cmd_config(int argc, const char **argv);
13 int cmd_c2c(int argc, const char **argv);
14 int cmd_diff(int argc, const char **argv);
16 int cmd_help(int argc, const char **argv);
17 int cmd_sched(int argc, const char **argv);
19 int cmd_list(int argc, const char **argv);
22 int cmd_stat(int argc, const char **argv);
24 int cmd_top(int argc, const char **argv);
[all …]
/openbmc/linux/tools/perf/bench/
H A Dbench.h21 int bench_numa(int argc, const char **argv);
23 int bench_sched_pipe(int argc, const char **argv);
27 int bench_syscall_fork(int argc, const char **argv);
29 int bench_mem_memcpy(int argc, const char **argv);
30 int bench_mem_memset(int argc, const char **argv);
32 int bench_futex_hash(int argc, const char **argv);
33 int bench_futex_wake(int argc, const char **argv);
38 int bench_epoll_wait(int argc, const char **argv);
39 int bench_epoll_ctl(int argc, const char **argv);
40 int bench_synthesize(int argc, const char **argv);
[all …]
/openbmc/u-boot/cmd/
H A Dyaffs2.c48 if (argc > 1) in do_ytrace()
72 if (argc != 5) { in do_ydevconfig()
92 if (argc != 2) { in do_ymount()
109 if (argc != 2) { in do_yumount()
125 if (argc < 2 || argc > 3 || (argc == 3 && strcmp(argv[1], "-l"))) { in do_yls()
141 if (argc != 2) { in do_yrd()
162 if (argc != 4) { in do_ywr()
185 if (argc != 3) { in do_yrdm()
204 if (argc != 4) { in do_ywrm()
222 if (argc != 2) { in do_ymkdir()
[all …]
H A Dpart.c35 if (argc < 2) in do_part_uuid()
37 if (argc > 3) in do_part_uuid()
44 if (argc > 2) in do_part_uuid()
60 if (argc < 2) in do_part_list()
63 if (argc > 2) { in do_part_list()
64 for (i = 2; i < argc ; i++) { in do_part_list()
80 if (argc != i + 1) in do_part_list()
125 if (argc < 3) in do_part_info()
127 if (argc > 4) in do_part_info()
157 if (argc > 3) in do_part_info()
[all …]
H A Dhost.c18 return do_load(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX); in do_host_load()
21 static int do_host_ls(cmd_tbl_t *cmdtp, int flag, int argc, in do_host_ls() argument
24 return do_ls(cmdtp, flag, argc, argv, FS_TYPE_SANDBOX); in do_host_ls()
42 if (argc < 2 || argc > 3) in do_host_bind()
46 char *file = argc >= 3 ? argv[2] : NULL; in do_host_bind()
58 if (argc < 1 || argc > 2) in do_host_info()
62 if (argc >= 2) { in do_host_info()
110 if (argc < 1 || argc > 3) in do_host_dev()
113 if (argc == 1) { in do_host_dev()
158 argc--; in do_host()
[all …]
H A Dnvedit.c128 argc--; in do_env_print()
163 if (argc < 2) in do_env_grep()
233 --argc; in _do_env_set()
387 if (argc < 2) in do_env_set()
414 if (argc == 1) in do_env_ask()
428 --argc; in do_env_ask()
631 if (argc < 2) in do_env_edit()
839 --argc; in do_env_delete()
957 if (argc < 1) in do_env_export()
966 argc--; in do_env_export()
[all …]
H A Dfs.c15 return do_size(cmdtp, flag, argc, argv, FS_TYPE_ANY); in do_size_wrapper()
26 static int do_load_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, in do_load_wrapper() argument
30 efi_set_bootdev(argv[1], (argc > 2) ? argv[2] : "", in do_load_wrapper()
31 (argc > 4) ? argv[4] : ""); in do_load_wrapper()
33 return do_load(cmdtp, flag, argc, argv, FS_TYPE_ANY); in do_load_wrapper()
48 static int do_save_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, in do_save_wrapper() argument
51 return do_save(cmdtp, flag, argc, argv, FS_TYPE_ANY); in do_save_wrapper()
65 static int do_ls_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, in do_ls_wrapper() argument
68 return do_ls(cmdtp, flag, argc, argv, FS_TYPE_ANY); in do_ls_wrapper()
79 static int do_fstype_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, in do_fstype_wrapper() argument
[all …]
H A Dfpga.c75 if (argc < 5) { in do_fpga_loads()
80 if (argc == 6) in do_fpga_loads()
91 argc++; in do_fpga_loads()
109 cmdtp, argc, argv); in do_fpga_loads()
127 cmdtp, argc, argv); in do_fpga_loadfs()
157 cmdtp, argc, argv); in do_fpga_dump()
172 cmdtp, argc, argv); in do_fpga_load()
187 cmdtp, argc, argv); in do_fpga_loadb()
254 if (argc == 2) { in do_fpga_loadmk()
391 if (argc < 2) in do_fpga_wrapper()
[all …]
H A Dfat.c23 return do_size(cmdtp, flag, argc, argv, FS_TYPE_FAT); in do_fat_size()
36 return do_load(cmdtp, flag, argc, argv, FS_TYPE_FAT); in do_fat_fsload()
57 return do_ls(cmdtp, flag, argc, argv, FS_TYPE_FAT); in do_fat_ls()
67 static int do_fat_fsinfo(cmd_tbl_t *cmdtp, int flag, int argc, in do_fat_fsinfo() argument
74 if (argc < 2) { in do_fat_fsinfo()
101 int argc, char * const argv[]) in do_fat_fswrite() argument
114 if (argc < 5) in do_fat_fswrite()
129 count = (argc <= 5) ? 0 : simple_strtoul(argv[5], NULL, 16); in do_fat_fswrite()
131 offset = (argc <= 6) ? 0 : simple_strtol(argv[6], NULL, 16); in do_fat_fswrite()
157 return do_rm(cmdtp, flag, argc, argv, FS_TYPE_FAT); in do_fat_rm()
[all …]
H A Dtpm-v2.c26 if (argc != 2) in do_tpm2_startup()
51 if (argc != 2) in do_tpm2_self_test()
79 if (argc < 2 || argc > 3) in do_tpm2_clear()
105 if (argc != 3) in do_tpm2_pcr_extend()
137 if (argc != 3) in do_tpm_pcr_read()
180 if (argc != 5) in do_tpm_get_capability()
221 if (argc > 2) in do_tpm_dam_reset()
249 if (argc < 4 || argc > 5) in do_tpm_dam_parameters()
289 if (argc < 3 || argc > 4) in do_tpm_change_auth()
327 if (argc < 3 || argc > 4) in do_tpm_pcr_setauthpolicy()
[all …]
H A Dfsi.c21 static void do_getcfam(int argc, char *const argv[]) in do_getcfam() argument
26 if (argc != 3) { in do_getcfam()
48 if (argc != 4) { in do_putcfam()
67 if (argc == 2) { in do_divisor()
71 } else if (argc == 3) { in do_divisor()
89 if (argc > 3) { in do_probe()
94 if (argc == 2) in do_probe()
117 fsi = do_probe(argc, argv); in do_fsi()
131 do_putcfam(argc, argv); in do_fsi()
133 do_getcfam(argc, argv); in do_fsi()
[all …]
H A Dnet.c19 return netboot_common(BOOTP, cmdtp, argc, argv); in do_bootp()
35 ret = netboot_common(TFTPGET, cmdtp, argc, argv); in do_tftpb()
50 return netboot_common(TFTPPUT, cmdtp, argc, argv); in do_tftpput()
80 return netboot_common(RARP, cmdtp, argc, argv); in do_rarpb()
93 return netboot_common(DHCP, cmdtp, argc, argv); in do_dhcp()
106 return netboot_common(NFS, cmdtp, argc, argv); in do_nfs()
193 switch (argc) { in netboot_common()
275 if (argc < 2) in do_ping()
348 if (argc < 2) { in do_sntp()
387 if (argc == 1) in do_dns()
[all …]
H A Ddemo.c16 static int do_demo_hello(cmd_tbl_t *cmdtp, int flag, int argc, in do_demo_hello() argument
21 if (argc) in do_demo_hello()
27 static int do_demo_status(cmd_tbl_t *cmdtp, int flag, int argc, in do_demo_status() argument
48 if (argc) { in do_demo_light()
94 if (argc < 2) in do_demo()
98 argc -= 2; in do_demo()
101 if ((!demo_cmd || argc > demo_cmd->maxargs) || in do_demo()
102 ((demo_cmd->name[0] != 'l') && (argc < 1))) in do_demo()
105 if (argc) { in do_demo()
110 argc--; in do_demo()
[all …]
H A Dfastboot.c18 static int do_fastboot_udp(int argc, char *const argv[], in do_fastboot_udp() argument
36 static int do_fastboot_usb(int argc, char *const argv[], in do_fastboot_usb() argument
45 if (argc < 2) in do_fastboot_usb()
101 if (argc < 2) in do_fastboot()
104 while (argc > 1 && **(argv + 1) == '-') { in do_fastboot()
107 --argc; in do_fastboot()
111 if (--argc <= 0) in do_fastboot()
117 if (--argc <= 0) in do_fastboot()
131 if (argc == 1) { in do_fastboot()
143 argc--; in do_fastboot()
[all …]
H A Dspl.c51 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()
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()
152 if (argc < 2) /* no subcommand */ in do_spl()
160 argc--; in do_spl()
[all …]
H A Davb.c26 if (argc != 2) in do_avb_init()
55 if (argc != 5) in do_avb_read_part()
88 if (argc != 4) in do_avb_read_part_hex()
133 if (argc != 5) in do_avb_write_part()
162 if (argc != 2) in do_avb_read_rb()
188 if (argc != 3) in do_avb_write_rb()
214 if (argc != 2) in do_avb_get_uuid()
247 if (argc != 1) in do_avb_verify_part()
327 if (argc != 1) { in do_avb_is_unlocked()
361 argc--; in do_avb()
[all …]
H A Dmmc.c158 if (argc != 2) in do_mmcrpmb_key()
179 if (argc < 4) in do_mmcrpmb_read()
186 if (argc == 5) in do_mmcrpmb_read()
207 if (argc != 5) in do_mmcrpmb_write()
254 argc--; in do_mmcrpmb()
300 if (argc != 4) in do_mmc_read()
345 if (argc != 3) in do_mmc_sparse_write()
393 if (argc != 4) in do_mmc_write()
605 if (argc < 1) in do_mmc_hwpartition()
763 if (argc != 2 && argc != 5) in do_mmc_partconf()
[all …]
H A Dfuse.c45 const char *op = argc >= 2 ? argv[1] : NULL; in do_fuse()
50 argc -= 2 + confirmed; in do_fuse()
53 if (argc < 2 || strtou32(argv[0], 0, &bank) || in do_fuse()
58 if (argc == 2) in do_fuse()
60 else if (argc != 3 || strtou32(argv[2], 0, &cnt)) in do_fuse()
76 if (argc == 2) in do_fuse()
78 else if (argc != 3 || strtou32(argv[2], 0, &cnt)) in do_fuse()
94 if (argc < 3) in do_fuse()
97 for (i = 2; i < argc; i++, word++) { in do_fuse()
110 if (argc < 3) in do_fuse()
[all …]
/openbmc/linux/tools/bpf/bpftool/
H A Dmain.h34 #define NEXT_ARG() ({ argc--; argv++; if (argc < 0) usage(); })
35 #define NEXT_ARGP() ({ (*argc)--; (*argv)++; if (*argc < 0) usage(); })
37 #define GET_ARG() ({ argc--; *argv++; })
43 if (argc < _cnt) { \
45 argv[-1], _cnt, argc); \
130 int (*func)(int argc, char **argv);
151 int do_gen(int argc, char **argv);
152 int do_btf(int argc, char **argv);
155 int do_prog(int argc, char **arg) __weak;
156 int do_map(int argc, char **arg) __weak;
[all …]
/openbmc/u-boot/drivers/net/pfe_eth/
H A Dpfe_cmd.c30 if (argc == 7) { in pfe_command_pe()
32 } else if (argc == 6) { in pfe_command_pe()
64 if (argc == 7) { in pfe_command_pe()
66 } else if (argc == 6) { in pfe_command_pe()
92 if (argc != 7) { in pfe_command_pe()
113 if (argc == 6) { in pfe_command_pe()
115 } else if (argc == 5) { in pfe_command_pe()
135 if (argc != 6) { in pfe_command_pe()
342 pfe_pe_status(argc, argv); in pfe_command_status()
377 if (argc == 3) { in pfe_command_expt()
[all …]
/openbmc/linux/tools/power/cpupower/utils/
H A Dbuiltin.h5 extern int cmd_set(int argc, const char **argv);
6 extern int cmd_info(int argc, const char **argv);
7 extern int cmd_freq_set(int argc, const char **argv);
8 extern int cmd_freq_info(int argc, const char **argv);
9 extern int cmd_idle_set(int argc, const char **argv);
10 extern int cmd_idle_info(int argc, const char **argv);
11 extern int cmd_cap_info(int argc, const char **argv);
12 extern int cmd_cap_set(int argc, const char **argv);
13 extern int cmd_monitor(int argc, const char **argv);
/openbmc/u-boot/common/
H A Dcommand.c22 int argc, char * const argv[]) in _do_help() argument
71 for (i = 1; i < argc; ++i) { in _do_help()
153 if (space && argc == 1) in var_complete()
157 if (!space && argc == 2) in var_complete()
169 if (argc < 1 || argv[argc - 1][0] != '$' || in dollar_complete()
196 if (argc == 0) { in complete_subcmdv()
270 int argc = 0; in make_argv() local
273 while (argc < argvsz - 1) { in make_argv()
293 argv[argc] = NULL; in make_argv()
295 return argc; in make_argv()
[all …]
/openbmc/u-boot/include/
H A Dcommand.h40 int (*cmd_rep)(struct cmd_tbl_s *cmd, int flags, int argc,
63 flag, int argc, char * const argv[]);
66 int complete_subcmdv(cmd_tbl_t *cmdtp, int count, int argc,
73 int cmd_always_repeatable(cmd_tbl_t *cmdtp, int flag, int argc,
75 int cmd_never_repeatable(cmd_tbl_t *cmdtp, int flag, int argc,
77 int cmd_discard_repeatable(cmd_tbl_t *cmdtp, int flag, int argc,
146 extern int do_env_set_efi(cmd_tbl_t *cmdtp, int flag, int argc,
247 if (argc < 2 || argc > CONFIG_SYS_MAXARGS) \
252 if (!subcmd || argc - 1 > subcmd->maxargs) \
259 return subcmd->cmd_rep(subcmd, flag, argc - 1, \
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Duoutp.c36 if (argc != sizeof(args->v0) || args->v0.version != 0) in nvkm_uoutp_mthd_dp_mst_vcpi()
51 if (argc != sizeof(args->vn)) in nvkm_uoutp_mthd_dp_retrain()
65 if (argc != sizeof(args->v0) || args->v0.version != 0) in nvkm_uoutp_mthd_dp_aux_pwr()
79 if (argc < sizeof(args->v0) || args->v0.version != 0) in nvkm_uoutp_mthd_hda_eld()
81 argc -= sizeof(args->v0); in nvkm_uoutp_mthd_hda_eld()
85 if (argc > 0x60) in nvkm_uoutp_mthd_hda_eld()
88 if (argc && args->v0.data[0]) { in nvkm_uoutp_mthd_hda_eld()
107 ssize_t size = argc - sizeof(*args); in nvkm_uoutp_mthd_infoframe()
109 if (argc < sizeof(args->v0) || args->v0.version != 0) in nvkm_uoutp_mthd_infoframe()
135 if (argc != sizeof(args->vn)) in nvkm_uoutp_mthd_release()
[all …]
/openbmc/u-boot/include/test/
H A Dsuites.h24 int argc, char * const argv[]);
26 int do_ut_bloblist(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]);
27 int do_ut_compression(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]);
28 int do_ut_dm(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
29 int do_ut_env(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
30 int do_ut_lib(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
31 int do_ut_overlay(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
32 int do_ut_time(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
33 int do_ut_unicode(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);

12345678910>>...67