Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/iommu/amd/iommu.c set_dte_v1() -> amd_iommu_set_dte_v1()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_data->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_data->dev->iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_data->domain | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_data->domain->domain.type | 0-3,5-u32max |
| PARAM_VALUE | 0 | dev_data->domain->pd_mode | 1 |
| PARAM_VALUE | 0 | dev_data->gcr3_info.gcr3_tbl | 0 |
| PARAM_VALUE | 0 | dev_data->gcr3_info.glx | 0-3 |
| PARAM_VALUE | 1 | domain | 4096-ptr_max |
| PARAM_VALUE | 1 | domain->domain.type | 0-3,5-u32max |
| PARAM_VALUE | 1 | domain->pd_mode | 1 |
| PARAM_VALUE | 3 | pt_info | 8213549489772212224 |
| PARAM_VALUE | 4 | new | 5568270051271532544 |
| BUF_SIZE | 0 | dev_data | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev_data | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | dev_data | $0 |
| DATA_SOURCE | 1 | domain | $1 |
| DATA_SOURCE | 2 | domid | $2 |
| DATA_SOURCE | 4 | new | $5 |
| BIT_INFO | 1 | domain->domain.type | 0x1,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev_data | unit_byte |
| HALF_LOCKED2 | domain_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 0 | &dev_data->mutex |
drivers/iommu/amd/nested.c set_dte_nested() -> amd_iommu_set_dte_v1()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_data->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_data->dev->iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_data->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev_data->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev_data->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | dev_data->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | dev_data->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev_data->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | dev_data->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev_data->pasid_enabled | 0 |
| PARAM_VALUE | 1 | domain | 1-u64max |
| PARAM_VALUE | 3 | pt_info | 6209059881638486016 |
| PARAM_VALUE | 4 | new | 1190491840791805952 |
| BUF_SIZE | 0 | dev_data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev_data | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dev_data | $2 |
| DATA_SOURCE | 4 | new | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev_data | unit_byte |
| LOCK2 | 0 | &dev_data->mutex | |
| HALF_LOCKED2 | &group->mutex | ||
| TYPE_LOCK | (struct iommu_dev_data)->mutex |