Home
last modified time | relevance | path

Searched refs:cmdnames (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/tools/lib/subcmd/
H A Dhelp.h8 struct cmdnames { struct
24 struct cmdnames *main_cmds, argument
25 struct cmdnames *other_cmds);
26 void add_cmdname(struct cmdnames *cmds, const char *name, size_t len);
27 void clean_cmdnames(struct cmdnames *cmds);
29 void uniq(struct cmdnames *cmds);
31 void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes);
32 int is_in_cmdlist(struct cmdnames *c, const char *s);
33 void list_commands(const char *title, struct cmdnames *main_cmds,
34 struct cmdnames *other_cmds);
H A Dhelp.c16 void add_cmdname(struct cmdnames *cmds, const char *name, size_t len) in add_cmdname()
30 void clean_cmdnames(struct cmdnames *cmds) in clean_cmdnames()
48 void uniq(struct cmdnames *cmds) in uniq()
72 void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes) in exclude_cmds()
128 static void pretty_print_string_list(struct cmdnames *cmds, int longest) in pretty_print_string_list()
179 static void list_commands_in_dir(struct cmdnames *cmds, in list_commands_in_dir()
217 struct cmdnames *main_cmds, in load_command_list()
218 struct cmdnames *other_cmds) in load_command_list()
253 void list_commands(const char *title, struct cmdnames *main_cmds, in list_commands()
254 struct cmdnames *other_cmds) in list_commands()
[all …]
/openbmc/linux/tools/perf/util/
H A Dhelp-unknown-cmd.c32 static int add_cmd_list(struct cmdnames *cmds, struct cmdnames *old) in add_cmd_list()
58 struct cmdnames main_cmds, other_cmds; in help_unknown_cmd()
/openbmc/linux/tools/perf/
H A Dbuiltin-help.c300 static struct cmdnames main_cmds, other_cmds;
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_main.c3606 static const char *cmdnames[] = { in cmdname() local
3670 if (cmd >= ARRAY_SIZE(cmdnames)) in cmdname()
3672 return cmdnames[cmd]; in cmdname()