Home
last modified time | relevance | path

Searched refs:scx_task_sched (Results 1 – 5 of 5) sorted by relevance

/linux/kernel/sched/ext/
H A Dsub.h182 scx_is_descendant(scx_task_sched(curr), sch)) in scx_caps_for_preempt()
209 return likely(!scx_missing_caps(scx_task_sched(p), cpu_of(rq), SCX_CAP_BASE)); in scx_task_can_stay_on_cpu()
H A Dext.c1352 (scx_task_sched(p)->id & SCX_SLICE_OOB_ID_MASK))) in apply_task_slice_oob()
1359 unlikely(scx_missing_caps(scx_task_sched(p), cpu_of(rq), SCX_CAP_BASE))) { in apply_task_slice_oob()
1360 __scx_add_event(scx_task_sched(p), SCX_EV_SLICE_DENIED, 1); in apply_task_slice_oob()
1365 __scx_add_event(scx_task_sched(p), SCX_EV_SLICE_DENIED, 1); in apply_task_slice_oob()
1978 struct scx_sched *sch = scx_task_sched(p); in scx_do_enqueue_task()
2140 struct scx_sched *sch = scx_task_sched(p); in enqueue_task_scx()
2190 struct scx_sched *sch = scx_task_sched(p); in ops_dequeue()
2266 struct scx_sched *sch = scx_task_sched(p); in dequeue_task_scx()
2327 struct scx_sched *sch = scx_task_sched(p); in yield_task_scx()
2341 struct scx_sched *sch = scx_task_sched(from); in yield_to_task_scx()
[all …]
H A Dsub.c288 pcpu = per_cpu_ptr(scx_task_sched(rq->curr)->pcpu, cpu_of(rq)); in scx_rescue_charge()
335 scx_bypassing(scx_task_sched(p), cpu_of(rq))) in scx_rescue_keep()
558 scx_move_local_task_to_local_dsq(scx_task_sched(p), p, SCX_ENQ_IGNORE_CAPS, in scx_rescue_timerfn()
573 scx_move_local_task_to_local_dsq(scx_task_sched(p), p, in scx_rescue_timerfn()
599 scx_move_local_task_to_local_dsq(scx_task_sched(p), p, SCX_ENQ_IGNORE_CAPS, in scx_rescue_flush()
768 missing = scx_missing_caps(scx_task_sched(p), cpu_of(rq), scx_caps_for_task(p)); in scx_task_reenq_on_cap_revoke()
1259 scx_disable_and_exit_task(scx_task_sched(p), p); in scx_rehome_task()
1289 scx_disable_and_exit_task(scx_task_sched(p), p); in scx_punt_task()
H A Dinternal.h2365 static inline struct scx_sched *scx_task_sched(const struct task_struct *p) in scx_task_sched() function
2455 static inline struct scx_sched *scx_task_sched(const struct task_struct *p) in scx_task_sched() function
H A Didle.c1148 scx_error(scx_task_sched(p), "__scx_bpf_select_cpu_and() must be used"); in scx_bpf_select_cpu_and()