Lines Matching full:goal
588 struct damos_quota_goal *goal, *next; in damos_test_commit_quota_goals_for() local
601 goal = damos_new_quota_goal(dst_goals[i].metric, in damos_test_commit_quota_goals_for()
603 if (!goal) in damos_test_commit_quota_goals_for()
605 damos_add_quota_goal(&dst, goal); in damos_test_commit_quota_goals_for()
614 damos_for_each_quota_goal(goal, (&dst)) { in damos_test_commit_quota_goals_for()
615 KUNIT_EXPECT_EQ(test, goal->metric, src_goals[i].metric); in damos_test_commit_quota_goals_for()
616 KUNIT_EXPECT_EQ(test, goal->target_value, in damos_test_commit_quota_goals_for()
622 damos_for_each_quota_goal_safe(goal, next, (&dst)) in damos_test_commit_quota_goals_for()
623 damos_destroy_quota_goal(goal); in damos_test_commit_quota_goals_for()
625 kunit_skip(test, "goal alloc fail"); in damos_test_commit_quota_goals_for()
1109 * If current score is lower than the goal, which is always 10,000 in damon_test_feed_loop_next_input()
1118 * If current score is higher than the goal, next input should be lower in damon_test_feed_loop_next_input()
1128 * the goal in damon_test_feed_loop_next_input()