Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/iommu/iommufd/pages.c iopt_area_fill_domain() -> batch_to_domain()

Type Parameter Key Value
PARAM_VALUE 0 batch 8717662312254873760
PARAM_VALUE 0 batch->array_size 0-333333
PARAM_VALUE 0 batch->kind 0-1
PARAM_VALUE 0 batch->pfns 4096-ptr_max
PARAM_VALUE 1 domain 4096-ptr_max
PARAM_VALUE 1 domain->cookie_type 5
PARAM_VALUE 1 domain->geometry.aperture_end u64max
PARAM_VALUE 1 domain->iommufd_hwpt 4096-ptr_max
PARAM_VALUE 1 domain->iommufd_hwpt->domain 4096-ptr_max
PARAM_VALUE 1 domain->iova_cookie 4096-ptr_max
PARAM_VALUE 1 domain->msi_cookie 4096-ptr_max
PARAM_VALUE 1 domain->ops->iotlb_sync 0,4096-ptr_max
PARAM_VALUE 1 domain->owner->domain_alloc_paging_flags 0,8509805123710701568,8930407207250460672,8966249347349827584
PARAM_VALUE 2 area 4096-ptr_max
PARAM_VALUE 2 area->iopt->disable_large_pages 0-1
PARAM_VALUE 2 area->pages 4096-ptr_max
PARAM_VALUE 2 area->pages->source_mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 2 area->pages->source_mm->mmap_lock.first_waiter->type 0-1
BUF_SIZE 1 domain (-1),112
BUF_SIZE 1 domain (-1),112
BUF_SIZE 1 domain->iommufd_hwpt (-1),40
BUF_SIZE 1 domain->owner (-1),200
CAPPED_DATA 1 domain 1
DATA_SOURCE 1 domain $1
DATA_SOURCE 2 area $0
USER_DATA 1 domain->iommufd_hwpt->pasid_compat 0-1[c]
LOCK2 &ioas->mutex
LOCK2 &iopt->domains_rwsem
LOCK2 &iopt->iova_rwsem
LOCK2 _T->lock
TYPE_LOCK (struct io_pagetable)->domains_rwsem
TYPE_LOCK (struct io_pagetable)->iova_rwsem
TYPE_LOCK (struct iommufd_ioas)->mutex

drivers/iommu/iommufd/pages.c iopt_area_fill_domains() -> batch_to_domain()

Type Parameter Key Value
PARAM_VALUE 0 batch 6270772229982597280
PARAM_VALUE 0 batch->array_size 0-333333
PARAM_VALUE 0 batch->kind 0-1
PARAM_VALUE 0 batch->pfns 4096-ptr_max
PARAM_VALUE 1 domain 1-u64max
PARAM_VALUE 1 domain->ops->iotlb_sync 0,4096-ptr_max
PARAM_VALUE 2 area 4096-ptr_max
PARAM_VALUE 2 area->iopt 4096-ptr_max
PARAM_VALUE 2 area->iopt->disable_large_pages 0-1
PARAM_VALUE 2 area->iopt->domains.xa_head 1-u64max
CAPPED_DATA 2 area 1
DATA_SOURCE 2 area $0
LOCK2 &iopt->domains_rwsem
LOCK2 &pages->mutex
TYPE_LOCK (struct io_pagetable)->domains_rwsem
TYPE_LOCK (struct iopt_pages)->mutex