Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iommu/iommufd/vfio_compat.c iommufd_vfio_cc_iommu() -> get_compat_ioas()

Type Parameter Key Value
BUF_SIZE 0 ictx s32min-(-2),1-s32max
BUF_SIZE 0 ictx s32min-(-2),1-s32max
DATA_SOURCE 0 ictx $0

drivers/iommu/iommufd/vfio_compat.c iommufd_vfio_compat_ioas_get_id() -> get_compat_ioas()

Type Parameter Key Value
PARAM_VALUE 0 ictx 1-u64max
DATA_SOURCE 0 ictx $0
LOCK2 &vdev->dev_set->lock
LOCK2 &vdev->group->group_lock
TYPE_LOCK (struct vfio_device_set)->lock
TYPE_LOCK (struct vfio_group)->group_lock

drivers/iommu/iommufd/vfio_compat.c iommufd_vfio_ioas() -> get_compat_ioas()

Type Parameter Key Value

drivers/iommu/iommufd/vfio_compat.c iommufd_vfio_iommu_get_info() -> get_compat_ioas()

Type Parameter Key Value
BUF_SIZE 0 ictx s32min-(-2),1-s32max
BUF_SIZE 0 ictx s32min-(-2),1-s32max
DATA_SOURCE 0 ictx $0

drivers/iommu/iommufd/vfio_compat.c iommufd_vfio_map_dma() -> get_compat_ioas()

Type Parameter Key Value
BUF_SIZE 0 ictx s32min-(-2),1-s32max
BUF_SIZE 0 ictx s32min-(-2),1-s32max
DATA_SOURCE 0 ictx $0

drivers/iommu/iommufd/vfio_compat.c iommufd_vfio_set_iommu() -> get_compat_ioas()

Type Parameter Key Value
BUF_SIZE 0 ictx s32min-(-2),1-s32max
BUF_SIZE 0 ictx s32min-(-2),1-s32max
DATA_SOURCE 0 ictx $0

drivers/iommu/iommufd/vfio_compat.c iommufd_vfio_unmap_dma() -> get_compat_ioas()

Type Parameter Key Value
BUF_SIZE 0 ictx s32min-(-2),1-s32max
BUF_SIZE 0 ictx s32min-(-2),1-s32max
DATA_SOURCE 0 ictx $0