Home
last modified time | relevance | path

Searched refs:RUNSTATE_runnable (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/xen/
Dtime.c150 return per_cpu(xen_runstate, vcpu).state == RUNSTATE_runnable; in xen_vcpu_stolen()
158 return state.time[RUNSTATE_runnable] + state.time[RUNSTATE_offline]; in xen_steal_clock()
/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dxen_shinfo_test.c153 #define RUNSTATE_runnable 1 macro
206 GUEST_ASSERT(rs->time[RUNSTATE_runnable] != 0); in guest_code()
225 GUEST_ASSERT(rs->time[RUNSTATE_runnable] == 0); in guest_code()
231 GUEST_ASSERT(rs->time[RUNSTATE_runnable] >= MIN_STEAL_TIME); in guest_code()
667 rst.u.runstate.state = uc.args[1] + RUNSTATE_runnable - in main()
1110 TEST_ASSERT(crs->time[RUNSTATE_runnable] == rst.u.runstate.time_runnable, in main()
1144 TEST_ASSERT(rs->time[RUNSTATE_runnable] == rst.u.runstate.time_runnable, in main()
/linux-6.12.1/include/xen/interface/
Dvcpu.h83 #define RUNSTATE_runnable 1 macro
/linux-6.12.1/arch/x86/kvm/
Dxen.h190 kvm_xen_update_runstate(vcpu, RUNSTATE_runnable); in kvm_xen_runstate_set_preempted()
Dxen.c558 vx->runstate_times[RUNSTATE_runnable] += steal_ns; in kvm_xen_update_runstate()
567 kvm_xen_update_runstate_guest(v, state == RUNSTATE_runnable); in kvm_xen_update_runstate()
1002 vcpu->arch.xen.runstate_times[RUNSTATE_runnable] = in kvm_xen_vcpu_set_attr()
1043 vcpu->arch.xen.runstate_times[RUNSTATE_runnable] += in kvm_xen_vcpu_set_attr()
1167 vcpu->arch.xen.runstate_times[RUNSTATE_runnable]; in kvm_xen_vcpu_get_attr()
/linux-6.12.1/Documentation/virt/kvm/
Dapi.rst5719 runstate value (RUNSTATE_running, RUNSTATE_runnable, RUNSTATE_blocked