Lines Matching refs:cmd
709 kdbtab_t cmd; /* Macro command */ member
734 kdb_register(&kdb_macro->cmd); in kdb_defcmd2()
769 kmp = container_of(kp, struct kdb_macro, cmd); in kdb_defcmd()
788 mp = &kdb_macro->cmd; in kdb_defcmd()
852 kmp = container_of(kp, struct kdb_macro, cmd); in kdb_exec_defcmd()
858 kdb_printf("[%s]kdb> %s\n", kmp->cmd.name, kms->statement); in kdb_exec_defcmd()
1137 static int handle_ctrl_cmd(char *cmd) in handle_ctrl_cmd() argument
1145 switch (*cmd) { in handle_ctrl_cmd()
2635 int kdb_register(kdbtab_t *cmd) in kdb_register() argument
2640 if (strcmp(kp->name, cmd->name) == 0) { in kdb_register()
2642 cmd->name, cmd->func, cmd->help); in kdb_register()
2647 list_add_tail(&cmd->list_node, &kdb_cmds_head); in kdb_register()
2672 void kdb_unregister(kdbtab_t *cmd) in kdb_unregister() argument
2674 list_del(&cmd->list_node); in kdb_unregister()