Lines Matching full:scx_root
16 * scx_root usage is in a transitional state. Naked dereferences are safe if the
18 * necessary otherwise. Naked scx_root dereferences trigger sparse warnings but
20 * updated to point to the associated scheduler instances rather than scx_root.
22 struct scx_sched __rcu *scx_root; variable
1283 struct scx_sched *root = rcu_dereference_sched(scx_root); in schedule_reenq_local()
1333 if (unlikely(SCX_HAS_OP(scx_root, core_sched_before))) in touch_core_sched_dispatch()
2887 struct scx_sched *sch = scx_root; in balance_one()
3023 struct scx_sched *sch = scx_root; in switch_class()
3394 struct scx_sched *sch = scx_root; in handle_hotplug()
3400 * scx_root updates are protected by cpus_read_lock() and will stay in handle_hotplug()
3449 sch = rcu_dereference_bh(scx_root); in check_rq_for_timeouts()
3500 root = rcu_dereference_bh(scx_root); in scx_tick()
3772 struct scx_sched *sch = scx_root; in scx_fork()
4310 struct scx_sched *sch = scx_root; in scx_tg_online()
4339 struct scx_sched *sch = scx_root; in scx_tg_offline()
4351 struct scx_sched *sch = scx_root; in scx_cgroup_can_attach()
4399 struct scx_sched *sch = scx_root; in scx_cgroup_move_task()
4420 struct scx_sched *sch = scx_root; in scx_cgroup_cancel_attach()
4441 sch = scx_root; in scx_group_set_weight()
4457 sch = scx_root; in scx_group_set_idle()
4474 sch = scx_root; in scx_group_set_bandwidth()
5030 sch = rcu_dereference(scx_root); in handle_lockup()
5117 if (!rcu_access_pointer(scx_root)) in scx_hardlockup()
6021 * scx_root clearing must be inside cpus_read_lock(). See in scx_root_disable()
6025 RCU_INIT_POINTER(scx_root, NULL); in scx_root_disable()
6871 WARN_ON_ONCE(scx_root); in scx_root_enable_workfn()
6892 rcu_assign_pointer(scx_root, sch); in scx_root_enable_workfn()
7799 sch = rcu_dereference(scx_root); in sysrq_handle_sched_ext_reset()
8000 sch = rcu_dereference(scx_root); in scx_pm_handler()
8311 sch = rcu_dereference(scx_root); in scx_bpf_dsq_insert_vtime()
9711 sch = rcu_dereference(scx_root); in scx_bpf_events()