Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- include/linux/mm.h, line 1703
- lib/maple_tree.c
- lib/test_maple_tree.c
- tools/testing/radix-tree/maple.c
- tools/testing/vma/include/dup.h, line 1480
Smatch caller information:
lib/maple_tree.c mas_alloc_cyclic() -> mas_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 490740092738199552,3625433611361931264 |
| PARAM_VALUE | 0 | mas->sheaf->capacity | s32min-4294967295 |
| PARAM_VALUE | 0 | mas->sheaf->node | s32min-s32max |
| PARAM_VALUE | 0 | mas->sheaf->pfmemalloc | 0-1 |
| PARAM_VALUE | 0 | mas->sheaf->size | s32min-4294967295 |
| DATA_SOURCE | 0 | mas | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mt->ma_lock | ||
| TYPE_LOCK | (struct maple_tree)->ma_lock |
lib/maple_tree.c mas_erase() -> mas_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 4096-ptr_max |
| PARAM_VALUE | 0 | mas->mas_flags | 0,2-254 |
| PARAM_VALUE | 0 | mas->node_request | 0 |
| PARAM_VALUE | 0 | mas->sheaf | 0 |
| PARAM_VALUE | 0 | mas->status | 0-3 |
| PARAM_VALUE | 0 | mas->tree | 4096-ptr_max |
| DATA_SOURCE | 0 | mas | $0 |
| NOSPEC | 0 | mas->last | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | mas->last | 0-u64max |
| HALF_LOCKED2 | &(&mas)->tree->ma_lock | ||
| HALF_LOCKED2 | &mt->ma_lock | ||
| HALF_LOCKED2 | &ub->mutex | ||
| HALF_LOCKED2 | &uvmm->mutex | ||
| HALF_LOCKED2 | _T->lock |
lib/maple_tree.c mas_preallocate() -> mas_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 4096-ptr_max |
| PARAM_VALUE | 0 | mas->mas_flags | 0,2-254 |
| PARAM_VALUE | 0 | mas->node | (-46) |
| PARAM_VALUE | 0 | mas->node_request | 0 |
| PARAM_VALUE | 0 | mas->sheaf | 0,4096-ptr_max |
| PARAM_VALUE | 0 | mas->status | 7 |
| PARAM_VALUE | 0 | mas->store_type | 1-9 |
| PARAM_VALUE | 0 | mas->tree | 4096-ptr_max |
| DATA_SOURCE | 0 | mas | $0 |
| BIT_INFO | 0 | mas->mas_flags | 0x0,0xfe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | mas->index | 0-u64max |
| USER_DATA | 0 | mas->last | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | mas->sheaf->size | |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock |
lib/maple_tree.c mas_store() -> mas_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 4096-ptr_max |
| PARAM_VALUE | 0 | mas->node | 0 |
| PARAM_VALUE | 0 | mas->node_request | 0-1 |
| PARAM_VALUE | 0 | mas->status | 0,2-3,8-u32max |
| PARAM_VALUE | 0 | mas->store_type | 1-9 |
| PARAM_VALUE | 0 | mas->tree | 4096-ptr_max |
| DATA_SOURCE | 0 | mas | $0 |
| BIT_INFO | 0 | mas->mas_flags | 0x0,0xfe |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mas->index | |
| NO_OVERFLOW_SIMPLE | 0 | mas->sheaf->size | |
| HALF_LOCKED2 | &(&mas)->tree->ma_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &mt_lock | ||
| HALF_LOCKED2 | &newmt_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock |
lib/maple_tree.c mas_store_gfp() -> mas_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 4096-ptr_max |
| PARAM_VALUE | 0 | mas->tree | 4096-ptr_max |
| DATA_SOURCE | 0 | mas | $0 |
| NOSPEC | 0 | mas->index | |
| NOSPEC | 0 | mas->last | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | mas->index | 0-u64max |
| USER_DATA | 0 | mas->last | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | mas->sheaf->capacity | |
| HALF_LOCKED2 | &(&mas)->tree->ma_lock | ||
| HALF_LOCKED2 | &(&newmas)->tree->ma_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &mt->ma_lock | ||
| HALF_LOCKED2 | &mt_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock | ||
| HALF_LOCKED2 | &sched->mutex | ||
| HALF_LOCKED2 | &uvmm->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | map->lock_arg | ||
| HALF_LOCKED2 | mutex | ||
| HALF_LOCKED2 | rcu_read |
lib/maple_tree.c mas_store_prealloc() -> mas_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 4096-ptr_max |
| PARAM_VALUE | 0 | mas->mas_flags | 1,3-255 |
| PARAM_VALUE | 0 | mas->node | 0,18446744073709535238-18446744073709551614 |
| PARAM_VALUE | 0 | mas->node_request | 0-1 |
| PARAM_VALUE | 0 | mas->status | 0,2,4,7-u32max |
| PARAM_VALUE | 0 | mas->store_type | 1-9 |
| DATA_SOURCE | 0 | mas | $0 |
| NOSPEC | 0 | mas->index | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | mas->index | 0-18446744073709547520[c] |
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &tsk->signal->exec_update_lock |
lib/maple_tree.c mtree_alloc_range() -> mas_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 51657533444714496 |
| NOCHECK_CALL |
lib/maple_tree.c mtree_alloc_rrange() -> mas_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 7661151743779176448 |
| NOCHECK_CALL |
lib/maple_tree.c mtree_insert_range() -> mas_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 1296178078301794304 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ub->mutex |
mm/mmap.c vma_iter_free() -> mas_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 3206200147527860224 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | mas->index | |
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | &oldmm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/vma.c vma_iter_free() -> mas_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 4096-ptr_max |
| PARAM_VALUE | 0 | mas->node_request | 0-1 |
| NOSPEC | 0 | mas->index | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | mas->index | 0-u64max |
| USER_DATA | 0 | mas->last | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | mas->index |
lib/test_maple_tree.c check_bnode_min_spanning() -> mas_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 4096-ptr_max |
| PARAM_VALUE | 0 | mas->node | 0,(-86),(-46) |
| PARAM_VALUE | 0 | mas->status | 0,2,7-u32max |
| PARAM_VALUE | 0 | mas->store_type | 0-9 |
| NOCHECK_CALL |
lib/test_maple_tree.c check_forking() -> mas_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 6758922485489348608 |
| PARAM_VALUE | 0 | mas->status | 0-1,3,5,7-u32max |
| PARAM_VALUE | 0 | mas->store_type | 0-9 |
| NOCHECK_CALL | |||
| LOCK2 | &mt_lock | ||
| LOCK2 | &newmt_lock |
lib/test_maple_tree.c check_forking() -> mas_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 7011290410941321216 |
| PARAM_VALUE | 0 | mas->alloc | 0 |
| PARAM_VALUE | 0 | mas->mas_flags | 0,2-254 |
| PARAM_VALUE | 0 | mas->node_request | 0 |
| PARAM_VALUE | 0 | mas->sheaf | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &mt_lock | ||
| LOCK2 | &newmt_lock |
lib/test_maple_tree.c check_iteration() -> mas_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mas | 4096-ptr_max |
| PARAM_VALUE | 0 | mas->status | 0-3,5,7-u32max |
| PARAM_VALUE | 0 | mas->store_type | 0-9 |
| NOCHECK_CALL |