Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/printk/
Dprintk.c475 static void truncate_msg(u16 *text_len, u16 *trunc_msg_len) in truncate_msg() argument
487 *trunc_msg_len = strlen(trunc_msg); in truncate_msg()
488 if (*text_len >= *trunc_msg_len) in truncate_msg()
489 *text_len -= *trunc_msg_len; in truncate_msg()
491 *trunc_msg_len = 0; in truncate_msg()
502 u16 trunc_msg_len = 0; in log_store() local
508 truncate_msg(&text_len, &trunc_msg_len); in log_store()
509 prb_rec_init_wr(&r, text_len + trunc_msg_len); in log_store()
517 if (trunc_msg_len) in log_store()
518 memcpy(&r.text_buf[text_len], trunc_msg, trunc_msg_len); in log_store()
[all …]