Searched refs:policy_state (Results 1 – 3 of 3) sorted by relevance
| /xnu-12377.61.12/tests/ |
| H A D | coalition_policy.c | 75 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 D | runaway_mitigation.c | 65 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 D | thread_group_fairness.c | 343 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_…
|