Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

arch/x86/kvm/cpuid.c kvm_cpuid() -> kvm_update_cpuid_runtime()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.cpuid_dynamic_bits_dirty 1
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL
USER_DATA 0 *vcpu->arch.emulate_ctxt->fetch.end 0-255
USER_PTR 0 vcpu->arch.emulate_ctxt->fetch.end

arch/x86/kvm/cpuid.c kvm_cpuid_check_equal() -> kvm_update_cpuid_runtime()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer.is_queued 1
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer.node.node.node.__rb_parent_color 1
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer_mode 0,131072-393216
PARAM_VALUE 0 vcpu->arch.apic->pending_events 1
PARAM_VALUE 0 vcpu->arch.apic->sipi_vector 0-u16max
PARAM_VALUE 0 vcpu->arch.apic->vcpu->arch.pv.pv_unhalted 1
PARAM_VALUE 0 vcpu->arch.apic->vcpu->ready 1
PARAM_VALUE 0 vcpu->arch.cpuid_dynamic_bits_dirty 0
PARAM_VALUE 0 vcpu->arch.cpuid_entries 0,16,4096-ptr_max
PARAM_VALUE 0 vcpu->arch.cpuid_nent 0-256
PARAM_VALUE 0 vcpu->arch.tsc_offset_adjustment 0
PARAM_VALUE 0 vcpu->cpu 0
PARAM_VALUE 0 vcpu->kvm->arch.kvmclock_update_rs.lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->kvm->arch.kvmclock_update_rs.lock.owner (-1)
PARAM_VALUE 0 vcpu->kvm->arch.kvmclock_update_rs.lock.owner_cpu u32max
PARAM_VALUE 0 vcpu->preempt_notifier.link->pprev 4096-ptr_max
PARAM_VALUE 0 vcpu->preempt_notifier.link.pprev 4096-ptr_max
PARAM_VALUE 0 *vcpu->arch.cpu_caps 0-4294967295
BUF_SIZE 0 vcpu s32min-(-2),1-s32max
BUF_SIZE 0 vcpu s32min-(-2),1-s32max
BUF_SIZE 0 vcpu->arch.cpuid_entries 0,40-10240
CAPPED_DATA 0 vcpu->arch.cpuid_nent 1
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL
USER_DATA 0 vcpu->arch.cpuid_entries->eax 0-u32max
USER_DATA 0 vcpu->arch.cpuid_entries->ebx 0-u32max
USER_DATA 0 vcpu->arch.cpuid_entries->ecx 0-u32max
USER_DATA 0 vcpu->arch.cpuid_entries->edx 0-u32max
USER_DATA 0 vcpu->arch.cpuid_entries->flags 0-u32max
USER_DATA 0 vcpu->arch.cpuid_entries->function 0-u32max
USER_DATA 0 vcpu->arch.cpuid_entries->index 0-u32max
USER_DATA 0 vcpu->arch.cpuid_nent 0-256[c]
USER_PTR 0 vcpu->arch.cpuid_entries
USER_PTR 0 vcpu->arch.cpuid_entries->padding
LOCK2 &vcpu->mutex
TYPE_LOCK (struct kvm_vcpu)->mutex

arch/x86/kvm/cpuid.c kvm_set_cpuid() -> kvm_update_cpuid_runtime()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer.flags 0-4294967295
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer.is_queued 1
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer.node.expires 0-s64max
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer_mode_mask 131072,393216
PARAM_VALUE 0 vcpu->arch.apic->sipi_vector 0-u16max
PARAM_VALUE 0 vcpu->arch.apic->vcpu->arch.pv.pv_unhalted 1
PARAM_VALUE 0 vcpu->arch.apic->vcpu->ready 1
PARAM_VALUE 0 vcpu->arch.cpuid_dynamic_bits_dirty 1
PARAM_VALUE 0 vcpu->arch.tsc_offset_adjustment 0
PARAM_VALUE 0 vcpu->cpu 0
PARAM_VALUE 0 vcpu->kvm->arch.kvmclock_update_rs.lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->preempt_notifier.link->pprev 4096-ptr_max
PARAM_VALUE 0 vcpu->preempt_notifier.link.pprev 4096-ptr_max
BUF_SIZE 0 vcpu s32min-(-2),1-s32max
BUF_SIZE 0 vcpu s32min-(-2),1-s32max
CAPPED_DATA 0 vcpu 1
DATA_SOURCE 0 vcpu $0
NOCHECK_CALL
LOCK2 &vcpu->mutex
TYPE_LOCK (struct kvm_vcpu)->mutex

