/linux/tools/sched_ext/ |
H A D | scx_simple.bpf.c | 68 scx_bpf_dispatch(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS() 79 scx_bpf_dispatch(p, SHARED_DSQ, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS() 87 if (vtime_before(vtime, vtime_now - SCX_SLICE_DFL)) in BPF_STRUCT_OPS() 88 vtime = vtime_now - SCX_SLICE_DFL; in BPF_STRUCT_OPS() 90 scx_bpf_dispatch_vtime(p, SHARED_DSQ, SCX_SLICE_DFL, vtime, in BPF_STRUCT_OPS() 129 p->scx.dsq_vtime += (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; in BPF_STRUCT_OPS()
|
H A D | scx_flatcg.bpf.c | 60 const volatile u64 cgrp_slice_ns = SCX_SLICE_DFL; 344 scx_bpf_dispatch(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS() 380 scx_bpf_dispatch(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS() 383 scx_bpf_dispatch(p, FALLBACK_DSQ, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS() 394 scx_bpf_dispatch(p, cgrp->kn->id, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS() 402 if (vtime_before(tvtime, cgc->tvtime_now - SCX_SLICE_DFL)) in BPF_STRUCT_OPS() 403 tvtime = cgc->tvtime_now - SCX_SLICE_DFL; in BPF_STRUCT_OPS() 405 scx_bpf_dispatch_vtime(p, cgrp->kn->id, SCX_SLICE_DFL, in BPF_STRUCT_OPS() 559 (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; in BPF_STRUCT_OPS()
|
H A D | scx_central.bpf.c | 60 const volatile u64 slice_ns = SCX_SLICE_DFL;
|
H A D | scx_qmap.bpf.c | 36 const volatile u64 slice_ns = SCX_SLICE_DFL;
|
/linux/tools/testing/selftests/sched_ext/ |
H A D | select_cpu_vtime.bpf.c | 32 if (vtime_before(vtime, vtime_now - SCX_SLICE_DFL)) in task_vtime() 33 return vtime_now - SCX_SLICE_DFL; in task_vtime() 50 scx_bpf_dispatch_vtime(p, VTIME_DSQ, SCX_SLICE_DFL, task_vtime(p), 0); in BPF_STRUCT_OPS() 69 p->scx.dsq_vtime += (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; in BPF_STRUCT_OPS()
|
H A D | select_cpu_dispatch_dbl_dsp.bpf.c | 21 scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS() 22 scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
|
H A D | select_cpu_dispatch_bad_dsq.bpf.c | 21 scx_bpf_dispatch(p, 0xcafef00d, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
|
H A D | select_cpu_dfl.bpf.c | 33 scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
|
H A D | select_cpu_dispatch.bpf.c | 32 scx_bpf_dispatch(p, dsq_id, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
|
H A D | ddsp_bogus_dsq_fail.bpf.c | 23 scx_bpf_dispatch_vtime(p, 0xcafef00d, SCX_SLICE_DFL, in BPF_STRUCT_OPS()
|
H A D | ddsp_vtimelocal_fail.bpf.c | 20 scx_bpf_dispatch_vtime(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, in BPF_STRUCT_OPS()
|
H A D | enq_select_cpu_fails.bpf.c | 34 scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
|
H A D | dsp_local_on.bpf.c | 48 scx_bpf_dispatch(p, SCX_DSQ_LOCAL_ON | target, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
|
H A D | select_cpu_dfl_nodispatch.bpf.c | 70 scx_bpf_dispatch(p, dsq_id, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
|
H A D | exit.bpf.c | 36 scx_bpf_dispatch(p, DSQ_ID, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
|
H A D | maximal.bpf.c | 23 scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
|
/linux/include/linux/sched/ |
H A D | ext.h | 20 SCX_SLICE_DFL = 20 * 1000000, /* 20ms */ enumerator
|
/linux/init/ |
H A D | init_task.c | 111 .slice = SCX_SLICE_DFL,
|
/linux/kernel/sched/ |
H A D | ext.c | 2041 p->scx.slice = SCX_SLICE_DFL; in do_enqueue_task() 2048 p->scx.slice = SCX_SLICE_DFL; in do_enqueue_task() 2991 p->scx.slice = SCX_SLICE_DFL; in pick_task_scx() 3006 p->scx.slice = SCX_SLICE_DFL; in pick_task_scx() 3193 p->scx.slice = SCX_SLICE_DFL; in select_task_rq_scx() 3583 scx->slice = SCX_SLICE_DFL; in init_scx_entity() 5239 p->scx.slice = SCX_SLICE_DFL; in scx_ops_enable()
|