Home
last modified time | relevance | path

Searched refs:effective (Results 1 – 11 of 11) sorted by relevance

/xnu-11215/osfmk/kern/
H A Dtask_policy.c649 info->effective = 0; in task_policy_get()
659 info->effective = task_effective_bitfield(task); in task_policy_get()
2445 struct task_effective_policy effective = task->effective_policy; in task_effective_bitfield() local
2447 …bits |= (effective.tep_io_tier ? (((uint64_t)effective.tep_io_tier) << POLICY_EFF_IO_TIER… in task_effective_bitfield()
2448 bits |= (effective.tep_io_passive ? POLICY_EFF_IO_PASSIVE : 0); in task_effective_bitfield()
2449 bits |= (effective.tep_darwinbg ? POLICY_EFF_DARWIN_BG : 0); in task_effective_bitfield()
2454 …bits |= (effective.tep_bg_iotier ? (((uint64_t)effective.tep_bg_iotier) << POLICY_EFF_BG_IO… in task_effective_bitfield()
2461 …bits |= (effective.tep_role ? (((uint64_t)effective.tep_role) << POLICY_EFF_ROLE_SHIFT… in task_effective_bitfield()
2462 …bits |= (effective.tep_latency_qos ? (((uint64_t)effective.tep_latency_qos) << POLICY_EFF_LAT… in task_effective_bitfield()
2463 …bits |= (effective.tep_through_qos ? (((uint64_t)effective.tep_through_qos) << POLICY_EFF_THR… in task_effective_bitfield()
[all …]
H A Dthread_policy.c1475 info->effective = 0; in thread_policy_get()
2468 struct thread_effective_policy effective = thread->effective_policy; in proc_get_thread_policy_bitfield() local
2470 bits |= (effective.thep_darwinbg ? POLICY_EFF_DARWIN_BG : 0); in proc_get_thread_policy_bitfield()
2472 …bits |= (effective.thep_io_tier ? (((uint64_t)effective.thep_io_tier) << POLICY_EFF_IO_TIE… in proc_get_thread_policy_bitfield()
2473 bits |= (effective.thep_io_passive ? POLICY_EFF_IO_PASSIVE : 0); in proc_get_thread_policy_bitfield()
2474 bits |= (effective.thep_all_sockets_bg ? POLICY_EFF_ALL_SOCKETS_BG : 0); in proc_get_thread_policy_bitfield()
2475 bits |= (effective.thep_new_sockets_bg ? POLICY_EFF_NEW_SOCKETS_BG : 0); in proc_get_thread_policy_bitfield()
2477 …bits |= (effective.thep_qos ? (((uint64_t)effective.thep_qos) << POLICY_EFF_TH_QOS_SHI… in proc_get_thread_policy_bitfield()
2479 …bits |= (effective.thep_latency_qos ? (((uint64_t)effective.thep_latency_qos) << POLICY_EFF_LA… in proc_get_thread_policy_bitfield()
2480 …bits |= (effective.thep_through_qos ? (((uint64_t)effective.thep_through_qos) << POLICY_EFF_TH… in proc_get_thread_policy_bitfield()
[all …]
H A Dsched_prim.c7653 struct powered_cores_state effective = pcs.pcs_effective; in sched_needs_update_requested_powered_cores() local
7656 requested.pcs_online_cores != effective.pcs_online_cores || in sched_needs_update_requested_powered_cores()
7657 requested.pcs_tempdown_cores != effective.pcs_tempdown_cores) { in sched_needs_update_requested_powered_cores()
9095 struct powered_cores_state effective = pcs.pcs_effective; in sched_update_powered_cores_drops_lock() local
9098 requested.pcs_online_cores, requested_reason, 0, effective.pcs_online_cores); in sched_update_powered_cores_drops_lock()
9102 effective.pcs_online_cores) & requested.pcs_online_cores; in sched_update_powered_cores_drops_lock()
9106 effective.pcs_online_cores) & ~requested.pcs_online_cores; in sched_update_powered_cores_drops_lock()
9109 effective.pcs_powerdown_recommended_cores) & requested.pcs_powerdown_recommended_cores; in sched_update_powered_cores_drops_lock()
9112 effective.pcs_powerdown_recommended_cores) & ~requested.pcs_powerdown_recommended_cores; in sched_update_powered_cores_drops_lock()
9115 effective.pcs_tempdown_cores) & requested.pcs_tempdown_cores; in sched_update_powered_cores_drops_lock()
[all …]
H A Dcoalition.c3045 struct coalition_effective_policy effective = coal->j.c_effective_policy; in task_get_effective_jetsam_coalition_policy() local
3049 return effective.cep_darwinbg; in task_get_effective_jetsam_coalition_policy()
/xnu-11215/tests/
H A Dcoalition_policy.c94 T_ASSERT_BITS_SET(policy_state.effective, POLICY_EFF_DARWIN_BG, "%d: is BG", getpid()); in check_is_bg()
96 T_ASSERT_BITS_NOTSET(policy_state.effective, POLICY_EFF_DARWIN_BG, "%d: is not BG", getpid()); in check_is_bg()
H A Dkevent_qos.c112 return (thread_policy.effective >> POLICY_EFF_IO_TIER_SHIFT) & POLICY_EFF_IO_TIER_MASK; in get_thread_iotier()
/xnu-11215/osfmk/mach/
H A Dthread_policy_private.h44 integer_t effective; member
H A Dtask_policy_private.h130 uint64_t effective; member
/xnu-11215/tools/lldbmacros/
H A Dprocess.py2305 effective=""
2308 effective+=value[1] + ": " + str(t.effective_policy.__getattr__(value[0])) + " "
2310 effective+=""
2314 print("effective: " + effective)
/xnu-11215/doc/arm/
H A Dsme.md118 Alternatively, EL2 may adjust the effective SME priority at EL0 and EL1 without
/xnu-11215/
H A DAPPLE_LICENSE76 and conditions of this License, Apple hereby grants You, effective on