Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 9 files:

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