Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iommu/iommu.c iommu_attach_device_pasid() -> iommu_make_pasid_array_entry()

Type Parameter Key Value
PARAM_VALUE 0 domain 4096-ptr_max
PARAM_VALUE 1 handle 0,4096-ptr_max
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 0 domain 1
DATA_SOURCE 0 domain $0
DATA_SOURCE 1 handle $3
RX_PATH
TASK_NOT_RUNNING
LOCK2 &group->mutex
HALF_LOCKED2 &igroup->lock
HALF_LOCKED2 global &iommu_sva_lock
TYPE_LOCK (struct iommu_group)->mutex

drivers/iommu/iommu.c iommu_attach_group_handle() -> iommu_make_pasid_array_entry()

Type Parameter Key Value
PARAM_VALUE 1 handle 4096-ptr_max
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
DATA_SOURCE 0 domain $0
DATA_SOURCE 1 handle $2
LOCK2 &group->mutex
LOCK2 &igroup->lock
HALF_LOCKED2 &ioas->mutex
HALF_LOCKED2 &vdev->dev_set->lock
TYPE_LOCK (struct iommu_group)->mutex
TYPE_LOCK (struct iommufd_group)->lock

drivers/iommu/iommu.c iommu_replace_device_pasid() -> iommu_make_pasid_array_entry()

Type Parameter Key Value
PARAM_VALUE 0 domain 4096-ptr_max
PARAM_VALUE 1 handle 4096-ptr_max
CAPPED_DATA 0 domain 1
DATA_SOURCE 0 domain $0
DATA_SOURCE 1 handle $3
LOCK2 &group->mutex
LOCK2 &igroup->lock
HALF_LOCKED2 &ioas->mutex
HALF_LOCKED2 &vdev->dev_set->lock
TYPE_LOCK (struct iommu_group)->mutex
TYPE_LOCK (struct iommufd_group)->lock

drivers/iommu/iommu.c iommu_replace_group_handle() -> iommu_make_pasid_array_entry()

Type Parameter Key Value
PARAM_VALUE 0 domain 1-u64max
PARAM_VALUE 1 handle 4096-ptr_max
DATA_SOURCE 0 domain $1
DATA_SOURCE 1 handle $2
LOCK2 &group->mutex
LOCK2 &igroup->lock
HALF_LOCKED2 &ioas->mutex
HALF_LOCKED2 &vdev->dev_set->lock
TYPE_LOCK (struct iommu_group)->mutex
TYPE_LOCK (struct iommufd_group)->lock