Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iommu/iommufd/device.c iommufd_hwpt_attach_device() -> iommufd_hwpt_compatible_device()

Type Parameter Key Value
PARAM_VALUE 0 hwpt 4096-ptr_max
PARAM_VALUE 1 idev 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
BUF_SIZE 1 idev->dev (-1),1616
BUF_SIZE 1 idev->ictx s32min-(-1),1-s32max
CAPPED_DATA 0 hwpt 1
DATA_SOURCE 0 hwpt $0
DATA_SOURCE 1 idev $1
USER_DATA 0 hwpt->domain->iommufd_hwpt->pasid_compat 0-1[c]
USER_DATA 0 hwpt->pasid_compat 0-1[c]
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_hwpt_replace_device() -> iommufd_hwpt_compatible_device()

Type Parameter Key Value
PARAM_VALUE 0 hwpt 4096-ptr_max
PARAM_VALUE 1 idev 4096-ptr_max
BUF_SIZE 0 hwpt (-1),40
BUF_SIZE 0 hwpt (-1),40
BUF_SIZE 1 idev->dev (-1),1616
BUF_SIZE 1 idev->ictx s32min-(-1),1-s32max
DATA_SOURCE 0 hwpt $2
DATA_SOURCE 1 idev $0
LOCK2 &igroup->lock
HALF_LOCKED2 &ioas->mutex
HALF_LOCKED2 &vdev->dev_set->lock
TYPE_LOCK (struct iommufd_group)->lock