Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iommu/amd/iommu.c attach_device() -> dev_update_dte()
| 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->gcr3_info.gcr3_tbl | 0,18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 0 | dev_data->gcr3_info.glx | 0-3 |
| PARAM_VALUE | 0 | dev_data->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev_data->list.prev | 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 | 1 | set | 1 |
| BUF_SIZE | 0 | dev_data | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev_data | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &dev_data->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev_data | unit_byte |
| LOCK2 | 0 | &dev_data->mutex | |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &group->mutex | ||
| TYPE_LOCK | (struct iommu_dev_data)->mutex |
drivers/iommu/amd/iommu.c blocked_domain_attach_device() -> dev_update_dte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev_data | 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 | 1 | set | 0 |
| BUF_SIZE | 0 | dev_data | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev_data | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | &dev_data->mutex | 1 |
| NOCHECK_CALL | |||
| UNITS | 0 | dev_data | unit_byte |
| LOCK2 | 0 | &dev_data->mutex | |
| TYPE_LOCK | (struct iommu_dev_data)->mutex |
drivers/iommu/amd/iommu.c detach_device() -> dev_update_dte()
| 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 | 1-u64max |
| 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->ppr | 0 |
| PARAM_VALUE | 1 | set | 0 |
| BUF_SIZE | 0 | dev_data | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | dev_data | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | &dev_data->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev_data | unit_byte |
| LOCK2 | 0 | &dev_data->mutex | |
| TYPE_LOCK | (struct iommu_dev_data)->mutex |