Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
arch/x86/kvm/vmx/tdx.c setup_tdparams_cpuids() -> tdx_set_guest_phys_addr_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr_bits | 0 |
| USER_DATA | 0 | eax | 0-u32max |
| LOCK2 | &kvm->lock | ||
| LOCK2 | &kvm->slots_lock | ||
| TYPE_LOCK | (struct kvm)->lock | ||
| TYPE_LOCK | (struct kvm)->slots_lock |
arch/x86/kvm/vmx/tdx.c td_init_cpuid_entry2() -> tdx_set_guest_phys_addr_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr_bits | 255 |
| HALF_LOCKED2 | &kvm->lock | ||
| HALF_LOCKED2 | &kvm->slots_lock |
arch/x86/kvm/vmx/tdx.c tdx_read_cpuid() -> tdx_set_guest_phys_addr_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | eax | 0 |
| LOCK2 | &vcpu->mutex | ||
| TYPE_LOCK | (struct kvm_vcpu)->mutex |