Lines Matching refs:kp
761 kdbtab_t *kp; in kdb_defcmd() local
765 list_for_each_entry(kp, &kdb_cmds_head, list_node) { in kdb_defcmd()
766 if (kp->func == kdb_exec_defcmd) { in kdb_defcmd()
768 kp->name, kp->usage, kp->help); in kdb_defcmd()
769 kmp = container_of(kp, struct kdb_macro, cmd); in kdb_defcmd()
836 kdbtab_t *kp; in kdb_exec_defcmd() local
843 list_for_each_entry(kp, &kdb_cmds_head, list_node) { in kdb_exec_defcmd()
844 if (strcmp(kp->name, argv[0]) == 0) in kdb_exec_defcmd()
847 if (list_entry_is_head(kp, &kdb_cmds_head, list_node)) { in kdb_exec_defcmd()
852 kmp = container_of(kp, struct kdb_macro, cmd); in kdb_exec_defcmd()
2178 static int kdb_param_enable_nmi(const char *val, const struct kernel_param *kp) in kdb_param_enable_nmi() argument
2637 kdbtab_t *kp; in kdb_register() local
2639 list_for_each_entry(kp, &kdb_cmds_head, list_node) { in kdb_register()
2640 if (strcmp(kp->name, cmd->name) == 0) { in kdb_register()
2658 void kdb_register_table(kdbtab_t *kp, size_t len) in kdb_register_table() argument
2661 list_add_tail(&kp->list_node, &kdb_cmds_head); in kdb_register_table()
2662 kp++; in kdb_register_table()