Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/iommu/iommufd/driver.c, line 60
- lib/maple_tree.c, line 5953
- lib/region_alloc_benchmark.c, line 136
- lib/test_maple_tree.c, line 118
Smatch caller information:
lib/test_maple_tree.c check_mtree_alloc_range() -> mtree_alloc_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_flags | 1 |
| PARAM_VALUE | 0 | mt->ma_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| PARAM_VALUE | 1 | startp | 5175088752654893056 |
| PARAM_VALUE | 1 | *startp | 1-4503599627370496 |
| PARAM_VALUE | 2 | entry | 1,3-9007199254740991 |
| PARAM_VALUE | 3 | size | 0-4503599627370495 |
| PARAM_VALUE | 4 | min | 0-4503599627370495 |
| PARAM_VALUE | 5 | max | 0-4503599627370495 |
| PARAM_VALUE | 6 | gfp | 3264 |
| DATA_SOURCE | 0 | mt | $0 |
| DATA_SOURCE | 2 | entry | $6 |
| DATA_SOURCE | 3 | size | $3 |
| DATA_SOURCE | 4 | min | $1 |
| DATA_SOURCE | 5 | max | $2 |
lib/region_alloc_benchmark.c benchmark_maple_tree() -> mtree_alloc_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 2073650329620516864 |
| PARAM_VALUE | 0 | mt->ma_flags | 1 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| PARAM_VALUE | 1 | startp | 8125729725826215936 |
| PARAM_VALUE | 2 | entry | 1,3-u64max |
| PARAM_VALUE | 3 | size | 0-255 |
| PARAM_VALUE | 4 | min | 0 |
| PARAM_VALUE | 6 | gfp | 3264 |
drivers/iommu/iommufd/driver.c _iommufd_alloc_mmap() -> mtree_alloc_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 1 | startp | 311575413787283456 |
| PARAM_VALUE | 2 | entry | 4096-ptr_max |
| PARAM_VALUE | 3 | size | 8192 |
| PARAM_VALUE | 4 | min | 4096 |
| PARAM_VALUE | 5 | max | u64max |
| PARAM_VALUE | 6 | gfp | 3264 |
| BUF_SIZE | 2 | entry | 32 |
| DATA_SOURCE | 2 | entry | r _kzalloc_noprof |
| DATA_SOURCE | 3 | size | $3 |
| UNITS | 4 | min | unit_byte |