Lines Matching refs:hv_clock
2301 struct pvclock_vcpu_time_info hv_clock;
2310 hv_clock.tsc_timestamp = ka->master_cycle_now;
2311 hv_clock.system_time = ka->master_kernel_ns + ka->kvmclock_offset;
2319 &hv_clock.tsc_shift,
2320 &hv_clock.tsc_to_system_mul);
2321 ret = __pvclock_read_cycles(&hv_clock, rdtsc());
2358 vcpu->hv_clock.version = guest_hv_clock.version + 1;
2360 &vcpu->hv_clock,
2361 sizeof(vcpu->hv_clock.version));
2366 vcpu->hv_clock.flags |= (guest_hv_clock.flags & PVCLOCK_GUEST_STOPPED);
2369 vcpu->hv_clock.flags |= PVCLOCK_GUEST_STOPPED;
2373 trace_kvm_pvclock_update(v->vcpu_id, &vcpu->hv_clock);
2376 &vcpu->hv_clock,
2377 sizeof(vcpu->hv_clock));
2381 vcpu->hv_clock.version++;
2383 &vcpu->hv_clock,
2384 sizeof(vcpu->hv_clock.version));
2454 &vcpu->hv_clock.tsc_shift,
2455 &vcpu->hv_clock.tsc_to_system_mul);
2459 vcpu->hv_clock.tsc_timestamp = tsc_timestamp;
2460 vcpu->hv_clock.system_time = kernel_ns + v->kvm->arch.kvmclock_offset;
2468 vcpu->hv_clock.flags = pvclock_flags;
2473 kvm_hv_setup_tsc_page(v->kvm, &vcpu->hv_clock);