Home
last modified time | relevance | path

Searched refs:defcmd_set (Results 1 – 1 of 1) sorted by relevance

/kernel/debug/kdb/
Dkdb_main.c719 struct defcmd_set { struct
727 static struct defcmd_set *defcmd_set; argument
736 struct defcmd_set *s = defcmd_set + defcmd_set_count - 1; in kdb_defcmd2()
769 struct defcmd_set *save_defcmd_set = defcmd_set, *s; in kdb_defcmd()
777 for (s = defcmd_set; s < defcmd_set + defcmd_set_count; ++s) { in kdb_defcmd()
792 defcmd_set = kmalloc_array(defcmd_set_count + 1, sizeof(*defcmd_set), in kdb_defcmd()
794 if (!defcmd_set) in kdb_defcmd()
796 memcpy(defcmd_set, save_defcmd_set, in kdb_defcmd()
797 defcmd_set_count * sizeof(*defcmd_set)); in kdb_defcmd()
798 s = defcmd_set + defcmd_set_count; in kdb_defcmd()
[all …]