Lines Matching refs:defcmd_set
659 struct defcmd_set { struct
667 static struct defcmd_set *defcmd_set; argument
676 struct defcmd_set *s = defcmd_set + defcmd_set_count - 1; in kdb_defcmd2()
709 struct defcmd_set *save_defcmd_set = defcmd_set, *s; in kdb_defcmd()
717 for (s = defcmd_set; s < defcmd_set + defcmd_set_count; ++s) { in kdb_defcmd()
732 defcmd_set = kmalloc_array(defcmd_set_count + 1, sizeof(*defcmd_set), in kdb_defcmd()
734 if (!defcmd_set) in kdb_defcmd()
736 memcpy(defcmd_set, save_defcmd_set, in kdb_defcmd()
737 defcmd_set_count * sizeof(*defcmd_set)); in kdb_defcmd()
738 s = defcmd_set + defcmd_set_count; in kdb_defcmd()
767 kfree(defcmd_set); in kdb_defcmd()
770 defcmd_set = save_defcmd_set; in kdb_defcmd()
786 struct defcmd_set *s; in kdb_exec_defcmd()
789 for (s = defcmd_set, i = 0; i < defcmd_set_count; ++i, ++s) { in kdb_exec_defcmd()