Home
last modified time | relevance | path

Searched refs:text_len (Results 1 – 3 of 3) sorted by relevance

/kernel/printk/
Dprintk.c490 static void truncate_msg(u16 *text_len, u16 *trunc_msg_len) in truncate_msg() argument
498 if (*text_len > max_text_len) in truncate_msg()
499 *text_len = max_text_len; in truncate_msg()
503 if (*text_len >= *trunc_msg_len) in truncate_msg()
504 *text_len -= *trunc_msg_len; in truncate_msg()
584 const char *text, size_t text_len, in msg_add_ext_text() argument
591 for (i = 0; i < text_len; i++) { in msg_add_ext_text()
621 char *text, size_t text_len, in msg_print_ext_body() argument
626 len = msg_add_ext_text(buf, size, text, text_len, '\n'); in msg_print_ext_body()
773 &r->text_buf[0], r->info->text_len, in devkmsg_read()
[all …]
Dprintk_ringbuffer.c1388 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()
Dprintk_ringbuffer.h18 u16 text_len; /* length of text message */ member