Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- arch/arm64/kvm/handle_exit.c, line 167
- arch/riscv/kvm/vcpu_insn.c, line 87
- arch/s390/kvm/diag.c, line 169
- arch/x86/kvm/hyperv.c, line 2615
- arch/x86/kvm/svm/svm.c, line 3263
- arch/x86/kvm/vmx/vmx.c, line 6133
- arch/x86/kvm/xen.c, line 1606
- virt/kvm/kvm_main.c, line 4038
Smatch caller information:
arch/x86/kvm/xen.c kvm_xen_hcall_sched_op() -> kvm_vcpu_on_spin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | me | 4096-ptr_max |
| PARAM_VALUE | 0 | *me->arch.emulate_ctxt->dst.valptr | 0-255 |
| PARAM_VALUE | 0 | *me->arch.emulate_ctxt->fetch.data | 0-255 |
| PARAM_VALUE | 0 | *me->arch.emulate_ctxt->src.valptr | 0-255 |
| PARAM_VALUE | 0 | *me->arch.emulate_ctxt->src2.valptr | 0-255 |
| PARAM_VALUE | 1 | yield_to_kernel_mode | 1 |
| DATA_SOURCE | 0 | me | $0 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | *me->arch.emulate_ctxt->fetch.end | 0-255 |
| USER_PTR | 0 | me->arch.emulate_ctxt->fetch.end |
arch/x86/kvm/hyperv.c kvm_hv_hypercall() -> kvm_vcpu_on_spin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | me | 4096-ptr_max |
| PARAM_VALUE | 0 | me->arch.cr0 | 1-u64max |
| PARAM_VALUE | 0 | me->arch.emulate_ctxt->ops->get_cr | 4096-ptr_max |
| PARAM_VALUE | 0 | me->arch.guest_state_protected | 0 |
| PARAM_VALUE | 0 | me->arch.hyperv_enabled | 1 |
| PARAM_VALUE | 0 | me->run->hypercall.ret | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | *me->arch.emulate_ctxt->dst.valptr | 0-255 |
| PARAM_VALUE | 0 | *me->arch.emulate_ctxt->fetch.data | 0-255 |
| PARAM_VALUE | 0 | *me->arch.emulate_ctxt->src.valptr | 0-255 |
| PARAM_VALUE | 0 | *me->arch.emulate_ctxt->src2.valptr | 0-255 |
| PARAM_VALUE | 1 | yield_to_kernel_mode | 1 |
| DATA_SOURCE | 0 | me | $0 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | *me->arch.emulate_ctxt->fetch.end | 0-255 |
| USER_PTR | 0 | me->arch.emulate_ctxt->fetch.end |
arch/x86/kvm/svm/svm.c pause_interception() -> kvm_vcpu_on_spin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | me | 4096-ptr_max |
| PARAM_VALUE | 0 | me->arch.emulate_ctxt->ops->get_cr | 4096-ptr_max |
| PARAM_VALUE | 0 | me->kvm | 4096-ptr_max |
| PARAM_VALUE | 0 | me->run->hypercall.ret | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 0 | *me->arch.emulate_ctxt->dst.valptr | 0-255 |
| PARAM_VALUE | 0 | *me->arch.emulate_ctxt->fetch.data | 0-255 |
| PARAM_VALUE | 0 | *me->arch.emulate_ctxt->src.valptr | 0-255 |
| PARAM_VALUE | 0 | *me->arch.emulate_ctxt->src2.valptr | 0-255 |
| BUF_SIZE | 0 | me | (-1),7720 |
| BUF_SIZE | 0 | me | (-1),7720 |
| DATA_SOURCE | 0 | me | $0 |
| NOCHECK_CALL | |||
| USER_DATA | 0 | *me->arch.emulate_ctxt->fetch.end | 0-255 |
| USER_PTR | 0 | me->arch.emulate_ctxt->fetch.end |
arch/x86/kvm/vmx/vmx.c handle_pause() -> kvm_vcpu_on_spin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | me | 4096-ptr_max |
| PARAM_VALUE | 0 | me->arch.nested_run_pending | 0 |
| PARAM_VALUE | 0 | me->kvm | 4096-ptr_max |
| PARAM_VALUE | 1 | yield_to_kernel_mode | 1 |
| DATA_SOURCE | 0 | me | $0 |
| NOCHECK_CALL |