Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dxen_shinfo_test.c121 #define RUNSTATE_offline 3 macro
178 GUEST_SYNC(RUNSTATE_offline); in guest_code()
179 GUEST_ASSERT(rs->time[RUNSTATE_offline] != 0); in guest_code()
185 GUEST_ASSERT(rs->time[RUNSTATE_offline] == 0x6b6b); in guest_code()
192 GUEST_ASSERT(rs->time[RUNSTATE_offline] == 0x5a); in guest_code()
639 case RUNSTATE_runnable...RUNSTATE_offline: in main()
659 0x6b6b - rs->time[RUNSTATE_offline]; in main()
995 rs->state <= RUNSTATE_offline ? runstate_names[rs->state] : "unknown", in main()
997 for (int i = RUNSTATE_running; i <= RUNSTATE_offline; i++) { in main()
1011 TEST_ASSERT(rs->time[RUNSTATE_offline] == rst.u.runstate.time_offline, in main()
/linux-6.1.9/include/xen/interface/
Dvcpu.h94 #define RUNSTATE_offline 3 macro
/linux-6.1.9/drivers/xen/
Dtime.c158 return state.time[RUNSTATE_runnable] + state.time[RUNSTATE_offline]; in xen_steal_clock()
/linux-6.1.9/arch/x86/kvm/
Dxen.c181 vx->current_runstate = RUNSTATE_offline; in kvm_xen_update_runstate()
609 if (data->u.runstate.state > RUNSTATE_offline) { in kvm_xen_vcpu_set_attr()
623 if (data->u.runstate.state > RUNSTATE_offline) { in kvm_xen_vcpu_set_attr()
650 vcpu->arch.xen.runstate_times[RUNSTATE_offline] = in kvm_xen_vcpu_set_attr()
661 if (data->u.runstate.state > RUNSTATE_offline && in kvm_xen_vcpu_set_attr()
691 vcpu->arch.xen.runstate_times[RUNSTATE_offline] += in kvm_xen_vcpu_set_attr()
694 if (data->u.runstate.state <= RUNSTATE_offline) in kvm_xen_vcpu_set_attr()
807 vcpu->arch.xen.runstate_times[RUNSTATE_offline]; in kvm_xen_vcpu_get_attr()
/linux-6.1.9/Documentation/virt/kvm/
Dapi.rst5469 or RUNSTATE_offline) to set the current accounted state as of the