Home
last modified time | relevance | path

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

/kernel/printk/
Dprintk.c487 static void truncate_msg(u16 *text_len, u16 *trunc_msg_len) in truncate_msg() argument
499 *trunc_msg_len = strlen(trunc_msg); in truncate_msg()
500 if (*text_len >= *trunc_msg_len) in truncate_msg()
501 *text_len -= *trunc_msg_len; in truncate_msg()
503 *trunc_msg_len = 0; in truncate_msg()
2126 u16 trunc_msg_len = 0; in vprintk_store() local
2199 truncate_msg(&reserve_size, &trunc_msg_len); in vprintk_store()
2201 prb_rec_init_wr(&r, reserve_size + trunc_msg_len); in vprintk_store()
2208 if (trunc_msg_len) in vprintk_store()
2209 memcpy(&r.text_buf[text_len], trunc_msg, trunc_msg_len); in vprintk_store()
[all …]