Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/iommu/amd/iommu.c, line 4056 (as a function)
- include/linux/amd-iommu.h, line 50 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/iommu/amd/iommu.c amd_ir_set_vcpu_affinity() -> amd_iommu_activate_guest_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| BUF_SIZE | 0 | data | s32min-(-2),1-s32max |
| UNITS | 0 | data | unit_byte |
arch/x86/kvm/svm/avic.c avic_update_iommu_vcpu_affinity() -> amd_iommu_activate_guest_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cpu | 4096-s32max |
| DATA_SOURCE | 1 | cpu | $1 |
| BIT_INFO | 1 | cpu | 0x0,0xfff |
| BIT_INFO | 2 | ga_log_intr | 0x0,0x0 |
| PREEMPT_ADD | |||
| UNITS | 0 | data | unit_byte |
| LOCK2 | &svm->ir_list_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct vcpu_svm)->ir_list_lock |