Lines Matching refs:kdb

34 #include <linux/kdb.h>
51 #define MODULE_PARAM_PREFIX "kdb."
71 int kdb_initial_cpu = -1; /* cpu number that owns kdb */
91 int km_diag; /* kdb diagnostic */
144 "PROMPT=[%d]kdb> ",
146 "PROMPT=kdb> ",
221 * Check whether the flags of the current command, the permissions of the kdb
308 * Zero on success, a kdb diagnostic on failure.
333 * Zero on success, a kdb diagnostic on failure.
351 * Return: Zero on success, a kdb diagnostic on failure.
411 * Zero on success, a kdb diagnostic on failure.
490 kdb_printf("kdb: illegal debug flags '%s'\n",
510 kdb_printf("No current kdb registers."
539 * zero is returned on success, a kdb diagnostic code is
705 * zero for success, a kdb diagnostic if error
739 kdb_printf("Could not allocate new kdb macro command: %s\n",
755 kdb_printf("kdb: nested defcmd detected, assuming missing "
830 * zero for success, a kdb diagnostic if error
857 kdb_printf("[%s]kdb> %s\n", kmp->cmd.name, kms->statement);
947 * regs The registers at the time kdb was entered.
949 * Zero for success, a kdb diagnostic if failure.
1207 * kdb_local - The main code for kdb. This routine is invoked on a
1208 * specific processor, it is not global. The main kdb() routine
1211 * entry to a kdb session, thereafter it is called with reason
1241 kdb_printf("\nEntering kdb (current=0x%px, pid %d) ",
1252 * If re-entering kdb after a single step
1257 kdb_printf("\nEntering kdb (0x%px, pid %d) ",
1271 kdb_printf("kdb: Bad result from kdba_db_trap: %d\n",
1317 kdb_printf("kdb: error return from kdba_bp_trap: %d\n",
1328 kdb_printf("kdb: unexpected reason code: %d\n", reason);
1382 kdb_printf("Unknown kdb command: '%s'\n", cmdbuf);
1416 * control and will issue the kdb prompt, the others will spin
1420 * processes, this routine is invoked from the main kdb code via
1424 * process and a running process as far as kdb is concerned.
1428 * reason2 kdb's current reason code.
1430 * according to kdb state.
1442 /* Stay in kdb() until 'go', 'ss[b]' or an error */
1462 /* Still using kdb, this processor is in control */
2194 * KDB_CMD_CPU for success, a kdb diagnostic if error
2209 state = ' '; /* cpu is responding to kdb */
2477 * I cannot call that code directly from kdb, it has an unconditional
2629 * @cmd: pointer to kdb command
2640 kdb_printf("Duplicate kdb cmd: %s, func %p help %s\n",
2652 * kdb_register_table() - This function is used to register a kdb command
2654 * @kp: pointer to kdb command table
2655 * @len: length of kdb command table
2668 * implements kdb command is unloaded.
2669 * @cmd: pointer to kdb command
2892 /* Initialize the kdb command table. */
2907 kdb_printf("kdb command %s failed, kdb diag %d\n",
2916 /* Initialize kdb_printf, breakpoint tables and kdb state */