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_flatcg.bpf.c393 u64 tvtime = p->scx.dsq_vtime; in BPF_STRUCT_OPS()
533 if (time_before(cgc->tvtime_now, p->scx.dsq_vtime)) in BPF_STRUCT_OPS()
534 cgc->tvtime_now = p->scx.dsq_vtime; in BPF_STRUCT_OPS()
555 p->scx.dsq_vtime += in BPF_STRUCT_OPS()
825 p->scx.dsq_vtime = cgc->tvtime_now; in BPF_STRUCT_OPS()
924 delta = time_delta(p->scx.dsq_vtime, from_cgc->tvtime_now); in BPF_STRUCT_OPS()
925 p->scx.dsq_vtime = to_cgc->tvtime_now + delta; in BPF_STRUCT_OPS()
/linux/include/linux/sched/
H A Dext.h208 u64 dsq_vtime; member
/linux/tools/sched_ext/include/scx/
H A Dcompat.bpf.h352 p->scx.dsq_vtime = vtime; in scx_bpf_task_set_dsq_vtime()
/linux/kernel/sched/
H A Dext.c971 return time_before64(a->scx.dsq_vtime, b->scx.dsq_vtime); in scx_dsq_priq_less()
4513 p->scx.dsq_vtime, p->scx.slice, p->scx.weight); in scx_dump_task()
5173 if (off >= offsetof(struct task_struct, scx.dsq_vtime) && in bpf_scx_btf_struct_access()
5174 off + size <= offsetofend(struct task_struct, scx.dsq_vtime)) in bpf_scx_btf_struct_access()
5799 p->scx.dsq_vtime = vtime; in scx_dsq_insert_vtime()
5956 p->scx.dsq_vtime = kit->vtime; in scx_dsq_move()
6359 p->scx.dsq_vtime = vtime; in scx_bpf_task_set_dsq_vtime()