Home
last modified time | relevance | path

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

/Linux-v4.19/kernel/printk/
Dprintk.c566 static u32 truncate_msg(u16 *text_len, u16 *trunc_msg_len, in truncate_msg() argument
577 *trunc_msg_len = strlen(trunc_msg); in truncate_msg()
581 return msg_used_size(*text_len + *trunc_msg_len, 0, pad_len); in truncate_msg()
592 u16 trunc_msg_len = 0; in log_store() local
599 size = truncate_msg(&text_len, &trunc_msg_len, in log_store()
620 if (trunc_msg_len) { in log_store()
621 memcpy(log_text(msg) + text_len, trunc_msg, trunc_msg_len); in log_store()
622 msg->text_len += trunc_msg_len; in log_store()