Searched refs:trunc_msg_len (Results 1 – 1 of 1) sorted by relevance
556 static void truncate_msg(u16 *text_len, u16 *trunc_msg_len) in truncate_msg() argument568 *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() local2234 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 …]