static int write_memory_usage(char *prefix,
			      struct memory_usage *stats,
			      char *suffix,
			      char **buf,
			      unsigned int *maxlen)
static int write_memory_usage(char *prefix, struct memory_usage *stats, char *suffix,
			      char **buf, unsigned int *maxlen)