Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dxen_shinfo_test.c155 #define RUNSTATE_offline 3 macro
214 GUEST_ASSERT(rs->time[RUNSTATE_offline] != 0); in guest_code()
220 GUEST_ASSERT(rs->time[RUNSTATE_offline] == 0x6b6b); in guest_code()
227 GUEST_ASSERT(rs->time[RUNSTATE_offline] == 0x5a); in guest_code()
681 0x6b6b - rs->time[RUNSTATE_offline]; in main()
1067 rs->state <= RUNSTATE_offline ? runstate_names[rs->state] : "unknown", in main()
1069 for (int i = RUNSTATE_running; i <= RUNSTATE_offline; i++) { in main()
1114 TEST_ASSERT(crs->time[RUNSTATE_offline] == rst.u.runstate.time_offline, in main()
1116 TEST_ASSERT(crs->time[RUNSTATE_offline + 1] == 0xa5a5a5a5a5a5a5a5ULL, in main()
1148 TEST_ASSERT(rs->time[RUNSTATE_offline] == rst.u.runstate.time_offline, in main()
[all …]
/linux-6.12.1/include/xen/interface/
Dvcpu.h94 #define RUNSTATE_offline 3 macro
/linux-6.12.1/drivers/xen/
Dtime.c158 return state.time[RUNSTATE_runnable] + state.time[RUNSTATE_offline]; in xen_steal_clock()
/linux-6.12.1/arch/x86/kvm/
Dxen.c547 vx->current_runstate = RUNSTATE_offline; in kvm_xen_update_runstate()
965 if (data->u.runstate.state > RUNSTATE_offline) { in kvm_xen_vcpu_set_attr()
979 if (data->u.runstate.state > RUNSTATE_offline) { in kvm_xen_vcpu_set_attr()
1006 vcpu->arch.xen.runstate_times[RUNSTATE_offline] = in kvm_xen_vcpu_set_attr()
1017 if (data->u.runstate.state > RUNSTATE_offline && in kvm_xen_vcpu_set_attr()
1047 vcpu->arch.xen.runstate_times[RUNSTATE_offline] += in kvm_xen_vcpu_set_attr()
1050 if (data->u.runstate.state <= RUNSTATE_offline) in kvm_xen_vcpu_set_attr()
1171 vcpu->arch.xen.runstate_times[RUNSTATE_offline]; in kvm_xen_vcpu_get_attr()
/linux-6.12.1/Documentation/virt/kvm/
Dapi.rst5720 or RUNSTATE_offline) to set the current accounted state as of the