Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iommu/iommufd/pages.c iopt_area_add_access() -> iopt_pages_get_exact_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pages | 4096-ptr_max |
| PARAM_VALUE | 0 | pages->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pages->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pages->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pages->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | pages->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pages->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | pages->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | pages->type | 0-1,3-u32max |
| CAPPED_DATA | 0 | &pages->mutex | 1 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 2 | last | $2 |
| LOCK2 | &access->ioas_lock | ||
| LOCK2 | &iopt->iova_rwsem | ||
| LOCK2 | 0 | &pages->mutex | |
| HALF_LOCKED2 | &staccess->lock | ||
| HALF_LOCKED2 | &vgpu->cache_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 iopt_area_remove_access() -> iopt_pages_get_exact_access()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pages | 1-u64max |
| PARAM_VALUE | 0 | pages->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pages->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pages->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | pages->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | pages->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pages->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | pages->mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &pages->mutex | 1 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 2 | last | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &access->ioas_lock | ||
| LOCK2 | &iopt->iova_rwsem | ||
| LOCK2 | 0 | &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 |