Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/debug/kdb/
Dkdb_main.c90 static int kdb_max_commands = KDB_BASE_CMD_MAX; variable
94 num < kdb_max_commands; \
1040 if (i == kdb_max_commands) { in kdb_parse()
1052 if (i < kdb_max_commands) { in kdb_parse()
2692 if (i >= kdb_max_commands) { in kdb_register_flags()
2693 kdbtab_t *new = kmalloc_array(kdb_max_commands - in kdb_register_flags()
2705 (kdb_max_commands - KDB_BASE_CMD_MAX) * sizeof(*new)); in kdb_register_flags()
2708 memset(new + kdb_max_commands - KDB_BASE_CMD_MAX, 0, in kdb_register_flags()
2711 kp = kdb_commands + kdb_max_commands - KDB_BASE_CMD_MAX; in kdb_register_flags()
2712 kdb_max_commands += kdb_command_extend; in kdb_register_flags()