Lines Matching refs:cont
576 char cont = '-'; in devkmsg_read() local
624 cont = 'c'; in devkmsg_read()
627 cont = '+'; in devkmsg_read()
631 user->seq, ts_usec, cont); in devkmsg_read()
1512 static struct cont { struct
1522 } cont; argument
1526 if (cont.flushed) in cont_flush()
1528 if (cont.len == 0) in cont_flush()
1531 if (cont.cons) { in cont_flush()
1537 log_store(cont.facility, cont.level, flags | LOG_NOCONS, in cont_flush()
1538 cont.ts_nsec, NULL, 0, cont.buf, cont.len); in cont_flush()
1539 cont.flags = flags; in cont_flush()
1540 cont.flushed = true; in cont_flush()
1546 log_store(cont.facility, cont.level, flags, 0, in cont_flush()
1547 NULL, 0, cont.buf, cont.len); in cont_flush()
1548 cont.len = 0; in cont_flush()
1554 if (cont.len && cont.flushed) in cont_add()
1557 if (cont.len + len > sizeof(cont.buf)) { in cont_add()
1563 if (!cont.len) { in cont_add()
1564 cont.facility = facility; in cont_add()
1565 cont.level = level; in cont_add()
1566 cont.owner = current; in cont_add()
1567 cont.ts_nsec = local_clock(); in cont_add()
1568 cont.flags = 0; in cont_add()
1569 cont.cons = 0; in cont_add()
1570 cont.flushed = false; in cont_add()
1573 memcpy(cont.buf + cont.len, text, len); in cont_add()
1574 cont.len += len; in cont_add()
1576 if (cont.len > (sizeof(cont.buf) * 80) / 100) in cont_add()
1587 if (cont.cons == 0 && (console_prev & LOG_NEWLINE)) { in cont_print_text()
1588 textlen += print_time(cont.ts_nsec, text); in cont_print_text()
1592 len = cont.len - cont.cons; in cont_print_text()
1596 memcpy(text + textlen, cont.buf + cont.cons, len); in cont_print_text()
1598 cont.cons = cont.len; in cont_print_text()
1601 if (cont.flushed) { in cont_print_text()
1602 if (cont.flags & LOG_NEWLINE) in cont_print_text()
1605 cont.len = 0; in cont_print_text()
1719 if (cont.len && (lflags & LOG_PREFIX || cont.owner != current)) in vprintk_emit()
1740 if (cont.len) { in vprintk_emit()
1741 if (cont.owner == current && !(lflags & LOG_PREFIX)) in vprintk_emit()
1887 static struct cont { struct
1892 } cont; variable
2134 if (!cont.len) in console_cont_flush()
2142 if (console_seq < log_next_seq && !cont.cons) in console_cont_flush()
2148 call_console_drivers(cont.level, text, len); in console_cont_flush()