Lines Matching refs:kdb_buffer
511 static char kdb_buffer[256]; /* A bit too big to go on stack */ variable
512 static char *next_avail = kdb_buffer;
594 next_avail = kdb_buffer; in vkdb_printf()
595 size_avail = sizeof(kdb_buffer); in vkdb_printf()
609 cp = strchr(kdb_buffer, '\n'); in vkdb_printf()
624 if (next_avail == kdb_buffer) { in vkdb_printf()
630 cp2 = kdb_buffer; in vkdb_printf()
644 len = strlen(kdb_buffer); in vkdb_printf()
645 next_avail = kdb_buffer + len; in vkdb_printf()
646 size_avail = sizeof(kdb_buffer) - len; in vkdb_printf()
664 fnd = kdb_search_string(kdb_buffer, kdb_grep_string); in vkdb_printf()
673 strcpy(kdb_buffer, cphold); 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()
695 retlen = strlen(kdb_buffer); in vkdb_printf()
696 cp = (char *) printk_skip_headers(kdb_buffer); in vkdb_printf()
698 gdbstub_msg_write(cp, retlen - (cp - kdb_buffer)); in vkdb_printf()
701 len = retlen - (cp - kdb_buffer); in vkdb_printf()
709 c->write(c, cp, retlen - (cp - kdb_buffer)); in vkdb_printf()
717 if (printk_get_level(kdb_buffer) || src == KDB_MSGSRC_PRINTK) in vkdb_printf()
718 printk("%s", kdb_buffer); in vkdb_printf()
720 pr_info("%s", kdb_buffer); in vkdb_printf()
732 if (kdb_buffer[len] == '\n') { in vkdb_printf()
735 } else if (kdb_buffer[len] == '\r') { in vkdb_printf()
786 kdb_buffer[0] = '\0'; in vkdb_printf()
787 next_avail = kdb_buffer; in vkdb_printf()
788 size_avail = sizeof(kdb_buffer); in vkdb_printf()
836 strcpy(kdb_buffer, cphold); in vkdb_printf()
837 len = strlen(kdb_buffer); in vkdb_printf()
838 next_avail = kdb_buffer + len; in vkdb_printf()
839 size_avail = sizeof(kdb_buffer) - len; in vkdb_printf()