// numToStr converts an int64 value to a string for writing to a // cgroupv2 files with .min, .max, .low, or .high suffix. // The value of -1 is converted to "max" for cgroupv1 compatibility // (which used to write -1 to remove the limit). func numToStr(value int64) (ret string) { … } func isMemorySet(r *configs.Resources) bool { … } func setMemory(dirPath string, r *configs.Resources) error { … } func statMemory(dirPath string, stats *cgroups.Stats) error { … } func getMemoryDataV2(path, name string) (cgroups.MemoryData, error) { … } func rootStatsFromMeminfo(stats *cgroups.Stats) error { … }