Home
last modified time | relevance | path

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

/kernel/printk/
Dprintk.c488 static void truncate_msg(u16 *text_len, u16 *trunc_msg_len) in truncate_msg() argument
500 *trunc_msg_len = strlen(trunc_msg); in truncate_msg()
501 if (*text_len >= *trunc_msg_len) in truncate_msg()
502 *text_len -= *trunc_msg_len; in truncate_msg()
504 *trunc_msg_len = 0; in truncate_msg()
2147 u16 trunc_msg_len = 0; in vprintk_store() local
2218 truncate_msg(&reserve_size, &trunc_msg_len); in vprintk_store()
2220 prb_rec_init_wr(&r, reserve_size + trunc_msg_len); in vprintk_store()
2227 if (trunc_msg_len) in vprintk_store()
2228 memcpy(&r.text_buf[text_len], trunc_msg, trunc_msg_len); in vprintk_store()
[all …]