Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iommu/iommufd/pages.c iopt_area_unpin_domain() -> batch_unpin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | batch | 8063690985537204224 |
| PARAM_VALUE | 0 | batch->pfns | 0,4096-ptr_max |
| 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 | 1 | pages->type | 0-1,3-u32max |
| PARAM_VALUE | 2 | first_page_off | 0 |
| DATA_SOURCE | 0 | batch | $0 |
| DATA_SOURCE | 1 | pages | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | npages | unit_byte |
| LOCK2 | &iopt->domains_rwsem | ||
| HALF_LOCKED2 | &ioas->mutex | ||
| HALF_LOCKED2 | &iopt->iova_rwsem | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | 1 | &pages->mutex | |
| TYPE_LOCK | (struct io_pagetable)->domains_rwsem |
drivers/iommu/iommufd/pages.c iopt_pages_unpin_xarray() -> batch_unpin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | batch | 1355349128839671808 |
| PARAM_VALUE | 0 | batch->kind | 0-1 |
| 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.first_waiter->list.prev->prev | 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 | first_page_off | 0 |
| DATA_SOURCE | 0 | batch | $0 |
| DATA_SOURCE | 1 | pages | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 3 | npages | unit_byte |
| LOCK2 | &access->ioas_lock | ||
| LOCK2 | &iopt->iova_rwsem | ||
| LOCK2 | 1 | &pages->mutex | |
| HALF_LOCKED2 | &staccess->lock | ||
| TYPE_LOCK | (struct io_pagetable)->iova_rwsem | ||
| TYPE_LOCK | (struct iommufd_access)->ioas_lock | ||
| TYPE_LOCK | (struct iopt_pages)->mutex |
drivers/iommu/iommufd/pages.c pfn_reader_unpin() -> batch_unpin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | batch | 5386030719981473952,6270772229982597280,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 | pages | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | first_page_off | unit_byte |
| UNITS | 3 | npages | unit_byte |
| HALF_LOCKED2 | &access->ioas_lock | ||
| HALF_LOCKED2 | &iopt->iova_rwsem | ||
| HALF_LOCKED2 | &pages->mutex |