Home
last modified time | relevance | path

Searched refs:scx_bpf_dsq_insert (Results 1 – 18 of 18) sorted by relevance

/linux/tools/sched_ext/
H A Dscx_central.bpf.c116 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, SCX_SLICE_INF, in BPF_STRUCT_OPS()
123 scx_bpf_dsq_insert(p, FALLBACK_DSQ_ID, SCX_SLICE_INF, enq_flags); in BPF_STRUCT_OPS()
156 scx_bpf_dsq_insert(p, FALLBACK_DSQ_ID, SCX_SLICE_INF, 0); in dispatch_to_cpu()
170 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL_ON | cpu, SCX_SLICE_INF, 0); in dispatch_to_cpu()
H A Dscx_cpu0.bpf.c58 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
63 scx_bpf_dsq_insert(p, DSQ_CPU0, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
H A Dscx_qmap.bpf.c234 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, slice_ns, enq_flags); in BPF_STRUCT_OPS()
242 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL_ON | cpu, slice_ns, enq_flags); in BPF_STRUCT_OPS()
255 scx_bpf_dsq_insert(p, SHARED_DSQ, 0, enq_flags); in BPF_STRUCT_OPS()
270 scx_bpf_dsq_insert(p, SHARED_DSQ, slice_ns, enq_flags); in BPF_STRUCT_OPS()
389 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, slice_ns, 0); in BPF_STRUCT_OPS()
435 scx_bpf_dsq_insert(p, SHARED_DSQ, slice_ns, 0); in BPF_STRUCT_OPS()
H A Dscx_flatcg.bpf.c339 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
375 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, in BPF_STRUCT_OPS()
379 scx_bpf_dsq_insert(p, FALLBACK_DSQ, SCX_SLICE_DFL, in BPF_STRUCT_OPS()
391 scx_bpf_dsq_insert(p, cgrp->kn->id, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
/linux/tools/testing/selftests/sched_ext/
H A Dselect_cpu_dispatch_dbl_dsp.bpf.c21 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
22 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
H A Dcyclic_kick_wait.bpf.c42 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, SCX_SLICE_INF, in BPF_STRUCT_OPS()
47 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
H A Dpeek_dsq.bpf.c127 scx_bpf_dsq_insert(p, test_dsq_id, 0, enq_flags); in BPF_STRUCT_OPS()
131 scx_bpf_dsq_insert(p, real_dsq_id, 0, enq_flags); in BPF_STRUCT_OPS()
136 scx_bpf_dsq_insert(p, random_dsq_id, 0, enq_flags); in BPF_STRUCT_OPS()
H A Dselect_cpu_dispatch_bad_dsq.bpf.c21 scx_bpf_dsq_insert(p, 0xcafef00d, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
H A Dselect_cpu_dfl.bpf.c33 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
H A Dselect_cpu_dispatch.bpf.c32 scx_bpf_dsq_insert(p, dsq_id, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
H A Denq_select_cpu_fails.bpf.c
H A Ddsp_local_on.bpf.c51 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL_ON | target, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
H A Dexit.bpf.c36 scx_bpf_dsq_insert(p, DSQ_ID, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
H A Dselect_cpu_dfl_nodispatch.bpf.c70 scx_bpf_dsq_insert(p, dsq_id, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
H A Dmaximal.bpf.c25 scx_bpf_dsq_insert(p, DSQ_ID, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
/linux/Documentation/scheduler/
H A Dsched-ext.rst151 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0);
169 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags);
232 by calling ``scx_bpf_dsq_insert()``. If the task is inserted into
246 calling ``scx_bpf_dsq_insert()`` with one of the following options:
250 ``scx_bpf_dsq_insert()`` with a DSQ ID which is smaller than 2^63.
259 * ``scx_bpf_dsq_insert()`` inserts a task to a DSQ. Any target DSQ can be
261 ``SCX_DSQ_GLOBAL`` or a custom DSQ. While ``scx_bpf_dsq_insert()``
263 and will be supported. ``scx_bpf_dsq_insert()`` schedules insertion
290 ``scx_bpf_dsq_insert()`` inserts the task on the FIFO of the target DSQ. Use
293 dispatching, and must be dispatched to with ``scx_bpf_dsq_insert()``. See
/linux/tools/sched_ext/include/scx/
H A Dcompat.bpf.h318 scx_bpf_dsq_insert(struct task_struct *p, u64 dsq_id, u64 slice, u64 enq_flags) in scx_bpf_dsq_insert() function
/linux/kernel/sched/
H A Dext.c1762 * between scx_bpf_dsq_insert() calls and here. Trigger error iff the in task_can_run_on_remote_rq()
2075 * two parts. scx_bpf_dsq_insert() which is called by ops.dispatch() records the in finish_dispatch()
2108 * scx_bpf_dsq_insert() and here and we have no claim on it. in finish_dispatch()
5928 * scx_bpf_dsq_insert - Insert a task into the FIFO queue of a DSQ
5992 __bpf_kfunc void scx_bpf_dsq_insert(struct task_struct *p, u64 dsq_id, in scx_dsq_insert_vtime()
6039 * @args->vtime. All other aspects are identical to scx_bpf_dsq_insert(). in __scx_bpf_dsq_insert_vtime()
6090 BTF_ID_FLAGS(func, scx_bpf_dsq_insert, KF_RCU) in scx_dsq_move()
6244 * This function flushes the in-flight dispatches from scx_bpf_dsq_insert() in scx_bpf_dsq_move_to_local()
5971 __bpf_kfunc void scx_bpf_dsq_insert(struct task_struct *p, u64 dsq_id, scx_bpf_dsq_insert() function