Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iommu/iommufd/io_pagetable.c __alloc_iova_check_hole() -> __alloc_iova_check_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 8300126908536217728 |
| PARAM_VALUE | 2 | length | 1-9223372036854775806 |
| PARAM_VALUE | 3 | iova_alignment | 0-2097152 |
| CAPPED_DATA | 3 | iova_alignment | 1 |
| CAPPED_DATA | 3 | iova_alignment | 1 |
| DATA_SOURCE | 2 | length | $1 |
| DATA_SOURCE | 3 | iova_alignment | $2 |
| DATA_SOURCE | 4 | page_offset | $3 |
| USER_DATA | 2 | length | 1-9223372036854775806 |
| NO_OVERFLOW_SIMPLE | 2 | length | |
| UNITS | 1 | last | unit_byte |
| UNITS | 2 | length | unit_byte |
| UNITS | 3 | iova_alignment | unit_byte |
| LOCK2 | &iopt->iova_rwsem | ||
| TYPE_LOCK | (struct io_pagetable)->iova_rwsem |
drivers/iommu/iommufd/io_pagetable.c __alloc_iova_check_used() -> __alloc_iova_check_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 5641834098772607008 |
| PARAM_VALUE | 2 | length | 1-9223372036854775806 |
| PARAM_VALUE | 3 | iova_alignment | 0-2097152 |
| CAPPED_DATA | 3 | iova_alignment | 1 |
| CAPPED_DATA | 3 | iova_alignment | 1 |
| DATA_SOURCE | 2 | length | $1 |
| DATA_SOURCE | 3 | iova_alignment | $2 |
| DATA_SOURCE | 4 | page_offset | $3 |
| USER_DATA | 2 | length | 1-9223372036854775806 |
| NO_OVERFLOW_SIMPLE | 0 | *start | |
| NO_OVERFLOW_SIMPLE | 2 | length | |
| UNITS | 1 | last | unit_byte |
| UNITS | 2 | length | unit_byte |
| UNITS | 3 | iova_alignment | unit_byte |
| LOCK2 | &iopt->iova_rwsem | ||
| TYPE_LOCK | (struct io_pagetable)->iova_rwsem |