Lines Matching refs:kdb_buffer

520 static char kdb_buffer[256];	/* A bit too big to go on stack */  variable
521 static char *next_avail = kdb_buffer;
656 next_avail = kdb_buffer; in vkdb_printf()
657 size_avail = sizeof(kdb_buffer); in vkdb_printf()
671 cp = strchr(kdb_buffer, '\n'); in vkdb_printf()
686 if (next_avail == kdb_buffer) { in vkdb_printf()
692 cp2 = kdb_buffer; in vkdb_printf()
706 len = strlen(kdb_buffer); in vkdb_printf()
707 next_avail = kdb_buffer + len; in vkdb_printf()
708 size_avail = sizeof(kdb_buffer) - len; in vkdb_printf()
726 fnd = kdb_search_string(kdb_buffer, kdb_grep_string); in vkdb_printf()
735 strcpy(kdb_buffer, cphold); in vkdb_printf()
736 len = strlen(kdb_buffer); in vkdb_printf()
737 next_avail = kdb_buffer + len; in vkdb_printf()
738 size_avail = sizeof(kdb_buffer) - len; in vkdb_printf()
761 retlen = strlen(kdb_buffer); in vkdb_printf()
762 cp = (char *) printk_skip_headers(kdb_buffer); in vkdb_printf()
764 gdbstub_msg_write(cp, retlen - (cp - kdb_buffer)); in vkdb_printf()
766 kdb_msg_write(cp, retlen - (cp - kdb_buffer)); in vkdb_printf()
771 if (printk_get_level(kdb_buffer) || src == KDB_MSGSRC_PRINTK) in vkdb_printf()
772 printk("%s", kdb_buffer); in vkdb_printf()
774 pr_info("%s", kdb_buffer); in vkdb_printf()
786 if (kdb_buffer[len] == '\n') { in vkdb_printf()
789 } else if (kdb_buffer[len] == '\r') { in vkdb_printf()
825 kdb_buffer[0] = '\0'; in vkdb_printf()
826 next_avail = kdb_buffer; in vkdb_printf()
827 size_avail = sizeof(kdb_buffer); in vkdb_printf()
875 strcpy(kdb_buffer, cphold); in vkdb_printf()
876 len = strlen(kdb_buffer); in vkdb_printf()
877 next_avail = kdb_buffer + len; in vkdb_printf()
878 size_avail = sizeof(kdb_buffer) - len; in vkdb_printf()