Lines Matching refs:SCX_HAS_OP
1059 #define SCX_HAS_OP(op) static_branch_likely(&scx_has_op[SCX_OP_IDX(op)]) macro
1814 if (SCX_HAS_OP(core_sched_before)) in touch_core_sched_dispatch()
2196 if (!SCX_HAS_OP(enqueue)) in do_enqueue_task()
2305 if (SCX_HAS_OP(runnable) && !task_on_rq_migrating(p)) in enqueue_task_scx()
2340 if (SCX_HAS_OP(dequeue)) in ops_dequeue()
2388 if (SCX_HAS_OP(stopping) && task_current(rq, p)) { in dequeue_task_scx()
2393 if (SCX_HAS_OP(quiescent) && !task_on_rq_migrating(p)) in dequeue_task_scx()
2413 if (SCX_HAS_OP(yield)) in yield_task_scx()
2423 if (SCX_HAS_OP(yield)) in yield_to_task_scx()
2981 if (SCX_HAS_OP(cpu_acquire)) in balance_one()
3012 if (!SCX_HAS_OP(dispatch) || scx_rq_bypassing(rq) || !scx_rq_online(rq)) in balance_one()
3148 if (SCX_HAS_OP(running) && (p->scx.flags & SCX_TASK_QUEUED)) in set_next_task_scx()
3224 if (SCX_HAS_OP(cpu_release)) { in switch_class()
3242 if (SCX_HAS_OP(stopping) && (p->scx.flags & SCX_TASK_QUEUED)) in put_prev_task_scx()
3383 if (SCX_HAS_OP(core_sched_before) && !scx_rq_bypassing(task_rq(a))) in scx_prio_less()
3412 if (SCX_HAS_OP(select_cpu) && !rq_bypass) { in select_task_rq_scx()
3465 if (SCX_HAS_OP(set_cpumask)) in set_cpus_allowed_scx()
3479 if (online && SCX_HAS_OP(cpu_online)) in handle_hotplug()
3481 else if (!online && SCX_HAS_OP(cpu_offline)) in handle_hotplug()
3585 } else if (SCX_HAS_OP(tick)) { in task_tick_scx()
3657 if (SCX_HAS_OP(init_task)) { in scx_ops_init_task()
3720 if (SCX_HAS_OP(enable)) in scx_ops_enable_task()
3724 if (SCX_HAS_OP(set_weight)) in scx_ops_enable_task()
3735 if (SCX_HAS_OP(disable)) in scx_ops_disable_task()
3764 if (SCX_HAS_OP(exit_task)) in scx_ops_exit_task()
3873 if (SCX_HAS_OP(set_weight)) in reweight_task_scx()
3889 if (SCX_HAS_OP(set_cpumask)) in switching_to_scx()
3948 if (SCX_HAS_OP(cgroup_init)) { in scx_tg_online()
3973 if (SCX_HAS_OP(cgroup_exit) && (tg->scx_flags & SCX_TG_INITED)) in scx_tg_offline()
4006 if (SCX_HAS_OP(cgroup_prep_move)) { in scx_cgroup_can_attach()
4020 if (SCX_HAS_OP(cgroup_cancel_move) && p->scx.cgrp_moving_from) in scx_cgroup_can_attach()
4039 if (SCX_HAS_OP(cgroup_move) && !WARN_ON_ONCE(!p->scx.cgrp_moving_from)) in scx_cgroup_move_task()
4059 if (SCX_HAS_OP(cgroup_cancel_move) && p->scx.cgrp_moving_from) in scx_cgroup_cancel_attach()
4073 if (SCX_HAS_OP(cgroup_set_weight)) in scx_group_set_weight()
5002 if (SCX_HAS_OP(dump_task)) { in scx_dump_task()
5049 if (SCX_HAS_OP(dump)) { in scx_dump_state()
5072 if (idle && !SCX_HAS_OP(dump_cpu)) in scx_dump_state()
5106 if (SCX_HAS_OP(dump_cpu)) { in scx_dump_state()