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