Searched refs:cmdnames (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/lib/subcmd/ |
| H A D | help.h | 8 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 D | help.c | 17 void add_cmdname(struct cmdnames *cmds, const char *name, size_t len) in add_cmdname() 31 void clean_cmdnames(struct cmdnames *cmds) in clean_cmdnames() 49 void uniq(struct cmdnames *cmds) in uniq() 73 void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes) in exclude_cmds() 133 static void pretty_print_string_list(struct cmdnames *cmds, int longest) in pretty_print_string_list() 184 static void list_commands_in_dir(struct cmdnames *cmds, in list_commands_in_dir() 222 struct cmdnames *main_cmds, in load_command_list() 223 struct cmdnames *other_cmds) in load_command_list() 258 void list_commands(const char *title, struct cmdnames *main_cmds, in list_commands() 259 struct cmdnames *other_cmds) in list_commands() [all …]
|
| /linux/tools/perf/tests/ |
| H A D | subcmd-help.c | 9 struct cmdnames cmds = {}; in test__load_cmdnames() 26 struct cmdnames cmds = {}; in test__uniq_cmdnames() 49 struct cmdnames cmds1 = {}; in test__exclude_cmdnames() 50 struct cmdnames cmds2 = {}; in test__exclude_cmdnames()
|
| /linux/tools/perf/util/ |
| H A D | help-unknown-cmd.c | 32 static int add_cmd_list(struct cmdnames *cmds, struct cmdnames *old) in add_cmd_list() 55 const char *help_unknown_cmd(const char *cmd, struct cmdnames *main_cmds) in help_unknown_cmd() 58 struct cmdnames other_cmds; in help_unknown_cmd()
|
| /linux/tools/perf/ |
| H A D | builtin.h | 16 struct cmdnames; 19 const char *help_unknown_cmd(const char *cmd, struct cmdnames *main_cmds);
|
| H A D | perf.c | 559 struct cmdnames main_cmds = {}; in main()
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_main.c | 3575 static const char *cmdnames[] = { in cmdname() local 3639 if (cmd >= ARRAY_SIZE(cmdnames)) in cmdname() 3641 return cmdnames[cmd]; in cmdname()
|