Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/md/dm-thin-metadata.c, line 1214
- drivers/md/persistent-data/dm-array.c, line 658
- drivers/md/persistent-data/dm-btree-remove.c
- drivers/md/persistent-data/dm-btree.c
- drivers/md/persistent-data/dm-transaction-manager.c, line 407
Smatch caller information:
drivers/md/dm-thin-metadata.c __create_snap() -> dm_tm_dec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| PARAM_VALUE | 0 | tm->is_clone | 0 |
| PARAM_VALUE | 0 | tm->sm | 4096-ptr_max |
| PARAM_VALUE | 0 | tm->sm->inc_blocks | 4096-ptr_max |
| NOCHECK_CALL | |||
| LOCK2 | &md->io_barrier | ||
| LOCK2 | &pmd->root_lock | ||
| TYPE_LOCK | (struct dm_pool_metadata)->root_lock | ||
| TYPE_LOCK | (struct mapped_device)->io_barrier |
drivers/md/persistent-data/dm-btree.c pop_frame() -> dm_tm_dec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm->bm->bufio->cache.num_locks | 0-4294967295 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | tm->bm->bufio->need_reserved_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | tm->is_clone | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &pmd->root_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/persistent-data/dm-btree.c push_frame() -> dm_tm_dec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| PARAM_VALUE | 0 | tm->is_clone | 0 |
| DATA_SOURCE | 1 | b | $1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &pmd->root_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/persistent-data/dm-array.c __block_dec() -> dm_tm_dec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| PARAM_VALUE | 0 | tm->is_clone | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &td->pmd->root_lock |
drivers/md/persistent-data/dm-btree-remove.c __rebalance2() -> dm_tm_dec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| PARAM_VALUE | 0 | tm->bm->bufio->cache.num_locks | 0-4294967295 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | tm->bm->bufio->need_reserved_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | tm->is_clone | 0 |
| PARAM_VALUE | 0 | tm->lock.rlock.dep_map->name | 0-255 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | tm->bm->bufio->block_size | |
| NO_OVERFLOW_SIMPLE | 0 | tm->bm->bufio->slab_cache->sheaf_capacity | |
| HALF_LOCKED2 | &td->pmd->root_lock |
drivers/md/persistent-data/dm-btree-remove.c delete_center_node() -> dm_tm_dec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| PARAM_VALUE | 0 | tm->bm->bufio->cache.num_locks | 0-4294967295 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->need_reserved_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | tm->is_clone | 0 |
| PARAM_VALUE | 0 | tm->lock.rlock.dep_map->name | 0-255 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &td->pmd->root_lock |
drivers/md/persistent-data/dm-btree-remove.c rebalance_children() -> dm_tm_dec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| PARAM_VALUE | 0 | tm->bm->bufio->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->need_reserved_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | tm->bm->bufio->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tm->is_clone | 0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | tm->bm->bufio->block_size | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &td->pmd->root_lock |