Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 area 4096-ptr_max
PARAM_VALUE 0 area->iopt->disable_large_pages 0-1
PARAM_VALUE 0 area->pages 4096-ptr_max
PARAM_VALUE 0 area->pages->source_mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 area->pages->source_mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 1 pages 4096-ptr_max
PARAM_VALUE 1 pages->source_mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 pages->source_mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 2 domain 4096-ptr_max
PARAM_VALUE 2 domain->cookie_type 5
PARAM_VALUE 2 domain->geometry.aperture_end u64max
PARAM_VALUE 2 domain->iommufd_hwpt 4096-ptr_max
PARAM_VALUE 2 domain->iommufd_hwpt->domain 4096-ptr_max
PARAM_VALUE 2 domain->iova_cookie 4096-ptr_max
PARAM_VALUE 2 domain->msi_cookie 4096-ptr_max
PARAM_VALUE 2 domain->ops->iotlb_sync 0,4096-ptr_max
PARAM_VALUE 2 domain->owner->domain_alloc_paging_flags 0,8509805123710701568,8930407207250460672,8966249347349827584
BUF_SIZE 2 domain (-1),112
BUF_SIZE 2 domain (-1),112
BUF_SIZE 2 domain->iommufd_hwpt (-1),40
BUF_SIZE 2 domain->owner (-1),200
CAPPED_DATA 2 domain 1
DATA_SOURCE 0 area $0
DATA_SOURCE 2 domain $1
NOCHECK_CALL
USER_DATA 2 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() -> iopt_area_unfill_partial_domain()

Type Parameter Key Value
PARAM_VALUE 0 area 4096-ptr_max
PARAM_VALUE 0 area->iopt 4096-ptr_max
PARAM_VALUE 0 area->iopt->disable_large_pages 0-1
PARAM_VALUE 0 area->iopt->domains.xa_head 1-u64max
PARAM_VALUE 1 pages 4096-ptr_max
PARAM_VALUE 1 pages->mutex.dep_map->name 0-255
PARAM_VALUE 1 pages->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 pages->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 pages->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 1 pages->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 pages->mutex.wait_lock.owner (-1)
PARAM_VALUE 1 pages->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 1 pages->source_mm->mmap_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 pages->source_mm->mmap_lock.first_waiter->type 0-1
PARAM_VALUE 2 domain 1-u64max
PARAM_VALUE 2 domain->ops->iotlb_sync 0,4096-ptr_max
CAPPED_DATA 0 area 1
CAPPED_DATA 1 &pages->mutex 1
DATA_SOURCE 0 area $0
DATA_SOURCE 1 pages $1
NOCHECK_CALL
LOCK2 &iopt->domains_rwsem
LOCK2 1 &pages->mutex
TYPE_LOCK (struct io_pagetable)->domains_rwsem
TYPE_LOCK (struct iopt_pages)->mutex