Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/printk/
Dprintk.c556 static void truncate_msg(u16 *text_len, u16 *trunc_msg_len) in truncate_msg() argument
568 *trunc_msg_len = strlen(trunc_msg); in truncate_msg()
569 if (*text_len >= *trunc_msg_len) in truncate_msg()
570 *text_len -= *trunc_msg_len; in truncate_msg()
572 *trunc_msg_len = 0; in truncate_msg()
2161 u16 trunc_msg_len = 0; in vprintk_store() local
2234 truncate_msg(&reserve_size, &trunc_msg_len); in vprintk_store()
2236 prb_rec_init_wr(&r, reserve_size + trunc_msg_len); in vprintk_store()
2243 if (trunc_msg_len) in vprintk_store()
2244 memcpy(&r.text_buf[text_len], trunc_msg, trunc_msg_len); in vprintk_store()
[all …]