Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/base/regmap/regcache-maple.c, line 323
- drivers/gpu/drm/nouveau/nouveau_uvmm.c, line 1998
- lib/maple_tree.c
- lib/test_maple_tree.c
- mm/mmap.c
- mm/nommu.c, line 1558
- mm/vma.c
- tools/testing/radix-tree/maple.c, line 36491
Smatch caller information:
lib/maple_tree.c mtree_destroy() -> __mt_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt->ma_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | mt | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &mt->ma_lock | |
| TYPE_LOCK | (struct maple_tree)->ma_lock |
mm/mmap.c dup_mmap() -> __mt_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_flags | 771 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | &oldmm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/mmap.c exit_mmap() -> __mt_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/vma.c reattach_vmas() -> __mt_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
mm/vma.c vms_complete_munmap_vmas() -> __mt_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/base/regmap/regcache-maple.c regcache_maple_exit() -> __mt_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 1-u64max |
| BUF_SIZE | 0 | mt | 8-s32max |
| BUF_SIZE | 0 | mt | 8-s32max |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &(&mas)->tree->ma_lock | ||
| LOCK2 | map->lock_arg | ||
| HALF_LOCKED2 | _T->lock |
lib/test_maple_tree.c check_forking() -> __mt_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 8688075177093472256 |
| PARAM_VALUE | 0 | mt->ma_flags | 769 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &mt_lock | ||
| LOCK2 | &newmt_lock |
lib/test_maple_tree.c check_forking() -> __mt_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 1832129696435253248 |
| PARAM_VALUE | 0 | mt->ma_flags | 769 |
| PARAM_VALUE | 0 | mt->ma_root | 0 |
| NOCHECK_CALL | |||
| LOCK2 | &mt_lock | ||
| LOCK2 | &newmt_lock |
drivers/gpu/drm/nouveau/nouveau_uvmm.c nouveau_uvmm_fini() -> __mt_destroy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &uvmm->mutex | ||
| HALF_LOCKED2 | &drm->clients_lock | ||
| HALF_LOCKED2 | global &drm_unplug_srcu | ||
| TYPE_LOCK | (struct nouveau_uvmm)->mutex |