Home
last modified time | relevance | path

Searched refs:scx_bpf_dsq_insert (Results 1 – 19 of 19) 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 Denq_select_cpu.bpf.c29 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL_ON | cpu, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
33 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
H A Dallowed_cpus.bpf.c47 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
60 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, 0); 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 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 Dnuma.bpf.c64 scx_bpf_dsq_insert(p, node, 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.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_simple.bpf.c63 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
74 scx_bpf_dsq_insert(p, SHARED_DSQ, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
H A Dscx_qmap.bpf.c229 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, slice_ns, enq_flags); in BPF_STRUCT_OPS()
237 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL_ON | cpu, slice_ns, enq_flags); in BPF_STRUCT_OPS()
250 scx_bpf_dsq_insert(p, SHARED_DSQ, 0, enq_flags); in BPF_STRUCT_OPS()
265 scx_bpf_dsq_insert(p, SHARED_DSQ, slice_ns, enq_flags); in BPF_STRUCT_OPS()
388 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, slice_ns, 0); in BPF_STRUCT_OPS()
434 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/sched_ext/include/scx/
H A Dcompat.bpf.h42 #define scx_bpf_dsq_insert(p, dsq_id, slice, enq_flags) \ macro
43 (bpf_ksym_exists(scx_bpf_dsq_insert) ? \
44 scx_bpf_dsq_insert((p), (dsq_id), (slice), (enq_flags)) : \
H A Dcommon.bpf.h53 void scx_bpf_dsq_insert(struct task_struct *p, u64 dsq_id, u64 slice, u64 enq_flags) __ksym __weak;
/linux/Documentation/scheduler/
H A Dsched-ext.rst152 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0);
170 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags);
233 by calling ``scx_bpf_dsq_insert()``. If the task is inserted into
247 calling ``scx_bpf_dsq_insert()`` with one of the following options:
251 ``scx_bpf_dsq_insert()`` with a DSQ ID which is smaller than 2^63.
260 * ``scx_bpf_dsq_insert()`` inserts a task to a DSQ. Any target DSQ can be
262 ``SCX_DSQ_GLOBAL`` or a custom DSQ. While ``scx_bpf_dsq_insert()``
264 and will be supported. ``scx_bpf_dsq_insert()`` schedules insertion
291 ``scx_bpf_dsq_insert()`` inserts the task on the FIFO of the target DSQ. Use
294 dispatching, and must be dispatched to with ``scx_bpf_dsq_insert()``. See
/linux/kernel/sched/
H A Dext.c6409 __bpf_kfunc void scx_bpf_dsq_insert(struct task_struct *p, u64 dsq_id, u64 slice, in scx_bpf_dsq_insert() function
6463 BTF_ID_FLAGS(func, scx_bpf_dsq_insert, KF_RCU)