Lines Matching defs:prefix
15 static void write_u64(char *prefix, u64 value, char *suffix, char **buf,
20 count = scnprintf(*buf, *maxlen, "%s%llu%s", prefix == NULL ? "" : prefix,
26 static void write_u32(char *prefix, u32 value, char *suffix, char **buf,
31 count = scnprintf(*buf, *maxlen, "%s%u%s", prefix == NULL ? "" : prefix,
37 static void write_block_count_t(char *prefix, block_count_t value, char *suffix,
42 count = scnprintf(*buf, *maxlen, "%s%llu%s", prefix == NULL ? "" : prefix,
48 static void write_string(char *prefix, char *value, char *suffix, char **buf,
53 count = scnprintf(*buf, *maxlen, "%s%s%s", prefix == NULL ? "" : prefix,
59 static void write_bool(char *prefix, bool value, char *suffix, char **buf,
64 count = scnprintf(*buf, *maxlen, "%s%d%s", prefix == NULL ? "" : prefix,
70 static void write_u8(char *prefix, u8 value, char *suffix, char **buf,
75 count = scnprintf(*buf, *maxlen, "%s%u%s", prefix == NULL ? "" : prefix,
81 static void write_block_allocator_statistics(char *prefix,
86 write_string(prefix, "{ ", NULL, buf, maxlen);
96 static void write_commit_statistics(char *prefix, struct commit_statistics *stats,
99 write_string(prefix, "{ ", NULL, buf, maxlen);
109 static void write_recovery_journal_statistics(char *prefix,
114 write_string(prefix, "{ ", NULL, buf, maxlen);
127 static void write_packer_statistics(char *prefix, struct packer_statistics *stats,
130 write_string(prefix, "{ ", NULL, buf, maxlen);
143 static void write_slab_journal_statistics(char *prefix,
147 write_string(prefix, "{ ", NULL, buf, maxlen);
161 static void write_slab_summary_statistics(char *prefix,
165 write_string(prefix, "{ ", NULL, buf, maxlen);
171 static void write_ref_counts_statistics(char *prefix, struct ref_counts_statistics *stats,
174 write_string(prefix, "{ ", NULL, buf, maxlen);
180 static void write_block_map_statistics(char *prefix, struct block_map_statistics *stats,
183 write_string(prefix, "{ ", NULL, buf, maxlen);
227 static void write_hash_lock_statistics(char *prefix, struct hash_lock_statistics *stats,
230 write_string(prefix, "{ ", NULL, buf, maxlen);
246 static void write_error_statistics(char *prefix, struct error_statistics *stats,
249 write_string(prefix, "{ ", NULL, buf, maxlen);
262 static void write_bio_stats(char *prefix, struct bio_stats *stats, char *suffix,
265 write_string(prefix, "{ ", NULL, buf, maxlen);
281 static void write_memory_usage(char *prefix, struct memory_usage *stats, char *suffix,
284 write_string(prefix, "{ ", NULL, buf, maxlen);
292 static void write_index_statistics(char *prefix, struct index_statistics *stats,
295 write_string(prefix, "{ ", NULL, buf, maxlen);
315 static void write_vdo_statistics(char *prefix, struct vdo_statistics *stats, char *suffix,
318 write_string(prefix, "{ ", NULL, buf, maxlen);
437 char *prefix = "memorySize : ";
441 write_string(prefix, "0.25, ", NULL, buf, maxlen);
443 write_string(prefix, "0.50, ", NULL, buf, maxlen);
445 write_string(prefix, "0.75, ", NULL, buf, maxlen);
447 write_u32(prefix, mem, ", ", buf, maxlen);