Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- arch/powerpc/platforms/powernv/pci-ioda.c, line 2458
- arch/powerpc/platforms/pseries/iommu.c, line 2572
- drivers/iommu/amd/iommu.c, line 530
- drivers/iommu/apple-dart.c, line 917
- drivers/iommu/arm/arm-smmu/arm-smmu.c, line 1552
- drivers/iommu/iommu.c
- drivers/iommu/mtk_iommu.c, line 996
- drivers/iommu/tegra-smmu.c, line 932
- drivers/vfio/group.c
Smatch caller information:
drivers/iommu/amd/iommu.c acpihid_device_group() -> iommu_group_ref_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | group | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &iommu_probe_device_lock |
drivers/iommu/mtk_iommu.c mtk_iommu_device_group() -> iommu_group_ref_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | group | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &data->mutex | ||
| LOCK2 | global &iommu_probe_device_lock | ||
| TYPE_LOCK | (struct mtk_iommu_data)->mutex |
drivers/iommu/arm/arm-smmu/arm-smmu.c arm_smmu_device_group() -> iommu_group_ref_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | group | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &iommu_probe_device_lock |
drivers/iommu/apple-dart.c apple_dart_device_group() -> iommu_group_ref_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | group | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &apple_dart_groups_lock | ||
| LOCK2 | global &iommu_probe_device_lock |
drivers/vfio/group.c vfio_group_alloc() -> iommu_group_ref_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | group | 4096-ptr_max |
| BUF_SIZE | 0 | group | (-1),600 |
| BUF_SIZE | 0 | group | (-1),600 |
| CAPPED_DATA | 0 | group | 1 |
| DATA_SOURCE | 0 | group | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &vfio.group_lock | ||
| TYPE_LOCK | (struct vfio)->group_lock |
drivers/iommu/iommu.c generic_single_device_group() -> iommu_group_ref_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | group | 1-u64max |
| BUF_SIZE | 0 | group | (-1),600 |
| BUF_SIZE | 0 | group | (-1),600 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &iommu_probe_device_lock |
drivers/iommu/iommu.c iommu_group_add_device() -> iommu_group_ref_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | group | 4096-ptr_max |
| PARAM_VALUE | 0 | group->devices_kobj | 0,4096-ptr_max |
| PARAM_VALUE | 0 | group->devices_kobj->kref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | group->devices_kobj->kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | group->devices_kobj->ktype | 1915817945436012544 |
| PARAM_VALUE | 0 | group->devices_kobj->sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | group->devices_kobj->state_in_sysfs | 1 |
| PARAM_VALUE | 0 | group->devices_kobj->state_initialized | 1 |
| PARAM_VALUE | 0 | group->id | 0-s32max |
| PARAM_VALUE | 0 | group->kobj.kset->list_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | group->kobj.sd | 4096-ptr_max |
| PARAM_VALUE | 0 | group->kobj.sd->__parent | 0 |
| PARAM_VALUE | 0 | group->kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 0 | group->kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | group->kobj.state_add_uevent_sent | 0 |
| PARAM_VALUE | 0 | group->kobj.state_in_sysfs | 1 |
| PARAM_VALUE | 0 | group->kobj.state_initialized | 1 |
| PARAM_VALUE | 0 | group->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | group->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | group->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | group->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | group->pasid_array.xa_flags | 0 |
| PARAM_VALUE | 0 | group->pasid_array.xa_head | 0 |
| BUF_SIZE | 0 | group | 600 |
| DATA_SOURCE | 0 | group | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |