Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
arch/x86/kvm/vmx/tdx.c tdx_vcpu_get_cpuid() -> tdx_vcpu_get_cpuid_leaf()
| 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.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.kvmclock_update_rs.lock.owner | (-1) |
| PARAM_VALUE | 0 | vcpu->kvm->arch.kvmclock_update_rs.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vcpu->kvm->arch.vm_type | 5 |
| 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 | leaf | 0 |
| PARAM_VALUE | 2 | entry_index | 1050823258854244352 |
| PARAM_VALUE | 2 | *entry_index | 0 |
| PARAM_VALUE | 3 | output_e | 4096-ptr_max |
| BUF_SIZE | 0 | vcpu | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vcpu | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | vcpu | $0 |
| USER_DATA | 3 | output_e->eax | 0-u32max[u] |
| USER_DATA | 3 | output_e->ebx | 0-u32max[u] |
| USER_DATA | 3 | output_e->ecx | 0-u32max[u] |
| USER_DATA | 3 | output_e->edx | 0-u32max[u] |
| USER_DATA | 3 | output_e->flags | 0-u32max[u] |
| USER_DATA | 3 | output_e->function | 0-u32max[u] |
| USER_DATA | 3 | output_e->index | 0-u32max[u] |
| USER_PTR | 3 | output_e | |
| USER_PTR | 3 | output_e->padding | |
| LOCK2 | &vcpu->mutex | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
arch/x86/kvm/vmx/tdx.c tdx_vcpu_get_cpuid() -> tdx_vcpu_get_cpuid_leaf()
| 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.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.kvmclock_update_rs.lock.owner | (-1) |
| PARAM_VALUE | 0 | vcpu->kvm->arch.kvmclock_update_rs.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vcpu->kvm->arch.vm_type | 5 |
| 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 | leaf | 1-s32max |
| PARAM_VALUE | 2 | entry_index | 1050823258854244352 |
| PARAM_VALUE | 2 | *entry_index | s32min-256 |
| PARAM_VALUE | 3 | output_e | 4096-ptr_max |
| BUF_SIZE | 0 | vcpu | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vcpu | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | leaf | 1 |
| DATA_SOURCE | 0 | vcpu | $0 |
| NOCHECK_CALL | |||
| USER_DATA | 3 | output_e->eax | 0-u32max[u] |
| USER_DATA | 3 | output_e->ebx | 0-u32max[u] |
| USER_DATA | 3 | output_e->ecx | 0-u32max[u] |
| USER_DATA | 3 | output_e->edx | 0-u32max[u] |
| USER_DATA | 3 | output_e->flags | 0-u32max[u] |
| USER_DATA | 3 | output_e->function | 0-u32max[u] |
| USER_DATA | 3 | output_e->index | 0-u32max[u] |
| USER_PTR | 3 | output_e | |
| USER_PTR | 3 | output_e->padding | |
| LOCK2 | &vcpu->mutex | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
arch/x86/kvm/vmx/tdx.c tdx_vcpu_get_cpuid() -> tdx_vcpu_get_cpuid_leaf()
| 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.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.kvmclock_update_rs.lock.owner | (-1) |
| PARAM_VALUE | 0 | vcpu->kvm->arch.kvmclock_update_rs.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vcpu->kvm->arch.vm_type | 5 |
| 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 | leaf | 2147483648 |
| PARAM_VALUE | 2 | entry_index | 1050823258854244352 |
| PARAM_VALUE | 2 | *entry_index | s32min-256 |
| PARAM_VALUE | 3 | output_e | 4096-ptr_max |
| BUF_SIZE | 0 | vcpu | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vcpu | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | vcpu | $0 |
| USER_DATA | 3 | output_e->eax | 0-u32max[u] |
| USER_DATA | 3 | output_e->ebx | 0-u32max[u] |
| USER_DATA | 3 | output_e->ecx | 0-u32max[u] |
| USER_DATA | 3 | output_e->edx | 0-u32max[u] |
| USER_DATA | 3 | output_e->flags | 0-u32max[u] |
| USER_DATA | 3 | output_e->function | 0-u32max[u] |
| USER_DATA | 3 | output_e->index | 0-u32max[u] |
| USER_PTR | 3 | output_e | |
| USER_PTR | 3 | output_e->padding | |
| LOCK2 | &vcpu->mutex | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |
arch/x86/kvm/vmx/tdx.c tdx_vcpu_get_cpuid() -> tdx_vcpu_get_cpuid_leaf()
| 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.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.kvmclock_update_rs.lock.owner | (-1) |
| PARAM_VALUE | 0 | vcpu->kvm->arch.kvmclock_update_rs.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | vcpu->kvm->arch.vm_type | 5 |
| 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 | leaf | 2147483649-u32max |
| PARAM_VALUE | 2 | entry_index | 1050823258854244352 |
| PARAM_VALUE | 2 | *entry_index | s32min-256 |
| PARAM_VALUE | 3 | output_e | 4096-ptr_max |
| BUF_SIZE | 0 | vcpu | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vcpu | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | leaf | 1 |
| DATA_SOURCE | 0 | vcpu | $0 |
| NOCHECK_CALL | |||
| USER_DATA | 3 | output_e->eax | 0-u32max[u] |
| USER_DATA | 3 | output_e->ebx | 0-u32max[u] |
| USER_DATA | 3 | output_e->ecx | 0-u32max[u] |
| USER_DATA | 3 | output_e->edx | 0-u32max[u] |
| USER_DATA | 3 | output_e->flags | 0-u32max[u] |
| USER_DATA | 3 | output_e->function | 0-u32max[u] |
| USER_DATA | 3 | output_e->index | 0-u32max[u] |
| USER_PTR | 3 | output_e | |
| USER_PTR | 3 | output_e->padding | |
| LOCK2 | &vcpu->mutex | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |