Home
last modified time | relevance | path

Searched refs:RUNSTATE_offline (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/tools/testing/selftests/kvm/x86_64/
Dxen_shinfo_test.c154 #define RUNSTATE_offline 3 macro
212 GUEST_ASSERT(rs->time[RUNSTATE_offline] != 0); in guest_code()
218 GUEST_ASSERT(rs->time[RUNSTATE_offline] == 0x6b6b); in guest_code()
225 GUEST_ASSERT(rs->time[RUNSTATE_offline] == 0x5a); in guest_code()
668 0x6b6b - rs->time[RUNSTATE_offline]; in main()
1021 rs->state <= RUNSTATE_offline ? runstate_names[rs->state] : "unknown", in main()
1023 for (int i = RUNSTATE_running; i <= RUNSTATE_offline; i++) { in main()
1068 TEST_ASSERT(crs->time[RUNSTATE_offline] == rst.u.runstate.time_offline, in main()
1070 TEST_ASSERT(crs->time[RUNSTATE_offline + 1] == 0xa5a5a5a5a5a5a5a5ULL, in main()
1102 TEST_ASSERT(rs->time[RUNSTATE_offline] == rst.u.runstate.time_offline, in main()
[all …]
/Linux-v6.6/include/xen/interface/
Dvcpu.h94 #define RUNSTATE_offline 3 macro
/Linux-v6.6/drivers/xen/
Dtime.c158 return state.time[RUNSTATE_runnable] + state.time[RUNSTATE_offline]; in xen_steal_clock()
/Linux-v6.6/arch/x86/kvm/
Dxen.c451 vx->current_runstate = RUNSTATE_offline; in kvm_xen_update_runstate()
808 if (data->u.runstate.state > RUNSTATE_offline) { in kvm_xen_vcpu_set_attr()
822 if (data->u.runstate.state > RUNSTATE_offline) { in kvm_xen_vcpu_set_attr()
849 vcpu->arch.xen.runstate_times[RUNSTATE_offline] = in kvm_xen_vcpu_set_attr()
860 if (data->u.runstate.state > RUNSTATE_offline && in kvm_xen_vcpu_set_attr()
890 vcpu->arch.xen.runstate_times[RUNSTATE_offline] += in kvm_xen_vcpu_set_attr()
893 if (data->u.runstate.state <= RUNSTATE_offline) in kvm_xen_vcpu_set_attr()
1008 vcpu->arch.xen.runstate_times[RUNSTATE_offline]; in kvm_xen_vcpu_get_attr()
/Linux-v6.6/Documentation/virt/kvm/
Dapi.rst5588 or RUNSTATE_offline) to set the current accounted state as of the