Lines Matching refs:kp
762 kdbtab_t *kp; in kdb_defcmd() local
766 list_for_each_entry(kp, &kdb_cmds_head, list_node) { in kdb_defcmd()
767 if (kp->func == kdb_exec_defcmd) { in kdb_defcmd()
769 kp->name, kp->usage, kp->help); in kdb_defcmd()
770 kmp = container_of(kp, struct kdb_macro, cmd); in kdb_defcmd()
837 kdbtab_t *kp; in kdb_exec_defcmd() local
844 list_for_each_entry(kp, &kdb_cmds_head, list_node) { in kdb_exec_defcmd()
845 if (strcmp(kp->name, argv[0]) == 0) in kdb_exec_defcmd()
848 if (list_entry_is_head(kp, &kdb_cmds_head, list_node)) { in kdb_exec_defcmd()
853 kmp = container_of(kp, struct kdb_macro, cmd); in kdb_exec_defcmd()
2227 static int kdb_param_enable_nmi(const char *val, const struct kernel_param *kp) in kdb_param_enable_nmi() argument
2686 kdbtab_t *kp; in kdb_register() local
2688 list_for_each_entry(kp, &kdb_cmds_head, list_node) { in kdb_register()
2689 if (strcmp(kp->name, cmd->name) == 0) { in kdb_register()
2707 void kdb_register_table(kdbtab_t *kp, size_t len) in kdb_register_table() argument
2710 list_add_tail(&kp->list_node, &kdb_cmds_head); in kdb_register_table()
2711 kp++; in kdb_register_table()