Searched refs:SP_CNT (Results 1 – 3 of 3) sorted by relevance
224 static_assert(arraysize(kSchedPolicyNames) == SP_CNT, "missing name"); in get_sched_policy_name()225 if (policy < SP_BACKGROUND || policy >= SP_CNT) { in get_sched_policy_name()240 static constexpr const char* kCpusetProfiles[SP_CNT + 1] = { in get_cpuset_policy_profile_name()244 if (policy < SP_DEFAULT || policy >= SP_CNT) { in get_cpuset_policy_profile_name()259 static constexpr const char* kSchedProfiles[SP_CNT + 1] = { in get_sched_policy_profile_name()263 if (policy < SP_DEFAULT || policy >= SP_CNT) { in get_sched_policy_profile_name()
51 SP_CNT, enumerator52 SP_MAX = SP_CNT - 1,
111 EXPECT_EQ(nullptr, get_sched_policy_name(SP_CNT)); in TEST()117 EXPECT_EQ(nullptr, get_cpuset_policy_profile_name(SP_CNT)); in TEST()123 EXPECT_EQ(nullptr, get_sched_policy_profile_name(SP_CNT)); in TEST()