Lines Matching full:goals
102 return os.path.join(self.quota.sysfs_dir(), 'goals', '%d' % self.idx)
122 goals = None # quota goals variable in DamosQuota
126 def __init__(self, sz=0, ms=0, goals=None, reset_interval_ms=0): argument
130 self.goals = goals if goals is not None else []
131 for idx, goal in enumerate(self.goals):
150 nr_goals_file = os.path.join(self.sysfs_dir(), 'goals', 'nr_goals')
154 if int(content) != len(self.goals):
155 err = write_file(nr_goals_file, len(self.goals))
158 for goal in self.goals:
475 for goal in scheme.quota.goals:
506 for goal in scheme.quota.goals: