Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

arch/x86/kvm/svm/pmu.c amd_pmu_set_msr() -> kvm_pmu_request_counter_reprogram()

Type Parameter Key Value
PARAM_VALUE 0 pmc 4096-ptr_max
PARAM_VALUE 0 pmc->eventsel_hw 0,256-u64max
DATA_SOURCE 0 pmc r get_gp_pmc_amd
BIT_INFO 0 pmc->eventsel_hw 0x10000000000,0xfffffdffffffffff
NOCHECK_CALL

arch/x86/kvm/pmu.c kvm_pmu_incr_counter() -> kvm_pmu_request_counter_reprogram()

Type Parameter Key Value
PARAM_VALUE 0 pmc 4096-ptr_max
PARAM_VALUE 0 pmc->vcpu 4096-ptr_max
PARAM_VALUE 0 pmc->vcpu->kvm 4096-ptr_max
DATA_SOURCE 0 pmc $0
NOCHECK_CALL
LOCK2 &vcpu->kvm->srcu
HALF_LOCKED2 &vcpu->mutex
TYPE_LOCK (struct kvm)->srcu

arch/x86/kvm/vmx/pmu_intel.c intel_pmu_set_msr() -> kvm_pmu_request_counter_reprogram()

Type Parameter Key Value
PARAM_VALUE 0 pmc 4096-ptr_max
DATA_SOURCE 0 pmc r get_gp_pmc
NOCHECK_CALL

arch/x86/kvm/vmx/pmu_intel.c reprogram_fixed_counters() -> kvm_pmu_request_counter_reprogram()

Type Parameter Key Value
PARAM_VALUE 0 pmc 0,4096-ptr_max
DATA_SOURCE 0 pmc r get_fixed_pmc
NOCHECK_CALL