Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/iommu/intel/nested.c intel_iommu_domain_alloc_nested() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
CAPPED_DATA 0 dom->owner 1
DATA_SOURCE 0 dom $1

drivers/iommu/intel/nested.c intel_nested_attach_dev() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom->iommufd_hwpt (-1),40
DATA_SOURCE 0 dom $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &group->mutex

drivers/iommu/intel/nested.c intel_nested_cache_invalidate_user() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
DATA_SOURCE 0 dom $0

drivers/iommu/intel/nested.c intel_nested_domain_free() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom (-1),112
DATA_SOURCE 0 dom $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &container->group_lock
HALF_LOCKED2 &group->mutex
HALF_LOCKED2 &iommu->lock
HALF_LOCKED2 &rproc->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &iommu_sva_lock

drivers/iommu/intel/nested.c intel_nested_set_dev_pasid() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom->iommufd_hwpt (-1),40
CAPPED_DATA 0 dom 1
DATA_SOURCE 0 dom $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &group->mutex
HALF_LOCKED2 &igroup->lock
HALF_LOCKED2 _T->lock

drivers/iommu/intel/iommu.c domain_add_dev_pasid() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom->iommufd_hwpt (-1),40
DATA_SOURCE 0 dom $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &group->mutex
HALF_LOCKED2 &igroup->lock
HALF_LOCKED2 _T->lock

drivers/iommu/intel/iommu.c domain_remove_dev_pasid() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom->iommufd_hwpt (-1),40
DATA_SOURCE 0 dom $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/intel/iommu.c intel_flush_iotlb_all() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
DATA_SOURCE 0 dom $0
RX_PATH
TASK_NOT_RUNNING

drivers/iommu/intel/iommu.c intel_iommu_attach_device() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom->iommufd_hwpt (-1),40
DATA_SOURCE 0 dom $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &group->mutex

drivers/iommu/intel/iommu.c intel_iommu_domain_free() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom (-1),112
DATA_SOURCE 0 dom $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &container->group_lock
HALF_LOCKED2 &group->mutex
HALF_LOCKED2 &iommu->lock
HALF_LOCKED2 &rproc->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &iommu_sva_lock

drivers/iommu/intel/iommu.c intel_iommu_enforce_cache_coherency_fs() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
CAPPED_DATA 0 dom 1
DATA_SOURCE 0 dom $0
HALF_LOCKED2 &container->group_lock
HALF_LOCKED2 &ioas->mutex
HALF_LOCKED2 &iommu->lock

drivers/iommu/intel/iommu.c intel_iommu_enforce_cache_coherency_ss() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
CAPPED_DATA 0 dom 1
DATA_SOURCE 0 dom $0
HALF_LOCKED2 &container->group_lock
HALF_LOCKED2 &ioas->mutex
HALF_LOCKED2 &iommu->lock

drivers/iommu/intel/iommu.c intel_iommu_iotlb_sync_map() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom->iommufd_hwpt (-1),40
DATA_SOURCE 0 dom $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dom->msi_cookie->msi_iova

drivers/iommu/intel/iommu.c intel_iommu_set_dev_pasid() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom->iommufd_hwpt (-1),40
CAPPED_DATA 0 dom 1
DATA_SOURCE 0 dom $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &group->mutex
HALF_LOCKED2 &igroup->lock
HALF_LOCKED2 _T->lock

drivers/iommu/intel/iommu.c intel_iommu_set_dirty_tracking() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
DATA_SOURCE 0 dom $0
LOCK2 &iopt->iova_rwsem
TYPE_LOCK (struct io_pagetable)->iova_rwsem

drivers/iommu/intel/iommu.c intel_iommu_tlb_sync() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom->iommufd_hwpt (-1),40
DATA_SOURCE 0 dom $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dom->msi_cookie->msi_iova
HALF_LOCKED2 &iopt->iova_rwsem

drivers/iommu/intel/iommu.c paging_domain_compatible() -> to_dmar_domain()

Type Parameter Key Value
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom->iommufd_hwpt (-1),40
DATA_SOURCE 0 dom $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &group->mutex

drivers/iommu/intel/svm.c intel_svm_domain_free() -> to_dmar_domain()

Type Parameter Key Value
PARAM_VALUE 0 dom 4096-ptr_max
BUF_SIZE 0 dom (-1),112
BUF_SIZE 0 dom (-1),112
DATA_SOURCE 0 dom $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &container->group_lock
HALF_LOCKED2 &group->mutex
HALF_LOCKED2 &iommu->lock
HALF_LOCKED2 &rproc->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &iommu_sva_lock