Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 9 files:
- arch/arm64/kvm/hypercalls.c, line 225
- include/linux/maple_tree.h, line 933
- kernel/irq/irqdesc.c, line 189
- lib/maple_tree.c
- lib/test_maple_tree.c
- mm/mmap.c
- mm/nommu.c, line 632
- tools/testing/radix-tree/maple.c, line 33508
- tools/testing/vma/include/dup.h, line 1434
Smatch caller information:
lib/maple_tree.c mt_find_after() -> mt_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt->ma_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | mt->ma_root | 1-u64max |
| PARAM_VALUE | 1 | index | 1761417918101229568 |
| PARAM_VALUE | 1 | *index | 1-u64max |
| PARAM_VALUE | 2 | max | 300,u64max |
| CAPPED_DATA | 0 | mt->ma_root | 1 |
| DATA_SOURCE | 0 | mt | $0 |
| DATA_SOURCE | 1 | index | $1 |
| DATA_SOURCE | 2 | max | $2 |
| HARD_MAX | 2 | max | u64max |
| NO_OVERFLOW_SIMPLE | 1 | *index |
mm/mmap.c find_vma() -> mt_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 2110668820456955904 |
| PARAM_VALUE | 2 | max | u64max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | *index | 1-u64max[c] |
| USER_DATA | 1 | *index | 0-u64max |
| USER_PTR | 1 | index | |
| HALF_LOCKED2 | &arena->zap_mutex | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &encl->lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &seq->lock | ||
| HALF_LOCKED2 | &uprobe->register_rwsem | ||
| HALF_LOCKED2 | global &ioreq_lock |
mm/mmap.c find_vma_intersection() -> mt_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | index | 3190439549589090304 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *index | 0-u64max |
| UNITS | 2 | max | unit_byte |
| USER_PTR | 1 | index | |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &vm->lock |
lib/test_maple_tree.c check_find() -> mt_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt->ma_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | index | 1761417918101229568 |
| PARAM_VALUE | 1 | *index | 0 |
| PARAM_VALUE | 2 | max | 300 |
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c check_find() -> mt_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt->ma_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | index | 1761417918101229568 |
| PARAM_VALUE | 1 | *index | 0 |
| PARAM_VALUE | 2 | max | u64max |
| DATA_SOURCE | 0 | mt | $0 |
| NO_OVERFLOW_SIMPLE | 1 | *index |
lib/test_maple_tree.c check_find() -> mt_find()
| 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 | 1761417918101229568 |
| PARAM_VALUE | 1 | *index | 17 |
| PARAM_VALUE | 2 | max | 512 |
| DATA_SOURCE | 0 | mt | $0 |
| NO_OVERFLOW_SIMPLE | 1 | *index |
lib/test_maple_tree.c check_find() -> mt_find()
| 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 | 1761417918101229568 |
| PARAM_VALUE | 1 | *index | 17 |
| PARAM_VALUE | 2 | max | 20 |
| CAPPED_DATA | 0 | mt->ma_root | 1 |
| DATA_SOURCE | 0 | mt | $0 |
| NO_OVERFLOW_SIMPLE | 1 | *index |
kernel/irq/irqdesc.c irq_find_desc_at_or_after() -> mt_find()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 384540098826899456 |
| PARAM_VALUE | 1 | index | 1860125195877699584 |
| PARAM_VALUE | 1 | *index | 0-u32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &f->lock |