Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iommu/iommu.c iommu_attach_device() -> __iommu_attach_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | group | 4096-ptr_max |
| PARAM_VALUE | 1 | group->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | group->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | group->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | group->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | group->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | group->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | group->mutex.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | domain | (-1),112 |
| BUF_SIZE | 0 | domain | (-1),112 |
| CAPPED_DATA | 1 | &group->devices | 1 |
| CAPPED_DATA | 1 | &group->mutex | 1 |
| DATA_SOURCE | 0 | domain | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &group->mutex | |
| HALF_LOCKED2 | &rproc->lock | ||
| HALF_LOCKED2 | &us_ibdev->usdev_lock | ||
| HALF_LOCKED2 | &vf->lock | ||
| TYPE_LOCK | (struct iommu_group)->mutex |
drivers/iommu/iommu.c iommu_attach_group() -> __iommu_attach_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | domain->ops->enforce_cache_coherency | 0,6771135090529189888,7103604897055576064,7157214075461996544 |
| PARAM_VALUE | 1 | group->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | group->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | group->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | group->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | group->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | group->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | group->mutex.wait_lock.owner_cpu | u32max |
| BUF_SIZE | 0 | domain | (-1),112 |
| BUF_SIZE | 0 | domain | (-1),112 |
| CAPPED_DATA | 1 | &group->mutex | 1 |
| DATA_SOURCE | 0 | domain | $0 |
| DATA_SOURCE | 1 | group | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &group->mutex | |
| HALF_LOCKED2 | &container->group_lock | ||
| HALF_LOCKED2 | &device->clients_lock | ||
| HALF_LOCKED2 | &iommu->lock | ||
| TYPE_LOCK | (struct iommu_group)->mutex |
drivers/iommu/iommu.c iommu_attach_group_handle() -> __iommu_attach_group()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | domain->owner->domain_alloc_paging_flags | 0,5681659404854812672,8509805123710701568,8930407207250460672,8966249347349827584 |
| PARAM_VALUE | 1 | group | 4096-ptr_max |
| PARAM_VALUE | 1 | group->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | group->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | group->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | group->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | group->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | group->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 1 | group->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | group->pasid_array.xa_lock.rlock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | domain | (-1),112 |
| BUF_SIZE | 0 | domain | (-1),112 |
| BUF_SIZE | 0 | domain->iommufd_hwpt | (-1),40 |
| BUF_SIZE | 0 | domain->owner | (-1),200 |
| CAPPED_DATA | 1 | &group->mutex | 1 |
| DATA_SOURCE | 0 | domain | $0 |
| DATA_SOURCE | 1 | group | $1 |
| LOCK2 | &igroup->lock | ||
| LOCK2 | 1 | &group->mutex | |
| HALF_LOCKED2 | &ioas->mutex | ||
| HALF_LOCKED2 | &vdev->dev_set->lock | ||
| TYPE_LOCK | (struct iommu_group)->mutex | ||
| TYPE_LOCK | (struct iommufd_group)->lock |