arch/x86/kvm/cpuid.c kvm_vcpu_after_set_cpuid() -> kvm_update_cpuid_runtime()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer.is_queued 1
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer_mode 0,131072-393216
PARAM_VALUE 0 vcpu->arch.apic->pending_events 1
PARAM_VALUE 0 vcpu->arch.apic->sipi_vector 0-u16max
PARAM_VALUE 0 vcpu->arch.apic->vcpu->arch.pv.pv_unhalted 1
PARAM_VALUE 0 vcpu->arch.apic->vcpu->ready 1
PARAM_VALUE 0 vcpu->arch.last_vmentry_cpu (-1)
PARAM_VALUE 0 vcpu->arch.tsc_offset_adjustment 0
PARAM_VALUE 0 vcpu->cpu 0
PARAM_VALUE 0 vcpu->kvm->arch.kvmclock_update_rs.lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->preempt_notifier.link->pprev 4096-ptr_max
PARAM_VALUE 0 vcpu->preempt_notifier.link.pprev 4096-ptr_max
PARAM_VALUE 0 vcpu->preempt_notifier.ops->sched_in 0,9110675458964602880
PARAM_VALUE 0 vcpu->preempt_notifier.ops->sched_out 0,435091332528357376
PARAM_VALUE 0 *vcpu->stats_id 0-255
BUF_SIZE 0 vcpu s32min-(-1),1-s32max
BUF_SIZE 0 vcpu s32min-(-1),1-s32max
BUF_SIZE 0 vcpu->arch.cpuid_entries (-1)-0,40-10240
BUF_SIZE 0 vcpu->arch.mce_banks (-1),8
BUF_SIZE 0 vcpu->arch.mci_ctl2_banks (-1),8
CAPPED_DATA 0 vcpu 1
DATA_SOURCE 0 vcpu $0
NOSPEC 0 vcpu->arch.cpuid_nent
NOSPEC 0 vcpu->vcpu_id
MEM_ZERO 0 vcpu->arch.cpu_caps
NOCHECK_CALL
USER_DATA 0 vcpu->arch.cpuid_entries->eax 0-u32max
USER_DATA 0 vcpu->arch.cpuid_entries->ebx 0-u32max
USER_DATA 0 vcpu->arch.cpuid_entries->ecx 0-u32max
USER_DATA 0 vcpu->arch.cpuid_entries->edx 0-u32max
USER_DATA 0 vcpu->arch.cpuid_entries->flags 0-u32max
USER_DATA 0 vcpu->arch.cpuid_entries->function 0-u32max
USER_DATA 0 vcpu->arch.cpuid_entries->index 0-u32max
USER_DATA 0 vcpu->arch.cpuid_nent 0-256[c]
USER_DATA 0 vcpu->arch.l1_tsc_offset 0-u64max
USER_DATA 0 vcpu->arch.pv_time.kvm->arch.has_private_mem 0[c]
USER_DATA 0 vcpu->arch.pv_time.kvm->arch.pre_fault_allowed 0-1
USER_DATA 0 vcpu->arch.pv_time.kvm->arch.vm_type 0-6
USER_DATA 0 vcpu->arch.tsc_offset 0-u64max
USER_DATA 0 vcpu->arch.xen.runstate2_cache.kvm->arch.has_private_mem 0[c]
USER_DATA 0 vcpu->arch.xen.runstate2_cache.kvm->arch.pre_fault_allowed 0-1
USER_DATA 0 vcpu->arch.xen.runstate2_cache.kvm->arch.vm_type 0-5
USER_DATA 0 vcpu->arch.xen.runstate_cache.kvm->arch.has_private_mem 0[c]
USER_DATA 0 vcpu->arch.xen.runstate_cache.kvm->arch.pre_fault_allowed 0-1
USER_DATA 0 vcpu->arch.xen.runstate_cache.kvm->arch.vm_type 0-5
USER_DATA 0 vcpu->arch.xen.vcpu_info_cache.kvm->arch.has_private_mem 0[c]
USER_DATA 0 vcpu->arch.xen.vcpu_info_cache.kvm->arch.pre_fault_allowed 0-1
USER_DATA 0 vcpu->arch.xen.vcpu_info_cache.kvm->arch.vm_type 0-5
USER_DATA 0 vcpu->arch.xen.vcpu_time_info_cache.kvm->arch.has_private_mem 0[c]
USER_DATA 0 vcpu->arch.xen.vcpu_time_info_cache.kvm->arch.pre_fault_allowed 0-1
USER_DATA 0 vcpu->arch.xen.vcpu_time_info_cache.kvm->arch.vm_type 0-5
USER_DATA 0 vcpu->vcpu_id 1-16383[c]
USER_PTR 0 vcpu->arch.cpuid_entries
USER_PTR 0 vcpu->arch.cpuid_entries->padding
HALF_LOCKED2 &vcpu->mutex

arch/x86/kvm/cpuid.c kvm_vcpu_ioctl_get_cpuid2() -> kvm_update_cpuid_runtime()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer.base->index 0-7
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer.is_queued 1
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer.node.expires 0-s64max
PARAM_VALUE 0 vcpu->arch.apic->lapic_timer.timer_mode 0,131072-393216
PARAM_VALUE 0 vcpu->arch.apic->pending_events 1
PARAM_VALUE 0 vcpu->arch.apic->sipi_vector 0-u16max
PARAM_VALUE 0 vcpu->arch.apic->vcpu->arch.pv.pv_unhalted 1
PARAM_VALUE 0 vcpu->arch.apic->vcpu->ready 1
PARAM_VALUE 0 vcpu->arch.cpuid_dynamic_bits_dirty 1
PARAM_VALUE 0 vcpu->arch.tsc_catchup 1
PARAM_VALUE 0 vcpu->arch.tsc_offset_adjustment 0
PARAM_VALUE 0 vcpu->cpu 0
PARAM_VALUE 0 vcpu->kvm->arch.kvmclock_update_rs.lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->kvm->arch.noncoherent_dma_count.counter 0-1
PARAM_VALUE 0 vcpu->preempt_notifier.link->pprev 4096-ptr_max
PARAM_VALUE 0 vcpu->preempt_notifier.link.pprev 4096-ptr_max
BUF_SIZE 0 vcpu s32min-(-2),1-s32max
BUF_SIZE 0 vcpu s32min-(-2),1-s32max
CAPPED_DATA 0 vcpu 1
CAPPED_DATA 0 vcpu->arch.cpuid_nent 1
DATA_SOURCE 0 vcpu $0
CONSTRAINT 0 vcpu->arch.cpuid_nent <=3937
NOCHECK_CALL
LOCK2 &vcpu->mutex
TYPE_LOCK (struct kvm_vcpu)->mutex