Lines Matching defs:db_command
1 /* $NetBSD: db_command.c,v 1.190 2023/11/02 10:31:55 martin Exp $ */
64 __KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.190 2023/11/02 10:31:55 martin Exp $");
143 static const struct db_command db_command_table[];
144 static const struct db_command db_show_cmds[];
148 extern const struct db_command db_machine_command_table[];
156 const struct db_command *db_cmd; /* cmd table */
192 const struct db_command **);
193 static int db_cmd_search_table(const char *, const struct db_command *,
194 const struct db_command **);
196 static const struct db_command *db_read_command(void);
197 static void db_command(const struct db_command **);
236 static const struct db_command db_show_cmds[] = {
348 static const struct db_command db_command_table[] = {
441 static const struct db_command *db_last_command = NULL;
457 const struct db_command *dummy = NULL;
466 db_command(&dummy);
496 * *cmd_tbl pointer to static allocated db_command table
498 * Command table must be NULL terminated array of struct db_command
501 db_register_tbl(uint8_t type, const struct db_command *cmd_tbl)
550 db_unregister_tbl(uint8_t type,const struct db_command *cmd_tbl)
629 db_command(&db_last_command);
640 const struct db_command *table,
641 const struct db_command **cmdp)
644 const struct db_command *cmd;
690 const struct db_command **cmdp)
693 const struct db_command *found_command;
702 const struct db_command *cmd;
762 const struct db_command *table;
816 static const struct db_command *
819 const struct db_command *command;
858 db_command(const struct db_command **last_cmdp)
863 const struct db_command *command;
998 const struct db_command *command;