Searched refs:vtime (Results 1 – 14 of 14) sorted by relevance
/Linux-v5.4/kernel/sched/ |
D | cputime.c | 684 static u64 vtime_delta(struct vtime *vtime) in vtime_delta() argument 689 if (clock < vtime->starttime) in vtime_delta() 692 return clock - vtime->starttime; in vtime_delta() 695 static u64 get_vtime_delta(struct vtime *vtime) in get_vtime_delta() argument 697 u64 delta = vtime_delta(vtime); in get_vtime_delta() 708 WARN_ON_ONCE(vtime->state == VTIME_INACTIVE); in get_vtime_delta() 709 vtime->starttime += delta; in get_vtime_delta() 715 struct vtime *vtime) in __vtime_account_system() argument 717 vtime->stime += get_vtime_delta(vtime); in __vtime_account_system() 718 if (vtime->stime >= TICK_NSEC) { in __vtime_account_system() [all …]
|
/Linux-v5.4/block/ |
D | blk-iocost.c | 470 atomic64_t vtime; member 675 atomic64_add(cost, &iocg->vtime); in iocg_commit_bio() 1031 u64 vtime, vmargin, vmin; in iocg_activate() local 1076 vtime = atomic64_read(&iocg->vtime); in iocg_activate() 1081 time_before64(vtime, vmin)) { in iocg_activate() 1082 atomic64_add(vmin - vtime, &iocg->vtime); in iocg_activate() 1083 atomic64_add(vmin - vtime, &iocg->done_vtime); in iocg_activate() 1084 vtime = vmin; in iocg_activate() 1098 last_period, cur_period, vtime); in iocg_activate() 1100 iocg->last_vtime = vtime; in iocg_activate() [all …]
|
D | bfq-wf2q.c | 117 !bfq_gt(new_entity->start, st->vtime) in bfq_update_next_in_service() 682 !bfq_gt(last_idle->finish, st->vtime)) { in bfq_forget_idle() 687 st->vtime = last_idle->finish; in bfq_forget_idle() 690 if (first_idle && !bfq_gt(first_idle->finish, st->vtime)) in bfq_forget_idle() 811 entity->start = new_st->vtime; in __bfq_entity_update_weight_prio() 844 st->vtime += bfq_delta(served, st->wsum); in bfq_bfqq_served() 942 if (backshifted && bfq_gt(st->vtime, entity->finish)) { in bfq_update_fin_time_enqueue() 943 unsigned long delta = st->vtime - entity->finish; in bfq_update_fin_time_enqueue() 975 if (non_blocking_wait_rq && bfq_gt(st->vtime, entity->finish)) { in __bfq_activate_entity() 979 min_vstart = st->vtime; in __bfq_activate_entity() [all …]
|
D | bfq-iosched.h | 57 u64 vtime; member
|
/Linux-v5.4/include/trace/events/ |
D | iocost.h | 17 u64 last_period, u64 cur_period, u64 vtime), 19 TP_ARGS(iocg, path, now, last_period, cur_period, vtime), 30 __field(u64, vtime) 46 __entry->vtime = vtime; 59 __entry->last_vtime, __entry->vtime,
|
/Linux-v5.4/init/ |
D | init_task.c | 152 .vtime.seqcount = SEQCNT_ZERO(init_task.vtime_seqcount), 153 .vtime.starttime = 0, 154 .vtime.state = VTIME_SYS,
|
/Linux-v5.4/arch/ia64/include/asm/ |
D | Kbuild | 11 generic-y += vtime.h
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | Kbuild | 12 generic-y += vtime.h
|
/Linux-v5.4/tools/cgroup/ |
D | iocost_monitor.py | 154 vtime = iocg.vtime.counter.value_() 158 self.inflight_pct = (vtime - vdone) * 100 / period_vtime
|
/Linux-v5.4/tools/testing/selftests/x86/ |
D | test_vsyscall.c | 63 const time_func_t vtime = (time_func_t)VSYS(0xffffffffff600400); variable 276 t_vsys = vtime(&t2_vsys); in test_time() 531 vtime(&tmp); in test_emulation()
|
/Linux-v5.4/arch/s390/kernel/ |
D | vtime.c | 104 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()
|
D | Makefile | 41 obj-y := traps.o time.o process.o base.o early.o setup.o idle.o vtime.o
|
/Linux-v5.4/include/linux/ |
D | sched.h | 259 struct vtime { struct 846 struct vtime vtime; member
|
/Linux-v5.4/kernel/ |
D | fork.c | 1915 seqcount_init(&p->vtime.seqcount); in copy_process() 1916 p->vtime.starttime = 0; in copy_process() 1917 p->vtime.state = VTIME_INACTIVE; in copy_process()
|