Home
last modified time | relevance | path

Searched refs:policy_state (Results 1 – 3 of 3) sorted by relevance

/xnu-12377.61.12/tests/
H A Dcoalition_policy.c75 struct task_policy_state policy_state; in check_is_bg() local
81 (task_policy_t)&policy_state, &count, &get_default); in check_is_bg()
89 …T_QUIET; T_ASSERT_BITS_SET(policy_state.flags, TASK_IMP_LIVE_DONOR, "test should be live donor ena… in check_is_bg()
96 T_ASSERT_BITS_SET(policy_state.effective, POLICY_EFF_DARWIN_BG, "%d: is BG", getpid()); in check_is_bg()
98 T_ASSERT_BITS_NOTSET(policy_state.effective, POLICY_EFF_DARWIN_BG, "%d: is not BG", getpid()); in check_is_bg()
106 T_ASSERT_BITS_NOTSET(policy_state.flags, TASK_IMP_DONOR, "%d: is not live donor", getpid()); in check_is_bg()
108 T_ASSERT_BITS_SET(policy_state.flags, TASK_IMP_DONOR, "%d: is live donor", getpid()); in check_is_bg()
H A Drunaway_mitigation.c65 struct task_policy_state policy_state; in check_is_bg() local
71 (task_policy_t)&policy_state, &count, &get_default); in check_is_bg()
79 …T_QUIET; T_ASSERT_BITS_SET(policy_state.flags, TASK_IMP_LIVE_DONOR, "test should be live donor ena… in check_is_bg()
86 T_ASSERT_BITS_SET(policy_state.effective, POLICY_EFF_DARWIN_BG, "%d: is BG", getpid()); in check_is_bg()
88 T_ASSERT_BITS_NOTSET(policy_state.effective, POLICY_EFF_DARWIN_BG, "%d: is not BG", getpid()); in check_is_bg()
96 T_ASSERT_BITS_NOTSET(policy_state.flags, TASK_IMP_DONOR, "%d: is not live donor", getpid()); in check_is_bg()
98 T_ASSERT_BITS_SET(policy_state.flags, TASK_IMP_DONOR, "%d: is live donor", getpid()); in check_is_bg()
/xnu-12377.61.12/tests/sched/
H A Dthread_group_fairness.c343 struct task_policy_state policy_state; variable
347 (task_policy_t)&policy_state, &count, &get_default);
349 …int requested_app_type = (policy_state.requested & POLICY_REQ_APPTYPE_MASK) >> POLICY_REQ_APPTYPE_…