Lines Matching refs:now

187 	/* If we're a nested hypervisor, fall back to ordinary IPIs for now */
322 u64 now;
333 now = mftb();
342 kvmppc_core_end_stolen(vc, now);
347 vcpu->arch.busy_stolen += now - vcpu->arch.busy_preempt;
357 u64 now;
375 now = mftb();
378 kvmppc_core_start_stolen(vc, now);
382 vcpu->arch.busy_preempt = now;
710 * If it's now too short, it must be that userspace
770 * Return the accumulated stolen time for the vcore up until `now'.
773 static u64 vcore_stolen_time(struct kvmppc_vcore *vc, u64 now)
784 p += now - vc->preempt_tb;
791 unsigned int pcpu, u64 now,
807 dt->timebase = cpu_to_be64(now);
829 u64 now;
836 now = mftb();
838 core_stolen = vcore_stolen_time(vc, now);
848 __kvmppc_create_dtl_entry(vcpu, vpa, vc->pcpu, now + kvmppc_get_tb_offset(vcpu), stolen);
855 u64 now)
871 __kvmppc_create_dtl_entry(vcpu, vpa, vc->pcpu, now, stolen_delta);
3157 unsigned long dec_nsec, now;
3159 now = get_tb();
3160 if (now > kvmppc_dec_expires_host_tb(vcpu)) {
3166 dec_nsec = tb_to_ns(kvmppc_dec_expires_host_tb(vcpu) - now);
3176 u64 now;
3181 now = tb;
3182 vcpu->arch.busy_stolen += vcore_stolen_time(vc, now) -
3184 vcpu->arch.busy_preempt = now;
3649 u64 now;
3654 now = get_tb();
3665 if (now < kvmppc_dec_expires_host_tb(vcpu) &&
4025 /* prevent other vcpu threads from doing kvmppc_start_thread() now */
4078 /* make sure updates to secondary vcpu structs are visible now */
4284 /* H_CEDE has to be handled now, not later */
4314 /* H_CEDE has to be handled now */
4856 * cancel pending decrementer exception if DEC is now positive, or if
4857 * entering a nested guest in which case the decrementer is now owned
5006 * into the guest by now. Final sanity check:
5079 /* We only support these sizes for now, and no muti-size segments */
5338 /* We must have some memory at 0 by now */
5682 * Track that we now have a HV mode VM active. This blocks secondary
5829 * For now, we only support interrupts for which the EOI operation
6114 /* We can change a guest to/from radix now, if the host is radix */
6183 /* For now quadrants are the only way to access nested guest memory */
6202 /* For now quadrants are the only way to access nested guest memory */