Home
last modified time | relevance | path

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

/tools/sched_ext/
A 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()
82 if (time_before(vtime, vtime_now - SCX_SLICE_DFL)) in BPF_STRUCT_OPS()
83 vtime = vtime_now - SCX_SLICE_DFL; in BPF_STRUCT_OPS()
85 scx_bpf_dsq_insert_vtime(p, SHARED_DSQ, SCX_SLICE_DFL, vtime, in BPF_STRUCT_OPS()
124 p->scx.dsq_vtime += (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; in BPF_STRUCT_OPS()
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()
399 if (time_before(tvtime, cgc->tvtime_now - SCX_SLICE_DFL)) in BPF_STRUCT_OPS()
400 tvtime = cgc->tvtime_now - SCX_SLICE_DFL; in BPF_STRUCT_OPS()
402 scx_bpf_dsq_insert_vtime(p, cgrp->kn->id, SCX_SLICE_DFL, in BPF_STRUCT_OPS()
556 (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; in BPF_STRUCT_OPS()
/tools/testing/selftests/sched_ext/
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_dsq_insert_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()
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()
A Denq_select_cpu.bpf.c29 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL_ON | cpu, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
33 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
A Dallowed_cpus.bpf.c47 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
60 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
A Dselect_cpu_dispatch_bad_dsq.bpf.c21 scx_bpf_dsq_insert(p, 0xcafef00d, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
A Dselect_cpu_dfl.bpf.c33 scx_bpf_dsq_insert(p, SCX_DSQ_GLOBAL, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
A Dselect_cpu_dispatch.bpf.c32 scx_bpf_dsq_insert(p, dsq_id, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
A Dddsp_bogus_dsq_fail.bpf.c23 scx_bpf_dsq_insert_vtime(p, 0xcafef00d, SCX_SLICE_DFL, in BPF_STRUCT_OPS()
A Dddsp_vtimelocal_fail.bpf.c20 scx_bpf_dsq_insert_vtime(p, SCX_DSQ_LOCAL, SCX_SLICE_DFL, in BPF_STRUCT_OPS()
A Ddsp_local_on.bpf.c51 scx_bpf_dsq_insert(p, SCX_DSQ_LOCAL_ON | target, SCX_SLICE_DFL, 0); in BPF_STRUCT_OPS()
A Dexit.bpf.c36 scx_bpf_dsq_insert(p, DSQ_ID, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
A Dselect_cpu_dfl_nodispatch.bpf.c70 scx_bpf_dsq_insert(p, dsq_id, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
A Dnuma.bpf.c64 scx_bpf_dsq_insert(p, node, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
A Dmaximal.bpf.c25 scx_bpf_dsq_insert(p, DSQ_ID, SCX_SLICE_DFL, enq_flags); in BPF_STRUCT_OPS()
/tools/sched_ext/include/scx/
A Denums.autogen.h9 SCX_ENUM_SET(skel, scx_public_consts, SCX_SLICE_DFL); \
A Denums.autogen.bpf.h11 #define SCX_SLICE_DFL __SCX_SLICE_DFL macro

Completed in 823 milliseconds