Lines Matching defs:lc

39 	struct lowcore *lc = get_lowcore();
46 lc->system_timer += lc->last_update_timer - timer;
47 lc->last_update_timer = expires;
114 static inline void vtime_reset_last_update(struct lowcore *lc)
119 : "=Q" (lc->last_update_timer),
120 "=Q" (lc->last_update_clock)
131 struct lowcore *lc = get_lowcore();
133 timer = lc->last_update_timer;
134 clock = lc->last_update_clock;
136 vtime_reset_last_update(lc);
138 clock = lc->last_update_clock - clock;
139 timer -= lc->last_update_timer;
142 lc->hardirq_timer += timer;
144 lc->system_timer += timer;
151 user = update_tsk_timer(&tsk->thread.user_timer, lc->user_timer);
152 guest = update_tsk_timer(&tsk->thread.guest_timer, lc->guest_timer);
153 system = update_tsk_timer(&tsk->thread.system_timer, lc->system_timer);
154 hardirq = update_tsk_timer(&tsk->thread.hardirq_timer, lc->hardirq_timer);
155 softirq = update_tsk_timer(&tsk->thread.softirq_timer, lc->softirq_timer);
156 lc->steal_timer += clock - user - guest - system - hardirq - softirq;
181 struct lowcore *lc = get_lowcore();
184 prev->thread.user_timer = lc->user_timer;
185 prev->thread.guest_timer = lc->guest_timer;
186 prev->thread.system_timer = lc->system_timer;
187 prev->thread.hardirq_timer = lc->hardirq_timer;
188 prev->thread.softirq_timer = lc->softirq_timer;
189 lc->user_timer = current->thread.user_timer;
190 lc->guest_timer = current->thread.guest_timer;
191 lc->system_timer = current->thread.system_timer;
192 lc->hardirq_timer = current->thread.hardirq_timer;
193 lc->softirq_timer = current->thread.softirq_timer;
203 struct lowcore *lc = get_lowcore();
209 steal = lc->steal_timer;
210 avg_steal = lc->avg_steal_timer;
212 lc->steal_timer = 0;
216 lc->avg_steal_timer = avg_steal / 2;
221 struct lowcore *lc = get_lowcore();
222 u64 timer = lc->last_update_timer;
224 lc->last_update_timer = get_cpu_timer();
225 return timer - lc->last_update_timer;
230 struct lowcore *lc = get_lowcore();
234 lc->guest_timer += delta;
236 lc->system_timer += delta;