Home
last modified time | relevance | path

Searched refs:vtime (Results 1 – 14 of 14) sorted by relevance

/linux-6.1.9/kernel/sched/
Dcputime.c648 static u64 vtime_delta(struct vtime *vtime) in vtime_delta() argument
653 if (clock < vtime->starttime) in vtime_delta()
656 return clock - vtime->starttime; in vtime_delta()
659 static u64 get_vtime_delta(struct vtime *vtime) in get_vtime_delta() argument
661 u64 delta = vtime_delta(vtime); in get_vtime_delta()
672 WARN_ON_ONCE(vtime->state == VTIME_INACTIVE); in get_vtime_delta()
673 vtime->starttime += delta; in get_vtime_delta()
679 struct vtime *vtime) in vtime_account_system() argument
681 vtime->stime += get_vtime_delta(vtime); in vtime_account_system()
682 if (vtime->stime >= TICK_NSEC) { in vtime_account_system()
[all …]
/linux-6.1.9/include/trace/events/
Diocost.h17 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-6.1.9/block/
Dbfq-wf2q.c117 !bfq_gt(new_entity->start, st->vtime) in bfq_update_next_in_service()
661 !bfq_gt(last_idle->finish, st->vtime)) { in bfq_forget_idle()
666 st->vtime = last_idle->finish; in bfq_forget_idle()
669 if (first_idle && !bfq_gt(first_idle->finish, st->vtime)) in bfq_forget_idle()
790 entity->start = new_st->vtime; in __bfq_entity_update_weight_prio()
823 st->vtime += bfq_delta(served, st->wsum); in bfq_bfqq_served()
921 if (backshifted && bfq_gt(st->vtime, entity->finish)) { in bfq_update_fin_time_enqueue()
922 unsigned long delta = st->vtime - entity->finish; in bfq_update_fin_time_enqueue()
954 if (non_blocking_wait_rq && bfq_gt(st->vtime, entity->finish)) { in __bfq_activate_entity()
958 min_vstart = st->vtime; in __bfq_activate_entity()
[all …]
Dblk-iocost.c500 atomic64_t vtime; member
720 atomic64_add(cost, &iocg->vtime); in iocg_commit_bio()
1081 iocg->saved_margin = now->vnow - atomic64_read(&iocg->vtime); in __propagate_weights()
1240 u64 vtime, vtarget; in iocg_activate() local
1283 vtime = atomic64_read(&iocg->vtime); in iocg_activate()
1285 atomic64_add(vtarget - vtime, &iocg->vtime); in iocg_activate()
1286 atomic64_add(vtarget - vtime, &iocg->done_vtime); in iocg_activate()
1287 vtime = vtarget; in iocg_activate()
1301 last_period, cur_period, vtime); in iocg_activate()
1340 vover = atomic64_read(&iocg->vtime) + in iocg_kick_delay()
[all …]
Dbfq-iosched.h58 u64 vtime; member
/linux-6.1.9/init/
Dinit_task.c172 .vtime.seqcount = SEQCNT_ZERO(init_task.vtime_seqcount),
173 .vtime.starttime = 0,
174 .vtime.state = VTIME_SYS,
/linux-6.1.9/arch/ia64/include/asm/
DKbuild5 generic-y += vtime.h
/linux-6.1.9/tools/cgroup/
Diocost_monitor.py154 vtime = iocg.vtime.counter.value_()
158 self.inflight_pct = (vtime - vdone) * 100 / period_vtime
/linux-6.1.9/arch/powerpc/include/asm/
DKbuild9 generic-y += vtime.h
/linux-6.1.9/tools/testing/selftests/x86/
Dtest_vsyscall.c65 const time_func_t vtime = (time_func_t)VSYS(0xffffffffff600400); variable
278 t_vsys = vtime(&t2_vsys); in test_time()
538 vtime(&tmp); in test_emulation()
/linux-6.1.9/arch/s390/kernel/
Dvtime.c104 static inline u64 scale_vtime(u64 vtime) in scale_vtime() argument
110 return vtime * mult / div; in scale_vtime()
111 return vtime; in scale_vtime()
DMakefile36 obj-y := head64.o traps.o time.o process.o earlypgm.o early.o setup.o idle.o vtime.o
/linux-6.1.9/include/linux/
Dsched.h345 struct vtime { struct
1028 struct vtime vtime; member
/linux-6.1.9/kernel/
Dfork.c2155 seqcount_init(&p->vtime.seqcount); in copy_process()
2156 p->vtime.starttime = 0; in copy_process()
2157 p->vtime.state = VTIME_INACTIVE; in copy_process()