Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

arch/x86/kvm/regs.c __set_sregs_common() -> kvm_apic_set_base()

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->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_offset_adjustment 0
PARAM_VALUE 0 vcpu->cpu 0
PARAM_VALUE 0 vcpu->kvm 4096-ptr_max
PARAM_VALUE 0 vcpu->preempt_notifier.link->pprev 4096-ptr_max
PARAM_VALUE 0 vcpu->preempt_notifier.link.pprev 4096-ptr_max
PARAM_VALUE 2 host_initiated 1
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
USER_DATA 1 value 0-u64max
UNITS 1 value unit_byte
HALF_LOCKED2 &vcpu->mutex
HALF_LOCKED2 0 &vcpu->kvm->srcu
HALF_LOCKED2 0 &vcpu->mutex
TYPE_LOCK (struct kvm_vcpu)->mutex

arch/x86/kvm/vmx/tdx.c tdx_vcpu_init() -> kvm_apic_set_base()

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 4096-ptr_max
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->kvm->arch.vm_type 5
PARAM_VALUE 0 vcpu->kvm->lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->kvm->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 vcpu->kvm->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 vcpu->kvm->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 vcpu->kvm->slots_lock.dep_map->name 0-255
PARAM_VALUE 0 vcpu->kvm->slots_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->slots_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 vcpu->kvm->slots_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 vcpu->kvm->slots_lock.osq.tail.counter 0-s32max
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 value 4276096000,4276096256
PARAM_VALUE 2 host_initiated 1
CAPPED_DATA 0 vcpu 1
DATA_SOURCE 0 vcpu $0
FUZZY_MAX 1 value 4276096256
BIT_INFO 1 value 0xfee00c00,0xfee00dff
BIT_INFO 1 value 0xfee00c00,0xfee00dff
HARD_MAX 1 value 4276096256
LOCK2 &kvm->lock
LOCK2 &kvm->slots_lock
TYPE_LOCK (struct kvm)->lock
TYPE_LOCK (struct kvm)->slots_lock

arch/x86/kvm/msrs.c kvm_set_msr_common() -> kvm_apic_set_base()

Type Parameter Key Value
PARAM_VALUE 0 vcpu 4096-ptr_max
PARAM_VALUE 0 vcpu->kvm->arch.xen.hvm_config.msr 1-u32max
CAPPED_DATA 0 vcpu->kvm->arch.xen.hvm_config.msr 1
DATA_SOURCE 0 vcpu $0
UNITS 1 value unit_byte