Lines Matching refs:kdb_buffer
503 static char kdb_buffer[256]; /* A bit too big to go on stack */ variable
504 static char *next_avail = kdb_buffer;
623 next_avail = kdb_buffer; in vkdb_printf()
624 size_avail = sizeof(kdb_buffer); in vkdb_printf()
638 cp = strchr(kdb_buffer, '\n'); in vkdb_printf()
653 if (next_avail == kdb_buffer) { in vkdb_printf()
659 cp2 = kdb_buffer; in vkdb_printf()
673 len = strlen(kdb_buffer); in vkdb_printf()
674 next_avail = kdb_buffer + len; in vkdb_printf()
675 size_avail = sizeof(kdb_buffer) - len; in vkdb_printf()
693 fnd = kdb_search_string(kdb_buffer, kdb_grep_string); in vkdb_printf()
702 strcpy(kdb_buffer, cphold); in vkdb_printf()
703 len = strlen(kdb_buffer); in vkdb_printf()
704 next_avail = kdb_buffer + len; in vkdb_printf()
705 size_avail = sizeof(kdb_buffer) - len; in vkdb_printf()
728 retlen = strlen(kdb_buffer); in vkdb_printf()
729 cp = (char *) printk_skip_headers(kdb_buffer); in vkdb_printf()
731 gdbstub_msg_write(cp, retlen - (cp - kdb_buffer)); in vkdb_printf()
733 kdb_msg_write(cp, retlen - (cp - kdb_buffer)); in vkdb_printf()
738 if (printk_get_level(kdb_buffer) || src == KDB_MSGSRC_PRINTK) in vkdb_printf()
739 printk("%s", kdb_buffer); in vkdb_printf()
741 pr_info("%s", kdb_buffer); in vkdb_printf()
753 if (kdb_buffer[len] == '\n') { in vkdb_printf()
756 } else if (kdb_buffer[len] == '\r') { in vkdb_printf()
792 kdb_buffer[0] = '\0'; in vkdb_printf()
793 next_avail = kdb_buffer; in vkdb_printf()
794 size_avail = sizeof(kdb_buffer); in vkdb_printf()
842 strcpy(kdb_buffer, cphold); in vkdb_printf()
843 len = strlen(kdb_buffer); in vkdb_printf()
844 next_avail = kdb_buffer + len; in vkdb_printf()
845 size_avail = sizeof(kdb_buffer) - len; in vkdb_printf()