Lines Matching refs:cont

536 	char cont = '-';  in msg_print_ext_header()  local
549 cont = 'c'; in msg_print_ext_header()
552 cont = '+'; in msg_print_ext_header()
555 (msg->facility << 3) | msg->level, seq, ts_usec, cont); in msg_print_ext_header()
1557 static struct cont { struct
1567 } cont; argument
1571 if (cont.flushed) in cont_flush()
1573 if (cont.len == 0) in cont_flush()
1576 if (cont.cons) { in cont_flush()
1582 log_store(cont.facility, cont.level, flags | LOG_NOCONS, in cont_flush()
1583 cont.ts_nsec, NULL, 0, cont.buf, cont.len); in cont_flush()
1584 cont.flags = flags; in cont_flush()
1585 cont.flushed = true; in cont_flush()
1591 log_store(cont.facility, cont.level, flags, 0, in cont_flush()
1592 NULL, 0, cont.buf, cont.len); in cont_flush()
1593 cont.len = 0; in cont_flush()
1599 if (cont.len && cont.flushed) in cont_add()
1607 if (nr_ext_console_drivers || cont.len + len > sizeof(cont.buf)) { in cont_add()
1612 if (!cont.len) { in cont_add()
1613 cont.facility = facility; in cont_add()
1614 cont.level = level; in cont_add()
1615 cont.owner = current; in cont_add()
1616 cont.ts_nsec = local_clock(); in cont_add()
1617 cont.flags = 0; in cont_add()
1618 cont.cons = 0; in cont_add()
1619 cont.flushed = false; in cont_add()
1622 memcpy(cont.buf + cont.len, text, len); in cont_add()
1623 cont.len += len; in cont_add()
1625 if (cont.len > (sizeof(cont.buf) * 80) / 100) in cont_add()
1636 if (cont.cons == 0 && (console_prev & LOG_NEWLINE)) { in cont_print_text()
1637 textlen += print_time(cont.ts_nsec, text); in cont_print_text()
1641 len = cont.len - cont.cons; in cont_print_text()
1645 memcpy(text + textlen, cont.buf + cont.cons, len); in cont_print_text()
1647 cont.cons = cont.len; in cont_print_text()
1650 if (cont.flushed) { in cont_print_text()
1651 if (cont.flags & LOG_NEWLINE) in cont_print_text()
1654 cont.len = 0; in cont_print_text()
1768 if (cont.len && (lflags & LOG_PREFIX || cont.owner != current)) in vprintk_emit()
1789 if (cont.len) { in vprintk_emit()
1790 if (cont.owner == current && !(lflags & LOG_PREFIX)) in vprintk_emit()
1936 static struct cont { struct
1941 } cont; variable
2193 if (!cont.len) in console_cont_flush()
2201 if (console_seq < log_next_seq && !cont.cons) in console_cont_flush()
2207 call_console_drivers(cont.level, NULL, 0, text, len); in console_cont_flush()