Lines Matching refs:db_command
96 static struct db_command db_show_active_cmds[] = {
102 static struct db_command db_show_all_cmds[] = {
108 static struct db_command db_show_cmds[] = {
117 static struct db_command db_cmds[] = {
173 static struct db_command *db_last_command = NULL;
204 static void db_cmd_match(char *name, struct db_command *cmd,
205 struct db_command **cmdp, int *resultp);
208 struct db_command **cmdp);
209 static void db_command(struct db_command **last_cmdp,
235 db_command_register(struct db_command_table *list, struct db_command *cmd) in db_command_register()
237 struct db_command *c, *last; in db_command_register()
273 db_command_unregister(struct db_command_table *list, struct db_command *cmd) in db_command_unregister()
275 struct db_command *c; in db_command_unregister()
290 db_cmd_match(char *name, struct db_command *cmd, struct db_command **cmdp, in db_cmd_match()
327 struct db_command **cmdp) in db_cmd_search()
329 struct db_command *cmd; in db_cmd_search()
350 struct db_command *cmd; in db_cmd_list()
374 db_command(struct db_command **last_cmdp, struct db_command_table *cmd_table, in db_command() function
378 struct db_command *cmd = NULL; in db_command()
551 db_command(&db_last_command, &db_cmd_table, /* dopager */ true); in db_command_loop()
569 db_command(&db_last_command, &db_cmd_table, /* dopager */ false); in db_command_script()