Home
last modified time | relevance | path

Searched refs:dsq_vtime (Results 1 – 9 of 9) sorted by relevance

/linux/tools/testing/selftests/sched_ext/
H A Dselect_cpu_vtime.bpf.c30 u64 vtime = p->scx.dsq_vtime; in task_vtime()
62 if (vtime_before(vtime_now, p->scx.dsq_vtime)) in BPF_STRUCT_OPS()
63 vtime_now = p->scx.dsq_vtime; in BPF_STRUCT_OPS()
69 p->scx.dsq_vtime += (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; in BPF_STRUCT_OPS()
74 p->scx.dsq_vtime = vtime_now; in BPF_STRUCT_OPS()
H A Dmaybe_null_fail_dsp.bpf.c17 vtime_test = p->scx.dsq_vtime; in BPF_STRUCT_OPS()
H A Dmaybe_null.bpf.c18 vtime_test = p->scx.dsq_vtime; in BPF_STRUCT_OPS()
H A Dddsp_bogus_dsq_fail.bpf.c24 p->scx.dsq_vtime, 0); in BPF_STRUCT_OPS()
H A Dddsp_vtimelocal_fail.bpf.c21 p->scx.dsq_vtime, 0); in BPF_STRUCT_OPS()
/linux/tools/sched_ext/
H A Dscx_simple.bpf.c81 u64 vtime = p->scx.dsq_vtime; in BPF_STRUCT_OPS()
111 if (vtime_before(vtime_now, p->scx.dsq_vtime)) in BPF_STRUCT_OPS()
112 vtime_now = p->scx.dsq_vtime; in BPF_STRUCT_OPS()
129 p->scx.dsq_vtime += (SCX_SLICE_DFL - p->scx.slice) * 100 / p->scx.weight; in BPF_STRUCT_OPS()
134 p->scx.dsq_vtime = vtime_now; in BPF_STRUCT_OPS()
H A Dscx_flatcg.bpf.c396 u64 tvtime = p->scx.dsq_vtime; in BPF_STRUCT_OPS()
536 if (vtime_before(cgc->tvtime_now, p->scx.dsq_vtime)) in BPF_STRUCT_OPS()
537 cgc->tvtime_now = p->scx.dsq_vtime; in BPF_STRUCT_OPS()
558 p->scx.dsq_vtime += in BPF_STRUCT_OPS()
828 p->scx.dsq_vtime = cgc->tvtime_now; in BPF_STRUCT_OPS()
927 vtime_delta = p->scx.dsq_vtime - from_cgc->tvtime_now; in BPF_STRUCT_OPS()
928 p->scx.dsq_vtime = to_cgc->tvtime_now + vtime_delta; in BPF_STRUCT_OPS()
/linux/include/linux/sched/
H A Dext.h183 u64 dsq_vtime; member
/linux/kernel/sched/
H A Dext.c1662 return time_before64(a->scx.dsq_vtime, b->scx.dsq_vtime); in scx_dsq_priq_less()
4761 p->scx.dsq_vtime); in scx_dump_task()
5401 if (off >= offsetof(struct task_struct, scx.dsq_vtime) && in bpf_scx_btf_struct_access()
5402 off + size <= offsetofend(struct task_struct, scx.dsq_vtime)) in bpf_scx_btf_struct_access()
6071 p->scx.dsq_vtime = vtime; in scx_bpf_dispatch_vtime()
6177 p->scx.dsq_vtime = kit->vtime; in scx_dispatch_from_dsq()