Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
kernel/fork.c mt_init_flags() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_flags | 771 |
| DATA_SOURCE | 0 | mt | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
lib/maple_tree.c mas_erase() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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_lockdep_map() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | mt | (-1),8-s32max |
| BUF_SIZE | 0 | mt | (-1),8-s32max |
| STR_LEN | 0 | mt | (-1),3-15,19-20,26 |
| STR_LEN | 0 | mt | (-1),3-15,19-20,26 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
lib/maple_tree.c mas_nomem() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | mt | (-1),88 |
| BUF_SIZE | 0 | mt | (-1),88 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mt->ma_lock |
lib/maple_tree.c mas_nomem() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | mt | (-1),88 |
| BUF_SIZE | 0 | mt | (-1),88 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mt->ma_lock |
lib/maple_tree.c mt_locked() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | mt | (-1),8-s32max |
| BUF_SIZE | 0 | mt | (-1),8-s32max |
| DATA_SOURCE | 0 | mt | $0 |
| STR_LEN | 0 | mt | (-1),3-15,19-20,26 |
| STR_LEN | 0 | mt | (-1),3-15,19-20,26 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &mt->ma_lock |
lib/maple_tree.c mt_write_locked() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | mt | (-1),8-s32max |
| BUF_SIZE | 0 | mt | (-1),8-s32max |
| DATA_SOURCE | 0 | mt | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &mt->ma_lock |
mm/mmap.c mt_clear_in_rcu() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_flags | 2-u32max |
| BUF_SIZE | 0 | mt | (-1),88 |
| BUF_SIZE | 0 | mt | (-1),88 |
| DATA_SOURCE | 0 | mt | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/mmap.c mt_set_in_rcu() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_flags | 769,771 |
| BUF_SIZE | 0 | mt | (-1),88 |
| BUF_SIZE | 0 | mt | (-1),88 |
| DATA_SOURCE | 0 | mt | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mm->mmap_lock | ||
| LOCK2 | &oldmm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
mm/damon/vaddr.c mt_init_flags() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_flags | 3 |
| DATA_SOURCE | 0 | mt | $0 |
drivers/iommu/iommufd/main.c mt_init_flags() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_flags | 1 |
| DATA_SOURCE | 0 | mt | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/vma.c mt_init_flags() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 5695852749483675984,6192543871926276096 |
| PARAM_VALUE | 0 | mt->ma_flags | 0,256-768 |
| DATA_SOURCE | 0 | mt | $0 |
| BIT_INFO | 0 | mt->ma_flags | 0x0,0x300 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/lru_cache.c mt_init_flags() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_flags | 0 |
| DATA_SOURCE | 0 | mt | $0 |
drivers/base/regmap/regcache-maple.c mt_init_flags() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_flags | 0 |
| BUF_SIZE | 0 | mt | 88 |
| DATA_SOURCE | 0 | mt | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | map->lock_arg | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &data->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/base/regmap/regcache-maple.c regcache_maple_init() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_flags | 0 |
| BUF_SIZE | 0 | mt | 88 |
| DATA_SOURCE | 0 | mt | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | map->lock_arg | ||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | &data->mutex | ||
| HALF_LOCKED2 | _T->lock |
lib/test_maple_tree.c mt_clear_in_rcu() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_flags | 2-u32max |
| CAPPED_DATA | 0 | mt->ma_root | 1 |
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c mt_init_flags() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_flags | 0-1,769 |
| CAPPED_DATA | 0 | mt | 1 |
| DATA_SOURCE | 0 | mt | $0 |
lib/test_maple_tree.c mt_set_in_rcu() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| CAPPED_DATA | 0 | mt->ma_root | 1 |
| DATA_SOURCE | 0 | mt | $0 |
drivers/gpu/drm/nouveau/nouveau_uvmm.c mt_init_flags() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_flags | 768 |
| DATA_SOURCE | 0 | mt | $0 |
| LOCK2 | &cli->mutex | ||
| TYPE_LOCK | (struct nouveau_cli)->mutex |
drivers/block/ublk_drv.c mt_init_flags() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_flags | 0 |
| DATA_SOURCE | 0 | mt | $0 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &ublk_ctl_mutex | ||
| HALF_LOCKED2 | &ctx->uring_lock |
lib/interval_tree_test.c mt_init_flags() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 824627335631695872 |
| PARAM_VALUE | 0 | mt->ma_flags | 1 |
| DATA_SOURCE | 0 | mt | $0 |
lib/interval_tree_test.c mt_set_in_rcu() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 824627335631695872 |
| PARAM_VALUE | 0 | mt->ma_flags | 1 |
| DATA_SOURCE | 0 | mt | $0 |
fs/libfs.c mt_init_flags() -> mt_external_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mt | 4096-ptr_max |
| PARAM_VALUE | 0 | mt->ma_flags | 1 |
| DATA_SOURCE | 0 | mt | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sb->s_umount |