Symbol: cmdnames
drivers/block/drbd/drbd_main.c
3576
static const char *cmdnames[] = {
drivers/block/drbd/drbd_main.c
3640
if (cmd >= ARRAY_SIZE(cmdnames))
drivers/block/drbd/drbd_main.c
3642
return cmdnames[cmd];
tools/lib/subcmd/help.c
135
static void pretty_print_string_list(struct cmdnames *cmds, int longest)
tools/lib/subcmd/help.c
17
void add_cmdname(struct cmdnames *cmds, const char *name, size_t len)
tools/lib/subcmd/help.c
186
static void list_commands_in_dir(struct cmdnames *cmds,
tools/lib/subcmd/help.c
224
struct cmdnames *main_cmds,
tools/lib/subcmd/help.c
225
struct cmdnames *other_cmds)
tools/lib/subcmd/help.c
260
void list_commands(const char *title, struct cmdnames *main_cmds,
tools/lib/subcmd/help.c
261
struct cmdnames *other_cmds)
tools/lib/subcmd/help.c
293
int is_in_cmdlist(struct cmdnames *c, const char *s)
tools/lib/subcmd/help.c
31
void clean_cmdnames(struct cmdnames *cmds)
tools/lib/subcmd/help.c
49
void uniq(struct cmdnames *cmds)
tools/lib/subcmd/help.c
73
void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes)
tools/lib/subcmd/help.h
24
struct cmdnames *main_cmds,
tools/lib/subcmd/help.h
25
struct cmdnames *other_cmds);
tools/lib/subcmd/help.h
26
void add_cmdname(struct cmdnames *cmds, const char *name, size_t len);
tools/lib/subcmd/help.h
27
void clean_cmdnames(struct cmdnames *cmds);
tools/lib/subcmd/help.h
29
void uniq(struct cmdnames *cmds);
tools/lib/subcmd/help.h
31
void exclude_cmds(struct cmdnames *cmds, struct cmdnames *excludes);
tools/lib/subcmd/help.h
32
int is_in_cmdlist(struct cmdnames *c, const char *s);
tools/lib/subcmd/help.h
33
void list_commands(const char *title, struct cmdnames *main_cmds,
tools/lib/subcmd/help.h
34
struct cmdnames *other_cmds);
tools/perf/builtin-help.c
299
static struct cmdnames main_cmds, other_cmds;
tools/perf/builtin.h
16
struct cmdnames;
tools/perf/builtin.h
19
const char *help_unknown_cmd(const char *cmd, struct cmdnames *main_cmds);
tools/perf/perf.c
555
struct cmdnames main_cmds = {};
tools/perf/tests/subcmd-help.c
101
struct cmdnames cmds1 = {};
tools/perf/tests/subcmd-help.c
102
struct cmdnames cmds2 = {};
tools/perf/tests/subcmd-help.c
26
struct cmdnames cmds = {};
tools/perf/tests/subcmd-help.c
49
struct cmdnames cmds1 = {};
tools/perf/tests/subcmd-help.c
50
struct cmdnames cmds2 = {};
tools/perf/tests/subcmd-help.c
9
struct cmdnames cmds = {};
tools/perf/util/help-unknown-cmd.c
32
static int add_cmd_list(struct cmdnames *cmds, struct cmdnames *old)
tools/perf/util/help-unknown-cmd.c
55
const char *help_unknown_cmd(const char *cmd, struct cmdnames *main_cmds)
tools/perf/util/help-unknown-cmd.c
58
struct cmdnames other_cmds;