Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/lib/subcmd/
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);
Dhelp.c16 void add_cmdname(struct cmdnames *cmds, const char *name, size_t len) in add_cmdname()
28 void clean_cmdnames(struct cmdnames *cmds) in clean_cmdnames()
46 void uniq(struct cmdnames *cmds) in uniq()
60 void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes) in exclude_cmds()
106 static void pretty_print_string_list(struct cmdnames *cmds, int longest) in pretty_print_string_list()
157 static void list_commands_in_dir(struct cmdnames *cmds, in list_commands_in_dir()
195 struct cmdnames *main_cmds, in load_command_list()
196 struct cmdnames *other_cmds) in load_command_list()
231 void list_commands(const char *title, struct cmdnames *main_cmds, in list_commands()
232 struct cmdnames *other_cmds) in list_commands()
[all …]
/kernel/linux/linux-5.10/tools/perf/util/
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()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-help.c298 static struct cmdnames main_cmds, other_cmds;
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_main.c3631 static const char *cmdnames[] = { in cmdname() local
3696 if (cmd >= ARRAY_SIZE(cmdnames)) in cmdname()
3698 return cmdnames[cmd]; in cmdname()