Searched refs:vtime_before (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/sched_ext/ |
| A D | select_cpu_vtime.bpf.c | 23 static inline bool vtime_before(u64 a, u64 b) in vtime_before() function 32 if (vtime_before(vtime, vtime_now - SCX_SLICE_DFL)) in task_vtime() 62 if (vtime_before(vtime_now, p->scx.dsq_vtime)) in BPF_STRUCT_OPS()
|
| /linux/tools/sched_ext/ |
| A D | scx_simple.bpf.c | 55 static inline bool vtime_before(u64 a, u64 b) in vtime_before() function 87 if (vtime_before(vtime, vtime_now - SCX_SLICE_DFL)) in BPF_STRUCT_OPS() 111 if (vtime_before(vtime_now, p->scx.dsq_vtime)) in BPF_STRUCT_OPS()
|
| A D | scx_flatcg.bpf.c | 140 static bool vtime_before(u64 a, u64 b) in vtime_before() function 274 if (vtime_before(cvtime, cvtime_now - max_budget)) in cgrp_cap_budget() 402 if (vtime_before(tvtime, cgc->tvtime_now - SCX_SLICE_DFL)) in BPF_STRUCT_OPS() 536 if (vtime_before(cgc->tvtime_now, p->scx.dsq_vtime)) in BPF_STRUCT_OPS() 646 if (vtime_before(cvtime_now, cgv_node->cvtime)) in try_pick_next_cgroup() 745 if (vtime_before(now, cpuc->cur_at + cgrp_slice_ns)) { in BPF_STRUCT_OPS()
|
| A D | scx_central.bpf.c | 90 static bool vtime_before(u64 a, u64 b) in vtime_before() function 282 vtime_before(now, *started_at + slice_ns)) in central_timerfn()
|
Completed in 11 milliseconds