Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/md/persistent-data/dm-array.c
- drivers/md/persistent-data/dm-btree-remove.c, line 508
- drivers/md/persistent-data/dm-btree.c
- drivers/md/persistent-data/dm-space-map-common.c
Smatch caller information:
drivers/md/persistent-data/dm-btree.c btree_split_beneath() -> dm_tm_get_bm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| NO_OVERFLOW_SIMPLE | 0 | tm->bm->bufio->slab_buffer->object_size | |
| HALF_LOCKED2 | &td->pmd->root_lock |
drivers/md/persistent-data/dm-btree.c dm_btree_empty() -> dm_tm_get_bm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| PREEMPT_ADD | |||
| NO_OVERFLOW_SIMPLE | 0 | tm->bm->bufio->slab_buffer->object_size | |
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &pmd->root_lock | ||
| HALF_LOCKED2 | global &dm_thin_pool_table.mutex |
drivers/md/persistent-data/dm-btree.c prefetch_children() -> dm_tm_get_bm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| NO_OVERFLOW_SIMPLE | 0 | tm->bm->bufio->slab_buffer->object_size | |
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &pmd->root_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/persistent-data/dm-btree.c prefetch_values() -> dm_tm_get_bm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
drivers/md/persistent-data/dm-array.c array_resize() -> dm_tm_get_bm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &cmd->root_lock | ||
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/persistent-data/dm-array.c array_set_value() -> dm_tm_get_bm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| HALF_LOCKED2 | &cache->background_work_lock | ||
| HALF_LOCKED2 | &cmd->root_lock | ||
| HALF_LOCKED2 | &md->suspend_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/persistent-data/dm-array.c dm_array_get_value() -> dm_tm_get_bm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | &cache->background_work_lock | ||
| HALF_LOCKED2 | &cmd->root_lock | ||
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/persistent-data/dm-array.c dm_array_new() -> dm_tm_get_bm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| LOCK2 | &cache->background_work_lock | ||
| LOCK2 | &cmd->root_lock | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct cache)->background_work_lock | ||
| TYPE_LOCK | (struct dm_cache_metadata)->root_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/persistent-data/dm-space-map-common.c ensure_bitmap() -> dm_tm_get_bm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| NO_OVERFLOW_SIMPLE | 0 | tm->bm->bufio->block_size | |
| NO_OVERFLOW_SIMPLE | 0 | tm->real->bm->bufio->block_size |
drivers/md/persistent-data/dm-space-map-common.c sm_ll_init() -> dm_tm_get_bm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max,(-12) |
| DATA_SOURCE | 0 | tm | $1 |
| HALF_LOCKED2 | global &dm_thin_pool_table.mutex |
drivers/md/persistent-data/dm-btree-remove.c rebalance_children() -> dm_tm_get_bm()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| NO_OVERFLOW_SIMPLE | 0 | tm->bm->bufio->block_size | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &td->pmd->root_lock |