Home
last modified time | relevance | path

Searched refs:command_table (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/sys/ddb/
H A Dddb.h98 LIST_HEAD(command_table, command);
99 extern struct command_table db_cmd_table;
100 extern struct command_table db_show_table;
101 extern struct command_table db_show_all_table;
120 struct command_table *more; /* another level of command */
227 void db_command_register(struct command_table *, struct command *);
228 void db_command_unregister(struct command_table *, struct command *);
H A Ddb_command.c89 struct command_table db_show_active_table =
95 struct command_table db_show_all_table =
105 struct command_table db_show_table = LIST_HEAD_INITIALIZER(db_show_table);
158 struct command_table db_cmd_table = LIST_HEAD_INITIALIZER(db_cmd_table);
192 static void db_cmd_list(struct command_table *table);
193 static int db_cmd_search(char *name, struct command_table *table,
196 struct command_table *cmd_table, int dopager);
223 db_command_register(struct command_table *list, struct command *cmd) in db_command_register()
254 db_command_unregister(struct command_table *list, struct command *cmd) in db_command_unregister()
328 db_cmd_list(struct command_table *table) in db_cmd_list()
[all …]
/freebsd-13.1/contrib/kyua/cli/
H A Dcmd_help.cpp184 const text::table command_table = options_help(command->options()); in subcommand_help() local
187 std::max(general_table.column_width(0), command_table.column_width(0)); in subcommand_help()
199 if (!command_table.empty()) { in subcommand_help()
202 ui->out_table(command_table, formatter, " "); in subcommand_help()
/freebsd-13.1/sys/contrib/openzfs/cmd/zfs/
H A Dzfs_main.c204 static zfs_command_t command_table[] = { variable
259 #define NCOMMAND (sizeof (command_table) / sizeof (command_table[0]))
516 if (command_table[i].name == NULL) in usage()
520 get_usage(command_table[i].usage)); in usage()
7652 if (command_table[i].name == NULL) in find_command_idx()
7655 if (strcmp(command, command_table[i].name) == 0) { in find_command_idx()
8707 current_command = &command_table[i]; in main()
8708 ret = command_table[i].func(argc - 1, newargv + 1); in main()
8711 current_command = &command_table[i]; in main()
8712 ret = command_table[i].func(argc, newargv); in main()
/freebsd-13.1/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_main.c281 static zpool_command_t command_table[] = { variable
328 #define NCOMMAND (ARRAY_SIZE(command_table))
506 if (command_table[i].name == NULL) in usage()
510 get_usage(command_table[i].usage)); in usage()
10624 if (command_table[i].name == NULL) in find_command_idx()
10627 if (strcmp(command, command_table[i].name) == 0) { in find_command_idx()
10736 current_command = &command_table[i]; in main()
10737 ret = command_table[i].func(argc - 1, newargv + 1); in main()
10740 current_command = &command_table[i]; in main()
10741 ret = command_table[i].func(argc, newargv); in main()
/freebsd-13.1/sys/dev/cxgbe/
H A Dt4_main.c12932 static struct command_table db_t4_table = LIST_HEAD_INITIALIZER(db_t4_table);