Defined in 2 files as a function:
Referenced in 4 files:
- arch/x86/kvm/hyperv.c, line 1433
- arch/x86/kvm/x86.c, line 7445
- arch/x86/kvm/xen.c, line 1324
- arch/x86/kvm/xen.h, line 97
Smatch caller information:
arch/x86/kvm/xen.c kvm_xen_write_hypercall_page() -> kvm_xen_hypercall_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kvm | 4096-ptr_max |
| CAPPED_DATA | 0 | kvm->arch.xen.hvm_config.msr | 1 |
| CAPPED_DATA | 0 | &kvm->arch.xen.xen_lock | 1 |
| UNITS | 0 | kvm | unit_byte |
arch/x86/kvm/hyperv.c kvm_hv_set_msr_pw() -> kvm_xen_hypercall_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 0 | kvm->arch.xen.hvm_config.msr | 1 |
| UNITS | 0 | kvm | unit_byte |
| LOCK2 | &hv->hv_lock | ||
| TYPE_LOCK | (struct kvm_hv)->hv_lock |
arch/x86/kvm/x86.c kvm_emulate_hypercall() -> kvm_xen_hypercall_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | kvm | unit_byte |
arch/x86/kvm/irq.c kvm_xen_has_pending_timer() -> kvm_xen_hypercall_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kvm | 4096-ptr_max |
| CAPPED_DATA | 0 | kvm->srcu.srcu_ctrp | 1 |
| UNITS | 0 | kvm | unit_byte |
| LOCK2 | 0 | &kvm->srcu | |
| HALF_LOCKED2 | &vcpu->mutex | ||
| TYPE_LOCK | (struct kvm)->srcu |