Home
last modified time | relevance | path

Searched refs:SCX_SLICE_DFL (Results 1 – 19 of 19) sorted by relevance

/linux/tools/sched_ext/
H A Dscx_simple.bpf.c68 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 Dscx_flatcg.bpf.c60 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 Dscx_central.bpf.c60 const volatile u64 slice_ns = SCX_SLICE_DFL;
H A Dscx_qmap.bpf.c36 const volatile u64 slice_ns = SCX_SLICE_DFL;
/linux/tools/testing/selftests/sched_ext/
H A Dselect_cpu_vtime.bpf.c32 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 Dselect_cpu_dispatch_dbl_dsp.bpf.c21 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 Dselect_cpu_dispatch_bad_dsq.bpf.c21 scx_bpf_dispatch(p, 0xcafef00d, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
H A Dselect_cpu_dfl.bpf.c33 scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
H A Dselect_cpu_dispatch.bpf.c32 scx_bpf_dispatch(p, dsq_id, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
H A Dddsp_bogus_dsq_fail.bpf.c23 scx_bpf_dispatch_vtime(p, 0xcafef00d, SCX_SLICE_DFL, in BPF_STRUCT_OPS()
H A Dddsp_vtimelocal_fail.bpf.c20 scx_bpf_dispatch_vtime(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, in BPF_STRUCT_OPS()
H A Denq_select_cpu_fails.bpf.c34 scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
H A Ddsp_local_on.bpf.c48 scx_bpf_dispatch(p, SCX_DSQ_LOCAL_ON | target, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
H A Dselect_cpu_dfl_nodispatch.bpf.c70 scx_bpf_dispatch(p, dsq_id, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
H A Dexit.bpf.c36 scx_bpf_dispatch(p, DSQ_ID, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
H A Dmaximal.bpf.c23 scx_bpf_dispatch(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
/linux/include/linux/sched/
H A Dext.h20 SCX_SLICE_DFL = 20 * 1000000, /* 20ms */ enumerator
/linux/init/
H A Dinit_task.c111 .slice = SCX_SLICE_DFL,
/linux/kernel/sched/
H A Dext.c2041 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()