Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iommu/iommufd/io_pagetable.c iopt_alloc_area_pages() -> iopt_check_iova()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iopt | 4096-ptr_max |
| PARAM_VALUE | 0 | iopt->iova_alignment | 0-2097152 |
| PARAM_VALUE | 0 | iopt->iova_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iopt->iova_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | iopt->iova_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | iopt->iova_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | iopt->iova_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | iopt->iova_rwsem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iopt->iova_rwsem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | iopt->iova_rwsem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | iova | 0-18446744073709551614 |
| PARAM_VALUE | 2 | length | 1-9223372036854775806 |
| CAPPED_DATA | 0 | iopt->iova_alignment | 1 |
| CAPPED_DATA | 0 | &iopt->iova_rwsem | 1 |
| DATA_SOURCE | 0 | iopt | $0 |
| DATA_SOURCE | 2 | length | $2 |
| USER_DATA | 1 | iova | 0-18446744073709551614[c][u] |
| USER_DATA | 2 | length | 1-9223372036854775806 |
| NO_OVERFLOW_SIMPLE | 2 | length | |
| UNITS | 2 | length | unit_byte |
| LOCK2 | 0 | &iopt->iova_rwsem | |
| TYPE_LOCK | (struct io_pagetable)->iova_rwsem |
drivers/iommu/iommufd/io_pagetable.c iopt_alloc_area_pages() -> iopt_check_iova()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | iopt | 4096-ptr_max |
| PARAM_VALUE | 0 | iopt->iova_rwsem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iopt->iova_rwsem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | iopt->iova_rwsem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | iopt->iova_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | iopt->iova_rwsem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | iopt->iova_rwsem.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | iopt->iova_rwsem.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | iopt->iova_rwsem.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | length | 1-18446744073709551614 |
| CAPPED_DATA | 0 | &iopt->iova_rwsem | 1 |
| DATA_SOURCE | 0 | iopt | $0 |
| DATA_SOURCE | 2 | length | $2 |
| USER_DATA | 1 | iova | 0-u64max |
| USER_DATA | 2 | length | 1-18446744073709551614 |
| UNITS | 2 | length | unit_byte |
| LOCK2 | 0 | &iopt->iova_rwsem | |
| TYPE_LOCK | (struct io_pagetable)->iova_rwsem |