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