Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/iommu/iommufd/device.c iommufd_device_do_replace() -> find_hwpt_paging()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwpt | 4096-ptr_max |
| BUF_SIZE | 0 | hwpt | (-1),40 |
| BUF_SIZE | 0 | hwpt | (-1),40 |
| DATA_SOURCE | 0 | hwpt | $2 |
| HALF_LOCKED2 | &ioas->mutex | ||
| HALF_LOCKED2 | &vdev->dev_set->lock |
drivers/iommu/iommufd/device.c iommufd_device_do_replace() -> find_hwpt_paging()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &igroup->lock | ||
| HALF_LOCKED2 | &ioas->mutex | ||
| HALF_LOCKED2 | &vdev->dev_set->lock | ||
| TYPE_LOCK | (struct iommufd_group)->lock |
drivers/iommu/iommufd/device.c iommufd_group_do_replace_reserved_iova() -> find_hwpt_paging()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | &igroup->lock | ||
| HALF_LOCKED2 | &ioas->mutex | ||
| HALF_LOCKED2 | &vdev->dev_set->lock | ||
| TYPE_LOCK | (struct iommufd_group)->lock |
drivers/iommu/iommufd/device.c iommufd_hw_pagetable_attach() -> find_hwpt_paging()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hwpt | 4096-ptr_max |
| BUF_SIZE | 0 | hwpt | (-1),40 |
| BUF_SIZE | 0 | hwpt | (-1),40 |
| BUF_SIZE | 0 | hwpt->domain | (-1),112 |
| BUF_SIZE | 0 | hwpt->domain->iommufd_hwpt | (-1),40 |
| BUF_SIZE | 0 | hwpt->domain->owner | (-1),200 |
| DATA_SOURCE | 0 | hwpt | $0 |
| USER_DATA | 0 | hwpt->domain->iommufd_hwpt->pasid_compat | 0-1[c] |
| USER_DATA | 0 | hwpt->pasid_compat | 0-1[c] |
| HALF_LOCKED2 | &ioas->mutex | ||
| HALF_LOCKED2 | &vdev->dev_set->lock |
drivers/iommu/iommufd/device.c iommufd_hw_pagetable_detach() -> find_hwpt_paging()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &igroup->lock | ||
| HALF_LOCKED2 | &ioas->mutex | ||
| HALF_LOCKED2 | &vdev->dev_set->lock | ||
| TYPE_LOCK | (struct iommufd_group)->lock |