Lines Matching refs:db_command
95 static struct db_command db_show_active_cmds[] = {
101 static struct db_command db_show_all_cmds[] = {
107 static struct db_command db_show_cmds[] = {
116 static struct db_command db_cmds[] = {
177 static struct db_command *db_last_command = NULL;
208 static void db_cmd_match(char *name, struct db_command *cmd,
209 struct db_command **cmdp, int *resultp);
212 struct db_command **cmdp);
213 static void db_command(struct db_command **last_cmdp,
239 db_command_register(struct db_command_table *list, struct db_command *cmd) in db_command_register()
241 struct db_command *c, *last; in db_command_register()
277 db_command_unregister(struct db_command_table *list, struct db_command *cmd) in db_command_unregister()
279 struct db_command *c; in db_command_unregister()
294 db_cmd_match(char *name, struct db_command *cmd, struct db_command **cmdp, in db_cmd_match()
331 struct db_command **cmdp) in db_cmd_search()
333 struct db_command *cmd; in db_cmd_search()
354 struct db_command *cmd; in db_cmd_list()
378 db_command(struct db_command **last_cmdp, struct db_command_table *cmd_table, in db_command() function
382 struct db_command *cmd = NULL; in db_command()
555 db_command(&db_last_command, &db_cmd_table, /* dopager */ true); in db_command_loop()
573 db_command(&db_last_command, &db_cmd_table, /* dopager */ false); in db_command_script()