| /linux/tools/sched_ext/ |
| H A D | scx_central.bpf.c | 116 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 D | scx_cpu0.bpf.c | 58 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 D | scx_qmap.bpf.c | 234 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 D | scx_flatcg.bpf.c | 339 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 D | select_cpu_dispatch_dbl_dsp.bpf.c | 21 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 D | cyclic_kick_wait.bpf.c | 42 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 D | peek_dsq.bpf.c | 127 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 D | select_cpu_dispatch_bad_dsq.bpf.c | 21 scx_bpf_dsq_insert(p, 0xcafef00d, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
|
| H A D | select_cpu_dfl.bpf.c | 33 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
|
| H A D | select_cpu_dispatch.bpf.c | 32 scx_bpf_dsq_insert(p, dsq_id, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
|
| H A D | enq_select_cpu_fails.bpf.c | |
| H A D | dsp_local_on.bpf.c | 51 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL_ON | target, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
|
| H A D | exit.bpf.c | 36 scx_bpf_dsq_insert(p, DSQ_ID, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
|
| H A D | select_cpu_dfl_nodispatch.bpf.c | 70 scx_bpf_dsq_insert(p, dsq_id, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
|
| H A D | maximal.bpf.c | 25 scx_bpf_dsq_insert(p, DSQ_ID, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
|
| /linux/Documentation/scheduler/ |
| H A D | sched-ext.rst | 151 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 D | compat.bpf.h | 318 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 D | ext.c | 1762 * 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
|