Home
last modified time | relevance | path

Searched refs:scx_bpf_dsq_insert (Results 1 – 22 of 22) 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 Dallowed_cpus.bpf.c81 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
94 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 Denq_select_cpu_fails.bpf.c
H A Dnohz_tick.bpf.c29 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, slice, enq_flags); 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.c89 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.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()
161 scx_bpf_dsq_insert(p, FALLBACK_DSQ_ID, SCX_SLICE_INF, 0); in dispatch_to_cpu()
175 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL_ON | cpu, SCX_SLICE_INF, 0); in dispatch_to_cpu()
H A Dscx_cpu0.bpf.c56 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
61 scx_bpf_dsq_insert(p, DSQ_CPU0, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
H A Dscx_qmap.bpf.c457 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL_ON | c, slice_ns, in BPF_STRUCT_OPS()
481 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL_ON | bad, slice_ns, in BPF_STRUCT_OPS()
498 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL_ON | scx_bpf_task_cid(p), in BPF_STRUCT_OPS()
510 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, slice_ns, in BPF_STRUCT_OPS()
518 scx_bpf_dsq_insert(p, LOWPRI_DSQ, slice_ns, enq_flags); in BPF_STRUCT_OPS()
526 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL_ON | cid, slice_ns, in BPF_STRUCT_OPS()
540 scx_bpf_dsq_insert(p, SHARED_DSQ, 0, enq_flags); in BPF_STRUCT_OPS()
735 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, slice_ns, 0); in BPF_STRUCT_OPS()
768 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()
H A Dscx_pair.bpf.c523 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, 0); in try_dispatch()
/linux/Documentation/scheduler/
H A Dsched-ext.rst201 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0);
219 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags);
300 by calling ``scx_bpf_dsq_insert()`` or ``scx_bpf_dsq_insert_vtime()``.
318 calling ``scx_bpf_dsq_insert()`` with one of the following options:
322 ``scx_bpf_dsq_insert()`` with a DSQ ID which is smaller than 2^63.
391 * ``scx_bpf_dsq_insert()`` inserts a task to a DSQ. Any target DSQ can be
393 ``SCX_DSQ_GLOBAL`` or a custom DSQ. While ``scx_bpf_dsq_insert()``
395 and will be supported. ``scx_bpf_dsq_insert()`` schedules insertion
422 ``scx_bpf_dsq_insert()`` inserts the task on the FIFO of the target DSQ. Use
425 dispatching, and must be dispatched to with ``scx_bpf_dsq_insert()``. See
/linux/tools/sched_ext/include/scx/
H A Dcompat.bpf.h369 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/ext/
H A Dext.c8858 __bpf_kfunc void scx_bpf_dsq_insert(struct task_struct *p, u64 dsq_id, in scx_bpf_dsq_insert() function
8963 BTF_ID_FLAGS(func, scx_bpf_dsq_insert, KF_IMPLICIT_ARGS | KF_RCU)