func isPidsSet(r *configs.Resources) bool { … } func setPids(dirPath string, r *configs.Resources) error { … } func statPidsFromCgroupProcs(dirPath string, stats *cgroups.Stats) error { … } func statPids(dirPath string, stats *cgroups.Stats) error { … }