Lines Matching refs:kdb_buffer
504 static char kdb_buffer[256]; /* A bit too big to go on stack */ variable
505 static char *next_avail = kdb_buffer;
624 next_avail = kdb_buffer; in vkdb_printf()
625 size_avail = sizeof(kdb_buffer); in vkdb_printf()
639 cp = strchr(kdb_buffer, '\n'); in vkdb_printf()
654 if (next_avail == kdb_buffer) { in vkdb_printf()
660 cp2 = kdb_buffer; in vkdb_printf()
674 len = strlen(kdb_buffer); in vkdb_printf()
675 next_avail = kdb_buffer + len; in vkdb_printf()
676 size_avail = sizeof(kdb_buffer) - len; in vkdb_printf()
694 fnd = kdb_search_string(kdb_buffer, kdb_grep_string); in vkdb_printf()
703 strcpy(kdb_buffer, cphold); in vkdb_printf()
704 len = strlen(kdb_buffer); in vkdb_printf()
705 next_avail = kdb_buffer + len; in vkdb_printf()
706 size_avail = sizeof(kdb_buffer) - len; in vkdb_printf()
729 retlen = strlen(kdb_buffer); in vkdb_printf()
730 cp = (char *) printk_skip_headers(kdb_buffer); in vkdb_printf()
732 gdbstub_msg_write(cp, retlen - (cp - kdb_buffer)); in vkdb_printf()
734 kdb_msg_write(cp, retlen - (cp - kdb_buffer)); in vkdb_printf()
739 if (printk_get_level(kdb_buffer) || src == KDB_MSGSRC_PRINTK) in vkdb_printf()
740 printk("%s", kdb_buffer); in vkdb_printf()
742 pr_info("%s", kdb_buffer); in vkdb_printf()
754 if (kdb_buffer[len] == '\n') { in vkdb_printf()
757 } else if (kdb_buffer[len] == '\r') { in vkdb_printf()
793 kdb_buffer[0] = '\0'; in vkdb_printf()
794 next_avail = kdb_buffer; in vkdb_printf()
795 size_avail = sizeof(kdb_buffer); in vkdb_printf()
843 strcpy(kdb_buffer, cphold); in vkdb_printf()
844 len = strlen(kdb_buffer); in vkdb_printf()
845 next_avail = kdb_buffer + len; in vkdb_printf()
846 size_avail = sizeof(kdb_buffer) - len; in vkdb_printf()