db_command
static struct db_command db_show_all_cmds[] = {
static struct db_command db_show_cmds[] = {
static struct db_command db_cmds[] = {
static struct db_command *db_last_command = NULL;
static void db_cmd_match(char *name, struct db_command *cmd,
struct db_command **cmdp, int *resultp);
struct db_command **cmdp);
static void db_command(struct db_command **last_cmdp,
db_command_register(struct db_command_table *list, struct db_command *cmd)
struct db_command *c, *last;
db_command_unregister(struct db_command_table *list, struct db_command *cmd)
struct db_command *c;
db_cmd_match(char *name, struct db_command *cmd, struct db_command **cmdp,
struct db_command **cmdp)
struct db_command *cmd;
struct db_command *cmd;
db_command(struct db_command **last_cmdp, struct db_command_table *cmd_table,
struct db_command *cmd = NULL;
db_command(&db_last_command, &db_cmd_table, /* dopager */ true);
db_command(&db_last_command, &db_cmd_table, /* dopager */ false);
static struct db_command db_show_active_cmds[] = {
LIST_ENTRY(db_command) next; /* next entry in the command table */
static struct db_command db_##_table##_##_name##_cmd = { \
struct db_command *);
struct db_command *);
struct db_command;
LIST_HEAD(db_command_table, db_command);
struct db_command *cmd);
int mac_ddb_command_exec(struct db_command *cmd, db_expr_t addr,
mac_ddb_command_register(struct db_command_table *table, struct db_command *cmd)
mac_ddb_command_exec(struct db_command *cmd, db_expr_t addr,
struct db_command *cmd);
typedef int (*mpo_ddb_command_exec_t)(struct db_command *cmd,
struct db_command;
command_match(struct db_command *cmd, struct cmd_list_item item)
struct db_command *cmd, *prev;
struct db_command *cmd)
mac_ddb_command_exec(struct db_command *cmd, db_expr_t addr,
stub_ddb_command_exec(struct db_command *cmd, db_expr_t addr, bool have_addr,
struct db_command *cmd)
test_ddb_command_exec(struct db_command *cmd, db_expr_t addr, bool have_addr,
struct db_command *cmd)