Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/kvm/x86_64/
Dxen_shinfo_test.c654 rst.u.runstate.state = uc.args[1] + RUNSTATE_runnable - in main()
664 rst.u.runstate.state = (uint64_t)-1; in main()
665 rst.u.runstate.time_blocked = in main()
667 rst.u.runstate.time_offline = in main()
669 rst.u.runstate.time_runnable = -rst.u.runstate.time_blocked - in main()
670 rst.u.runstate.time_offline; in main()
679 rst.u.runstate.state = RUNSTATE_running; in main()
680 rst.u.runstate.state_entry_time = 0x6b6b + 0x5a; in main()
681 rst.u.runstate.time_blocked = 0x6b6b; in main()
682 rst.u.runstate.time_offline = 0x5a; in main()
[all …]
/Linux-v6.6/arch/x86/kvm/
Dxen.c808 if (data->u.runstate.state > RUNSTATE_offline) { in kvm_xen_vcpu_set_attr()
813 kvm_xen_update_runstate(vcpu, data->u.runstate.state); in kvm_xen_vcpu_set_attr()
822 if (data->u.runstate.state > RUNSTATE_offline) { in kvm_xen_vcpu_set_attr()
826 if (data->u.runstate.state_entry_time != in kvm_xen_vcpu_set_attr()
827 (data->u.runstate.time_running + in kvm_xen_vcpu_set_attr()
828 data->u.runstate.time_runnable + in kvm_xen_vcpu_set_attr()
829 data->u.runstate.time_blocked + in kvm_xen_vcpu_set_attr()
830 data->u.runstate.time_offline)) { in kvm_xen_vcpu_set_attr()
835 data->u.runstate.state_entry_time) { in kvm_xen_vcpu_set_attr()
840 vcpu->arch.xen.current_runstate = data->u.runstate.state; in kvm_xen_vcpu_set_attr()
[all …]
/Linux-v6.6/include/trace/events/
Dsunrpc.h376 __field(unsigned long, runstate)
386 __entry->runstate = task->tk_runstate;
395 rpc_show_runstate(__entry->runstate),
428 __field(unsigned long, runstate)
439 __entry->runstate = task->tk_runstate;
449 rpc_show_runstate(__entry->runstate),
/Linux-v6.6/tools/include/uapi/linux/
Dkvm.h1858 } runstate; member
/Linux-v6.6/include/uapi/linux/
Dkvm.h1865 } runstate; member
/Linux-v6.6/Documentation/virt/kvm/
Dapi.rst5539 } runstate;
5568 Setting the gpa to KVM_XEN_INVALID_GPA will disable the runstate area.
5571 Sets the runstate (RUNSTATE_running/_runnable/_blocked/_offline) of
5572 the given vCPU from the .u.runstate.state member of the structure.
5577 Sets all fields of the vCPU runstate data from the .u.runstate member
5578 of the structure, including the current runstate. The state_entry_time
5582 This *adds* the contents of the .u.runstate members of the structure
5583 to the corresponding members of the given vCPU's runstate data, thus
5584 permitting atomic adjustments to the runstate times. The adjustment
5587 runstate value (RUNSTATE_running, RUNSTATE_runnable, RUNSTATE_blocked
[all …]