Searched refs:vcpu_runstate_info (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/xen/ |
D | time.c | 23 static DEFINE_PER_CPU(struct vcpu_runstate_info, xen_runstate); 56 struct vcpu_runstate_info *res, unsigned int cpu) in xen_get_runstate_snapshot_cpu_delta() 59 struct vcpu_runstate_info *state; in xen_get_runstate_snapshot_cpu_delta() 74 static void xen_get_runstate_snapshot_cpu(struct vcpu_runstate_info *res, in xen_get_runstate_snapshot_cpu() 87 static struct vcpu_runstate_info *runstate_delta; in xen_manage_runstate_time() 88 struct vcpu_runstate_info state; in xen_manage_runstate_time() 142 void xen_get_runstate_snapshot(struct vcpu_runstate_info *res) in xen_get_runstate_snapshot() 155 struct vcpu_runstate_info state; in xen_steal_clock()
|
/Linux-v6.6/include/xen/interface/ |
D | vcpu.h | 60 struct vcpu_runstate_info { struct 77 DEFINE_GUEST_HANDLE_STRUCT(vcpu_runstate_info); argument 112 GUEST_HANDLE(vcpu_runstate_info) h; 113 struct vcpu_runstate_info *v;
|
/Linux-v6.6/arch/x86/kvm/ |
D | xen.c | 182 struct vcpu_runstate_info rs; in kvm_xen_update_runstate_guest() 198 BUILD_BUG_ON(offsetof(struct vcpu_runstate_info, state) != 0); in kvm_xen_update_runstate_guest() 206 BUILD_BUG_ON(offsetof(struct vcpu_runstate_info, state_entry_time) != in kvm_xen_update_runstate_guest() 208 BUILD_BUG_ON(offsetof(struct vcpu_runstate_info, time) != in kvm_xen_update_runstate_guest() 210 BUILD_BUG_ON(sizeof(struct vcpu_runstate_info) != 0x2c + 4); in kvm_xen_update_runstate_guest() 216 BUILD_BUG_ON(offsetof(struct vcpu_runstate_info, state) != in kvm_xen_update_runstate_guest() 218 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, state) != in kvm_xen_update_runstate_guest() 229 BUILD_BUG_ON(sizeof_field(struct vcpu_runstate_info, state_entry_time) != in kvm_xen_update_runstate_guest() 239 BUILD_BUG_ON(offsetof(struct vcpu_runstate_info, state_entry_time) != in kvm_xen_update_runstate_guest() 240 offsetof(struct vcpu_runstate_info, time) - sizeof(uint64_t)); in kvm_xen_update_runstate_guest() [all …]
|
/Linux-v6.6/include/xen/ |
D | xen-ops.h | 39 void xen_get_runstate_snapshot(struct vcpu_runstate_info *res);
|
/Linux-v6.6/tools/testing/selftests/kvm/x86_64/ |
D | xen_shinfo_test.c | 117 struct vcpu_runstate_info { struct 189 struct vcpu_runstate_info *rs = (void *)RUNSTATE_VADDR; in guest_code() 615 struct vcpu_runstate_info *rs = addr_gpa2hva(vm, RUNSTATE_ADDR); in main()
|
/Linux-v6.6/Documentation/virt/kvm/ |
D | api.rst | 5498 other vCPUs' vcpu_runstate_info. Xen guests enable this feature via 5566 Sets the guest physical address of the vcpu_runstate_info for a given 8289 XEN_RUNSTATE_UPDATE flag in guest memory mapped vcpu_runstate_info during
|