Lines Matching refs:prefix_len
1324 size_t prefix_len; in record_print_text() local
1336 prefix_len = info_print_prefix(r->info, syslog, time, prefix); in record_print_text()
1359 if (len + prefix_len + text_len + 1 + 1 > buf_size) { in record_print_text()
1361 if (len + prefix_len + line_len + 1 + 1 > buf_size) in record_print_text()
1364 text_len = buf_size - len - prefix_len - 1 - 1; in record_print_text()
1368 memmove(text + prefix_len, text, text_len); in record_print_text()
1369 memcpy(text, prefix, prefix_len); in record_print_text()
1377 len += prefix_len + line_len + 1; in record_print_text()
1383 text[prefix_len + line_len] = '\n'; in record_print_text()
1391 text += prefix_len + line_len + 1; in record_print_text()
1422 size_t prefix_len; in get_record_print_text_size() local
1424 prefix_len = info_print_prefix(info, syslog, time, prefix); in get_record_print_text_size()
1431 return ((prefix_len * line_count) + info->text_len + 1); in get_record_print_text_size()
2044 u16 prefix_len = 0; in printk_parse_prefix() local
2062 prefix_len += 2; in printk_parse_prefix()
2066 return prefix_len; in printk_parse_prefix()
2086 u16 prefix_len; in printk_sprint() local
2088 prefix_len = printk_parse_prefix(text, NULL, NULL); in printk_sprint()
2089 if (prefix_len) { in printk_sprint()
2090 text_len -= prefix_len; in printk_sprint()
2091 memmove(text, text + prefix_len, text_len); in printk_sprint()