Lines Matching refs:prefix_len
1339 size_t prefix_len; in record_print_text() local
1351 prefix_len = info_print_prefix(r->info, syslog, time, prefix); in record_print_text()
1374 if (len + prefix_len + text_len + 1 + 1 > buf_size) { in record_print_text()
1376 if (len + prefix_len + line_len + 1 + 1 > buf_size) in record_print_text()
1379 text_len = buf_size - len - prefix_len - 1 - 1; in record_print_text()
1383 memmove(text + prefix_len, text, text_len); in record_print_text()
1384 memcpy(text, prefix, prefix_len); in record_print_text()
1392 len += prefix_len + line_len + 1; in record_print_text()
1398 text[prefix_len + line_len] = '\n'; in record_print_text()
1406 text += prefix_len + line_len + 1; in record_print_text()
1437 size_t prefix_len; in get_record_print_text_size() local
1439 prefix_len = info_print_prefix(info, syslog, time, prefix); in get_record_print_text_size()
1446 return ((prefix_len * line_count) + info->text_len + 1); in get_record_print_text_size()
2059 u16 prefix_len = 0; in printk_parse_prefix() local
2077 prefix_len += 2; in printk_parse_prefix()
2081 return prefix_len; in printk_parse_prefix()
2101 u16 prefix_len; in printk_sprint() local
2103 prefix_len = printk_parse_prefix(text, NULL, NULL); in printk_sprint()
2104 if (prefix_len) { in printk_sprint()
2105 text_len -= prefix_len; in printk_sprint()
2106 memmove(text, text + prefix_len, text_len); in printk_sprint()