Home
last modified time | relevance | path

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

/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/tools/sched_ext/
H A Dscx_central.bpf.c117 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, SCX_SLICE_INF, in BPF_STRUCT_OPS()
124 scx_bpf_dsq_insert(p, FALLBACK_DSQ_ID, SCX_SLICE_INF, enq_flags); in BPF_STRUCT_OPS()
157 scx_bpf_dsq_insert(p, FALLBACK_DSQ_ID, SCX_SLICE_INF, 0); in dispatch_to_cpu()
171 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.c247 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL_ON | scx_bpf_task_cpu(p), in BPF_STRUCT_OPS()
259 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, slice_ns, enq_flags); in BPF_STRUCT_OPS()
266 scx_bpf_dsq_insert(p, LOWPRI_DSQ, slice_ns, enq_flags); in BPF_STRUCT_OPS()
274 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL_ON | cpu, slice_ns, enq_flags); in BPF_STRUCT_OPS()
287 scx_bpf_dsq_insert(p, SHARED_DSQ, 0, enq_flags); in BPF_STRUCT_OPS()
302 scx_bpf_dsq_insert(p, SHARED_DSQ, slice_ns, enq_flags); in BPF_STRUCT_OPS()
421 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, slice_ns, 0); in BPF_STRUCT_OPS()
467 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/Documentation/scheduler/
H A Dsched-ext.rst200 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0);
218 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags);
284 by calling ``scx_bpf_dsq_insert()`` or ``scx_bpf_dsq_insert_vtime()``.
302 calling ``scx_bpf_dsq_insert()`` with one of the following options:
306 ``scx_bpf_dsq_insert()`` with a DSQ ID which is smaller than 2^63.
370 * ``scx_bpf_dsq_insert()`` inserts a task to a DSQ. Any target DSQ can be
372 ``SCX_DSQ_GLOBAL`` or a custom DSQ. While ``scx_bpf_dsq_insert()``
374 and will be supported. ``scx_bpf_dsq_insert()`` schedules insertion
401 ``scx_bpf_dsq_insert()`` inserts the task on the FIFO of the target DSQ. Use
404 dispatching, and must be dispatched to with ``scx_bpf_dsq_insert()``. See
/linux/tools/sched_ext/include/scx/
H A Dcompat.bpf.h331 * v6.19: scx_bpf_dsq_insert() now returns bool instead of void. Move
332 * scx_bpf_dsq_insert() decl to common.bpf.h and drop compat helper after v6.22.
336 * v6.13: scx_bpf_dsq_insert() renaming is also handled here. See the block on
344 scx_bpf_dsq_insert(struct task_struct *p, u64 dsq_id, u64 slice, u64 enq_flags) in scx_bpf_task_set_slice()
318 scx_bpf_dsq_insert(struct task_struct *p, u64 dsq_id, u64 slice, u64 enq_flags) scx_bpf_dsq_insert() function
/linux/kernel/sched/
H A Dext.c8185 __bpf_kfunc void scx_bpf_dsq_insert(struct task_struct *p, u64 dsq_id, in scx_bpf_dsq_insert() function
8297 BTF_ID_FLAGS(func, scx_bpf_dsq_insert, KF_IMPLICIT_ARGS | KF_RCU)