| /linux/kernel/sched/ |
| A D | cputime.c | 707 struct vtime *vtime = &tsk->vtime; in vtime_account_kernel() local 719 struct vtime *vtime = &tsk->vtime; in vtime_user_enter() local 729 struct vtime *vtime = &tsk->vtime; in vtime_user_exit() local 743 struct vtime *vtime = &tsk->vtime; in vtime_guest_enter() local 761 struct vtime *vtime = &tsk->vtime; in vtime_guest_exit() local 778 struct vtime *vtime = &prev->vtime; in vtime_task_switch_generic() local 805 struct vtime *vtime = &t->vtime; in vtime_init_idle() local 819 struct vtime *vtime = &t->vtime; in task_gtime() local 845 struct vtime *vtime = &t->vtime; in task_cputime() local 923 struct vtime *vtime = &tsk->vtime; in kcpustat_field_vtime() local [all …]
|
| A D | ext.c | 1267 u64 vtime; member 6061 u64 slice, u64 vtime, u64 enq_flags) in scx_bpf_dispatch_vtime() argument 6071 p->scx.dsq_vtime = vtime; in scx_bpf_dispatch_vtime() 6177 p->scx.dsq_vtime = kit->vtime; in scx_dispatch_from_dsq() 6308 struct bpf_iter_scx_dsq *it__iter, u64 vtime) in scx_bpf_dispatch_from_dsq_set_vtime() argument 6312 kit->vtime = vtime; in scx_bpf_dispatch_from_dsq_set_vtime()
|
| /linux/include/trace/events/ |
| A D | iocost.h | 17 u64 last_period, u64 cur_period, u64 vtime), 19 TP_ARGS(iocg, path, now, last_period, cur_period, vtime), 29 __field(u64, vtime) 44 __entry->vtime = vtime; 57 __entry->vtime, __entry->inuse, __entry->weight, 64 u64 last_period, u64 cur_period, u64 vtime), 66 TP_ARGS(iocg, path, now, last_period, cur_period, vtime) 71 u64 last_period, u64 cur_period, u64 vtime), 73 TP_ARGS(iocg, path, now, last_period, cur_period, vtime)
|
| /linux/tools/sched_ext/ |
| A D | scx_simple.bpf.c | 81 u64 vtime = p->scx.dsq_vtime; in BPF_STRUCT_OPS() local 87 if (vtime_before(vtime, vtime_now - SCX_SLICE_DFL)) in BPF_STRUCT_OPS() 88 vtime = vtime_now - SCX_SLICE_DFL; in BPF_STRUCT_OPS() 90 scx_bpf_dispatch_vtime(p, SHARED_DSQ, SCX_SLICE_DFL, vtime, in BPF_STRUCT_OPS()
|
| A D | README.md | 169 scx_simple can be run in either global weighted vtime mode, or FIFO mode.
|
| /linux/block/ |
| A D | bfq-wf2q.c | 117 !bfq_gt(new_entity->start, st->vtime) in bfq_update_next_in_service() 667 st->vtime = last_idle->finish; in bfq_forget_idle() 771 entity->start = new_st->vtime; in __bfq_entity_update_weight_prio() 804 st->vtime += bfq_delta(served, st->wsum); in bfq_bfqq_served() 939 min_vstart = st->vtime; in __bfq_activate_entity() 1273 return st->vtime; in bfq_calc_vtime_jump() 1278 if (new_value > st->vtime) { in bfq_update_vtime() 1279 st->vtime = new_value; in bfq_update_vtime() 1297 u64 vtime) in bfq_first_active_entity() argument 1305 if (!bfq_gt(entry->start, vtime)) in bfq_first_active_entity() [all …]
|
| A D | blk-iocost.c | 504 atomic64_t vtime; member 1265 u64 vtime, vtarget; in iocg_activate() local 1308 vtime = atomic64_read(&iocg->vtime); in iocg_activate() 1310 atomic64_add(vtarget - vtime, &iocg->vtime); in iocg_activate() 1312 vtime = vtarget; in iocg_activate() 1747 u64 vtime = atomic64_read(&iocg->vtime); in hweight_after_donation() local 1764 vtime += excess; in hweight_after_donation() 2204 u64 vtime = atomic64_read(&iocg->vtime); in ioc_check_iocgs() local 2284 vtime = atomic64_read(&iocg->vtime); in ioc_timer_fn() 2625 vtime = atomic64_read(&iocg->vtime); in ioc_rqos_throttle() [all …]
|
| A D | bfq-iosched.h | 65 u64 vtime; member
|
| /linux/tools/testing/selftests/sched_ext/ |
| A D | select_cpu_vtime.bpf.c | 30 u64 vtime = p->scx.dsq_vtime; in task_vtime() local 32 if (vtime_before(vtime, vtime_now - SCX_SLICE_DFL)) in task_vtime() 35 return vtime; in task_vtime()
|
| /linux/tools/sched_ext/include/scx/ |
| A D | compat.bpf.h | 27 #define __COMPAT_scx_bpf_dispatch_from_dsq_set_vtime(it, vtime) \ argument 29 scx_bpf_dispatch_from_dsq_set_vtime((it), (vtime)) : (void)0)
|
| A D | common.bpf.h | 40 void scx_bpf_dispatch_vtime(struct task_struct *p, u64 dsq_id, u64 slice, u64 vtime, u64 enq_flags)… 45 void scx_bpf_dispatch_from_dsq_set_vtime(struct bpf_iter_scx_dsq *it__iter, u64 vtime) __ksym __wea…
|
| /linux/init/ |
| A D | init_task.c | 181 .vtime.seqcount = SEQCNT_ZERO(init_task.vtime_seqcount), 182 .vtime.starttime = 0, 183 .vtime.state = VTIME_SYS,
|
| /linux/tools/cgroup/ |
| A D | iocost_monitor.py | 157 vtime = iocg.vtime.counter.value_() 161 self.inflight_pct = (vtime - vdone) * 100 / period_vtime
|
| /linux/tools/testing/selftests/x86/ |
| A D | test_vsyscall.c | 60 const time_func_t vtime = (time_func_t)VSYS(0xffffffffff600400); variable 185 t_vsys = vtime(&t2_vsys); in test_time() 501 vtime(&tmp); in test_emulation()
|
| /linux/arch/s390/kernel/ |
| A D | vtime.c | 97 static inline u64 scale_vtime(u64 vtime) in scale_vtime() argument 103 return vtime * mult / div; in scale_vtime() 104 return vtime; in scale_vtime()
|
| A D | Makefile | 39 obj-y := head64.o traps.o time.o process.o early.o setup.o idle.o vtime.o
|
| /linux/include/linux/ |
| A D | sched.h | 360 struct vtime { struct 1078 struct vtime vtime; member
|
| /linux/kernel/ |
| A D | fork.c | 2277 seqcount_init(&p->vtime.seqcount); in copy_process() 2278 p->vtime.starttime = 0; in copy_process() 2279 p->vtime.state = VTIME_INACTIVE; in copy_process()
|