Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

arch/x86/kvm/vmx/pmu_intel.c vmx_update_intercept_for_lbr_msrs() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.regs_dirty 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 3 set $1
NOCHECK_CALL

arch/x86/kvm/vmx/pmu_intel.c vmx_update_intercept_for_lbr_msrs() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.regs_dirty 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 3 set $1
NOCHECK_CALL

arch/x86/kvm/vmx/pmu_intel.c vmx_update_intercept_for_lbr_msrs() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.regs_dirty 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 3 set $1
NOCHECK_CALL

arch/x86/kvm/vmx/pmu_intel.c vmx_update_intercept_for_lbr_msrs() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.regs_dirty 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 456
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 3 set $1
NOCHECK_CALL

arch/x86/kvm/vmx/pmu_intel.c vmx_update_intercept_for_lbr_msrs() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.regs_dirty 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 457
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 3 set $1
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c pt_update_intercept_for_msr() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->run->debug.arch.exception 1,3
PARAM_VALUE 1 msr 1393
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.intercept_message
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved2
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved3
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved4
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions

arch/x86/kvm/vmx/vmx.c pt_update_intercept_for_msr() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->run->debug.arch.exception 1,3
PARAM_VALUE 1 msr 1376
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.intercept_message
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved2
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved3
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved4
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions

arch/x86/kvm/vmx/vmx.c pt_update_intercept_for_msr() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->run->debug.arch.exception 1,3
PARAM_VALUE 1 msr 1377
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.intercept_message
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved2
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved3
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved4
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions

arch/x86/kvm/vmx/vmx.c pt_update_intercept_for_msr() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->run->debug.arch.exception 1,3
PARAM_VALUE 1 msr 1394
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.intercept_message
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved2
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved3
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved4
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions

arch/x86/kvm/vmx/vmx.c pt_update_intercept_for_msr() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->run->debug.arch.exception 1,3
PARAM_VALUE 2 type 3
CAPPED_DATA 1 msr 1
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.intercept_message
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved2
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved3
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved4
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions

arch/x86/kvm/vmx/vmx.c pt_update_intercept_for_msr() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->run->debug.arch.exception 1,3
PARAM_VALUE 2 type 3
CAPPED_DATA 1 msr 1
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.intercept_message
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved2
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved3
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.reserved4
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.virtualization_fault_information
USER_PTR 0 vcpu->arch.hyperv->vp_assist_page.vtl_ret_actions

arch/x86/kvm/vmx/vmx.c vmx_disable_intercept_for_msr() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.apic->vcpu->kvm->arch.apicv_update_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vcpu->arch.apic->vcpu->kvm->arch.apicv_update_lock.first_waiter->type 0-1
PARAM_VALUE 0 vcpu->arch.apic->vcpu->run->tpr_access.is_write 0-1
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.apicv_update_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 vcpu->kvm->arch.apicv_update_lock.first_waiter->type 0-1
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 0 vcpu->run->memory_fault.flags 0,8
PARAM_VALUE 0 vcpu->run->memory_fault.gpa 0,4096-18446744073709547520
PARAM_VALUE 0 vcpu->run->memory_fault.size 4096
PARAM_VALUE 1 msr 16,72,231-232,372-374,452,1020-1022,1632,2059,2096,2111,3221225728-3221225730
PARAM_VALUE 2 type 1-3
PARAM_VALUE 3 set 0
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 1 msr $1
DATA_SOURCE 2 type $2
HARD_MAX 1 msr 3221225730
HARD_MAX 2 type 3
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 72
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 453
PARAM_VALUE 2 type 1
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 73
PARAM_VALUE 2 type 2
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 267
PARAM_VALUE 2 type 2
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 1700
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 1701
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 1702
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 1703
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 1696
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 1698
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_pmu_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.pmu.nr_arch_gp_counters 1-u32max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 2 type 3
CAPPED_DATA 1 msr 1
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_pmu_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.pmu.nr_arch_gp_counters 1-u32max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 2 type 3
CAPPED_DATA 1 msr 1
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_pmu_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.pmu.nr_arch_gp_counters 0-s32max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 193-256
PARAM_VALUE 2 type 3
PARAM_VALUE 3 set 1
CAPPED_DATA 1 msr 1
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_pmu_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.pmu.nr_arch_gp_counters 0-s32max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 1217-1280
PARAM_VALUE 2 type 3
PARAM_VALUE 3 set 1
CAPPED_DATA 1 msr 1
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_pmu_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.pmu.nr_arch_fixed_counters 1-u32max
PARAM_VALUE 0 vcpu->arch.pmu.nr_arch_gp_counters 0-s32max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 2 type 3
CAPPED_DATA 1 msr 1
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_pmu_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.pmu.nr_arch_fixed_counters 0-s32max
PARAM_VALUE 0 vcpu->arch.pmu.nr_arch_gp_counters 0-s32max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 777-840
PARAM_VALUE 2 type 3
PARAM_VALUE 3 set 1
CAPPED_DATA 1 msr 1
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_pmu_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.pmu.nr_arch_fixed_counters 0-s32max
PARAM_VALUE 0 vcpu->arch.pmu.nr_arch_gp_counters 0-s32max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 910
PARAM_VALUE 2 type 3
CAPPED_DATA 0 vcpu->arch.pmu.nr_arch_fixed_counters 1
CAPPED_DATA 0 vcpu->arch.pmu.nr_arch_gp_counters 1
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 3 set r kvm_need_perf_global_ctrl_intercept
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_pmu_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.pmu.nr_arch_fixed_counters 0-s32max
PARAM_VALUE 0 vcpu->arch.pmu.nr_arch_gp_counters 0-s32max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 911
PARAM_VALUE 2 type 3
CAPPED_DATA 0 vcpu->arch.pmu.nr_arch_fixed_counters 1
CAPPED_DATA 0 vcpu->arch.pmu.nr_arch_gp_counters 1
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 3 set r kvm_need_perf_global_ctrl_intercept
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_recalc_pmu_msr_intercepts() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.pmu.nr_arch_fixed_counters 0-s32max
PARAM_VALUE 0 vcpu->arch.pmu.nr_arch_gp_counters 0-s32max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 912
PARAM_VALUE 2 type 3
CAPPED_DATA 0 vcpu->arch.pmu.nr_arch_fixed_counters 1
CAPPED_DATA 0 vcpu->arch.pmu.nr_arch_gp_counters 1
DATA_SOURCE 0 vcpu $0
DATA_SOURCE 3 set r kvm_need_perf_global_ctrl_intercept
NOCHECK_CALL

arch/x86/kvm/vmx/vmx.c vmx_update_msr_bitmap_x2apic() -> vmx_set_intercept_for_msr()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.vm_type 0-4,6-255
PARAM_VALUE 1 msr 2056
PARAM_VALUE 2 type 3
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL