Searched refs:text_len (Results 1 – 3 of 3) sorted by relevance
/kernel/printk/ |
D | printk.c | 487 static void truncate_msg(u16 *text_len, u16 *trunc_msg_len) in truncate_msg() argument 495 if (*text_len > max_text_len) in truncate_msg() 496 *text_len = max_text_len; in truncate_msg() 500 if (*text_len >= *trunc_msg_len) in truncate_msg() 501 *text_len -= *trunc_msg_len; in truncate_msg() 577 const char *text, size_t text_len, in msg_add_ext_text() argument 584 for (i = 0; i < text_len; i++) { in msg_add_ext_text() 614 char *text, size_t text_len, in msg_print_ext_body() argument 619 len = msg_add_ext_text(buf, size, text, text_len, '\n'); in msg_print_ext_body() 766 &r->text_buf[0], r->info->text_len, in devkmsg_read() [all …]
|
D | printk_ringbuffer.c | 1388 if (WARN_ON_ONCE(info->text_len != 0)) { in prb_reserve_in_last() 1390 info->text_len); in prb_reserve_in_last() 1391 info->text_len = 0; in prb_reserve_in_last() 1411 if (WARN_ON_ONCE(info->text_len > data_size)) { in prb_reserve_in_last() 1413 info->text_len, data_size); in prb_reserve_in_last() 1414 info->text_len = data_size; in prb_reserve_in_last() 1416 r->text_buf_size += info->text_len; in prb_reserve_in_last() 1825 if (!copy_data(&rb->text_data_ring, &desc.text_blk_lpos, info->text_len, in prb_read()
|
D | printk_ringbuffer.h | 18 u16 text_len; /* length of text message */ member
|