Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

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

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.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
PARAM_VALUE 1 e2 0-18446744073709551614
PARAM_VALUE 2 nent 0-256
BUF_SIZE 0 vcpu s32min-(-2),1-s32max
BUF_SIZE 0 vcpu s32min-(-2),1-s32max
BUF_SIZE 1 e2 0,40-10240
BUF_SIZE 1 e2 0,40-10240
CAPPED_DATA 0 vcpu 1
CAPPED_DATA 2 nent 1
DATA_SOURCE 0 vcpu $0
USER_DATA 2 nent 1-256[c]
UNITS 2 nent unit_array_size
LOCK2 &vcpu->mutex
TYPE_LOCK (struct kvm_vcpu)->mutex

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

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.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
PARAM_VALUE 1 e2 0,16,4096-ptr_max
PARAM_VALUE 2 nent 0-256
BUF_SIZE 0 vcpu s32min-(-2),1-s32max
BUF_SIZE 0 vcpu s32min-(-2),1-s32max
BUF_SIZE 1 e2 0,40
BUF_SIZE 1 e2 0,40
CAPPED_DATA 0 vcpu 1
DATA_SOURCE 0 vcpu $0
USER_DATA 1 e2->eax 0-u32max
USER_DATA 1 e2->ebx 0-u32max
USER_DATA 1 e2->ecx 0-u32max
USER_DATA 1 e2->edx 0-u32max
USER_DATA 1 e2->flags 0-u32max
USER_DATA 1 e2->function 0-u32max
USER_DATA 1 e2->index 0-u32max
USER_DATA 1 *e2 s64min-s64max
USER_DATA 2 nent 0-256
UNITS 2 nent unit_array_size
USER_PTR 1 e2
USER_PTR 1 e2->padding
LOCK2 &vcpu->mutex
TYPE_LOCK (struct kvm_vcpu)->mutex