Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/iommu/iommufd/driver.c, line 80
- fs/btrfs/lru_cache.c, line 89
- fs/libfs.c, line 332
- lib/maple_tree.c, line 6065
- lib/region_alloc_benchmark.c, line 151
- lib/test_maple_tree.c
- tools/testing/radix-tree/maple.c, line 33586
Smatch caller information:
fs/btrfs/lru_cache.c btrfs_lru_cache_remove() -> mtree_erase()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_root | 1-u64max |
| TASK_NOT_RUNNING | |||
| UNITS | 1 | index | unit_byte |
lib/test_maple_tree.c alloc_cyclic_testing() -> mtree_erase()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| 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 | index | 123 |
| CAPPED_DATA | 0 | mt | 1 |
| DATA_SOURCE | 0 | mt | $0 |
| NOCHECK_CALL |
lib/test_maple_tree.c alloc_cyclic_testing() -> mtree_erase()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| 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 | index | 100 |
| CAPPED_DATA | 0 | mt | 1 |
| DATA_SOURCE | 0 | mt | $0 |
| NOCHECK_CALL |
lib/test_maple_tree.c check_alloc_rev_range() -> mtree_erase()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_external_lock | 0-s32max |
| 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 | index | 34148798727 |
| DATA_SOURCE | 0 | mt | $0 |
| NOCHECK_CALL |
lib/test_maple_tree.c check_alloc_rev_range() -> mtree_erase()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_external_lock | 0-s32max |
| 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 | index | 34148798725 |
| DATA_SOURCE | 0 | mt | $0 |
| NOCHECK_CALL |
lib/test_maple_tree.c check_empty_area_fill() -> mtree_erase()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 631668735 |
| DATA_SOURCE | 0 | mt | $0 |
| NOCHECK_CALL |
lib/test_maple_tree.c check_empty_area_fill() -> mtree_erase()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | index | 629506047 |
| DATA_SOURCE | 0 | mt | $0 |
| NOCHECK_CALL |
lib/test_maple_tree.c check_ranges() -> mtree_erase()
| 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 | index | 200 |
| DATA_SOURCE | 0 | mt | $0 |
| NOCHECK_CALL |
lib/test_maple_tree.c check_ranges() -> mtree_erase()
| 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 | index | 210 |
| DATA_SOURCE | 0 | mt | $0 |
| NOCHECK_CALL |
lib/test_maple_tree.c check_ranges() -> mtree_erase()
| 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 | index | 220 |
| DATA_SOURCE | 0 | mt | $0 |
| NOCHECK_CALL |
lib/test_maple_tree.c check_ranges() -> mtree_erase()
| 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 | index | 230 |
| DATA_SOURCE | 0 | mt | $0 |
| NOCHECK_CALL |
lib/test_maple_tree.c mtree_erase_index() -> mtree_erase()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt->ma_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | index | 0-255,u64max |
| DATA_SOURCE | 0 | mt | $0 |
| DATA_SOURCE | 1 | index | $1 |
| FUZZY_MAX | 1 | index | 255 |
| HARD_MAX | 1 | index | u64max |
lib/test_maple_tree.c mtree_erase_index() -> mtree_erase()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | index | 0-255,u64max |
| DATA_SOURCE | 0 | mt | $0 |
| DATA_SOURCE | 1 | index | $1 |
| FUZZY_MAX | 1 | index | 255 |
| HARD_MAX | 1 | index | u64max |
lib/test_maple_tree.c mtree_test_erase() -> mtree_erase()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | mt->ma_root | 1 |
| DATA_SOURCE | 0 | mt | $0 |
| DATA_SOURCE | 1 | index | $1 |
lib/region_alloc_benchmark.c benchmark_maple_tree() -> mtree_erase()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 2073650329620516864 |
| PARAM_VALUE | 0 | mt->ma_flags | 1 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| NOCHECK_CALL |
drivers/iommu/iommufd/driver.c _iommufd_destroy_mmap() -> mtree_erase()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| DATA_SOURCE | 1 | index | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/libfs.c simple_offset_remove() -> mtree_erase()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 1 | index | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |