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 clear_dte_entry() -> amd_iommu_update_dte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | dev_data | 4096-ptr_max |
| PARAM_VALUE | 1 | dev_data->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev_data->dev->iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | dev_data->gcr3_info.gcr3_tbl | 0,18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | dev_data->gcr3_info.glx | 0-3 |
| PARAM_VALUE | 1 | dev_data->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dev_data->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev_data->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | dev_data->mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | dev_data->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | dev_data->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dev_data->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | dev_data->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | new | 3871244489146011648 |
| BUF_SIZE | 1 | dev_data | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | dev_data | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | iommu | $0 |
| DATA_SOURCE | 1 | dev_data | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | dev_data | unit_byte |
| LOCK2 | 1 | &dev_data->mutex | |
| TYPE_LOCK | (struct iommu_dev_data)->mutex |
drivers/iommu/amd/iommu.c set_dte_entry() -> amd_iommu_update_dte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->pci_seg | 4096-ptr_max |
| PARAM_VALUE | 0 | iommu->pci_seg->dev_table | 1-u64max |
| PARAM_VALUE | 1 | dev_data | 4096-ptr_max |
| PARAM_VALUE | 1 | dev_data->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev_data->dev->iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | dev_data->domain | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev_data->gcr3_info.gcr3_tbl | 0,18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | dev_data->gcr3_info.glx | 0-3 |
| PARAM_VALUE | 2 | new | 5568270051271532544 |
| BUF_SIZE | 1 | dev_data | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | dev_data | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | dev_data->gcr3_info.gcr3_tbl | 1 |
| DATA_SOURCE | 0 | iommu | $0 |
| DATA_SOURCE | 1 | dev_data | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | dev_data | unit_byte |
| HALF_LOCKED2 | domain_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | 1 | &dev_data->mutex |
drivers/iommu/amd/nested.c nested_attach_device() -> amd_iommu_update_dte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | dev_data | 4096-ptr_max |
| PARAM_VALUE | 1 | dev_data->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev_data->dev->iommu | 4096-ptr_max |
| PARAM_VALUE | 1 | dev_data->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dev_data->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev_data->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | dev_data->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | dev_data->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dev_data->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | dev_data->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | dev_data->pasid_enabled | 0 |
| PARAM_VALUE | 2 | new | 1190491840791805952 |
| BUF_SIZE | 1 | dev_data | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | dev_data | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | &dev_data->mutex | 1 |
| DATA_SOURCE | 0 | iommu | r get_amd_iommu_from_dev_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | dev_data | unit_byte |
| LOCK2 | 1 | &dev_data->mutex | |
| HALF_LOCKED2 | &group->mutex | ||
| TYPE_LOCK | (struct iommu_dev_data)->mutex |