Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
lib/test_maple_tree.c check_alloc_range() -> check_insert_range()
| 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_root | 0 |
| PARAM_VALUE | 1 | start | 0-4503599627370495 |
| PARAM_VALUE | 2 | end | 0-4503599627370494,u64max |
| PARAM_VALUE | 3 | ptr | 1,3-9007199254740991 |
| PARAM_VALUE | 4 | expected | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| NOCHECK_CALL |
lib/test_maple_tree.c check_alloc_rev_range() -> check_insert_range()
| 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_root | 0 |
| PARAM_VALUE | 1 | start | 0-4503599627370495 |
| PARAM_VALUE | 2 | end | 0-4503599627370494,u64max |
| PARAM_VALUE | 3 | ptr | 1,3-9007199254740991 |
| PARAM_VALUE | 4 | expected | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| NOCHECK_CALL |
lib/test_maple_tree.c check_ranges() -> check_insert_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_flags | 0 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| PARAM_VALUE | 1 | start | 10 |
| PARAM_VALUE | 2 | end | 15 |
| PARAM_VALUE | 3 | ptr | 21 |
| PARAM_VALUE | 4 | expected | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| NOCHECK_CALL |
lib/test_maple_tree.c check_ranges() -> check_insert_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_flags | 0 |
| PARAM_VALUE | 0 | mt->ma_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| PARAM_VALUE | 1 | start | 20 |
| PARAM_VALUE | 2 | end | 25 |
| PARAM_VALUE | 3 | ptr | 41 |
| PARAM_VALUE | 4 | expected | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| NOCHECK_CALL |
lib/test_maple_tree.c check_ranges() -> check_insert_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 697437168751288320 |
| PARAM_VALUE | 0 | mt->ma_flags | 0 |
| PARAM_VALUE | 0 | mt->ma_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| PARAM_VALUE | 1 | start | 17 |
| PARAM_VALUE | 2 | end | 22 |
| PARAM_VALUE | 3 | ptr | 35 |
| PARAM_VALUE | 4 | expected | (-17) |
| DATA_SOURCE | 0 | mt | $0 |
| NOCHECK_CALL |