Home
last modified time | relevance | path

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

/linux-6.14.4/tools/testing/selftests/sched_ext/
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()
Dselect_cpu_dispatch_bad_dsq.bpf.c21 scx_bpf_dsq_insert(p, 0xcafef00d, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
Dselect_cpu_dfl.bpf.c33 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
Dselect_cpu_dispatch.bpf.c32 scx_bpf_dsq_insert(p, dsq_id, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
Denq_select_cpu_fails.bpf.c34 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
Ddsp_local_on.bpf.c51 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL_ON | target, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
Dexit.bpf.c36 scx_bpf_dsq_insert(p, DSQ_ID, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
Dselect_cpu_dfl_nodispatch.bpf.c70 scx_bpf_dsq_insert(p, dsq_id, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
Dmaximal.bpf.c25 scx_bpf_dsq_insert(p, DSQ_ID, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
/linux-6.14.4/tools/sched_ext/
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()
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()
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()
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-6.14.4/tools/sched_ext/include/scx/
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)) : \
Dcommon.bpf.h43 void scx_bpf_dsq_insert(struct task_struct *p, u64 dsq_id, u64 slice, u64 enq_flags) __ksym __weak;
/linux-6.14.4/Documentation/scheduler/
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-6.14.4/kernel/sched/
Dext.c6535 __bpf_kfunc void scx_bpf_dsq_insert(struct task_struct *p, u64 dsq_id, u64 slice, in scx_bpf_dsq_insert() function
6554 scx_bpf_dsq_insert(p, dsq_id, slice, enq_flags); in scx_bpf_dispatch()
6605 BTF_ID_FLAGS(func, scx_bpf_dsq_insert, KF_RCU)