Searched refs:dsq_vtime (Results 1 – 9 of 9) sorted by relevance
| /linux/tools/testing/selftests/sched_ext/ |
| H A D | select_cpu_vtime.bpf.c | 30 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 D | maybe_null_fail_dsp.bpf.c | 17 vtime_test = p->scx.dsq_vtime; in BPF_STRUCT_OPS()
|
| H A D | maybe_null.bpf.c | 18 vtime_test = p->scx.dsq_vtime; in BPF_STRUCT_OPS()
|
| H A D | ddsp_bogus_dsq_fail.bpf.c | 24 p->scx.dsq_vtime, 0); in BPF_STRUCT_OPS()
|
| H A D | ddsp_vtimelocal_fail.bpf.c | 21 p->scx.dsq_vtime, 0); in BPF_STRUCT_OPS()
|
| /linux/tools/sched_ext/ |
| H A D | scx_flatcg.bpf.c | 393 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 D | ext.h | 208 u64 dsq_vtime; member
|
| /linux/tools/sched_ext/include/scx/ |
| H A D | compat.bpf.h | 352 p->scx.dsq_vtime = vtime; in scx_bpf_task_set_dsq_vtime()
|
| /linux/kernel/sched/ |
| H A D | ext.c | 971 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()
|