Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/md/dm-cache-metadata.c
- drivers/md/dm-clone-metadata.c
- drivers/md/dm-era-target.c
- drivers/md/dm-thin-metadata.c
- drivers/md/persistent-data/dm-transaction-manager.c, line 257
Smatch caller information:
drivers/md/dm-thin-metadata.c __commit_transaction() -> dm_tm_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| PARAM_VALUE | 0 | tm->bm->bufio->async_write_error | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->cache.num_locks | 0-4294967295 |
| 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 | 0-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tm->is_clone | 0 |
| PARAM_VALUE | 1 | root->read_error | 0 |
| NO_OVERFLOW_SIMPLE | 0 | tm->bm->bufio->block_size | |
| NO_OVERFLOW_SIMPLE | 0 | tm->real->bm->bufio->block_size | |
| LOCK2 | &pmd->root_lock | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | global &dm_thin_pool_table.mutex | ||
| TYPE_LOCK | (struct dm_pool_metadata)->root_lock |
drivers/md/dm-thin-metadata.c __write_initial_superblock() -> dm_tm_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| PARAM_VALUE | 0 | tm->bm->bufio->async_write_error | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->cache.num_locks | 0-4294967295 |
| 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->blocked_on | 0 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tm->bm->read_only | 0 |
| PARAM_VALUE | 0 | tm->is_clone | 0 |
| PARAM_VALUE | 0 | tm->prefetches->blocks | (-1) |
| PARAM_VALUE | 0 | tm->prefetches.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tm->prefetches.lock.owner.counter | 0 |
| PARAM_VALUE | 1 | root | 0,4096-ptr_max |
| PARAM_VALUE | 1 | root->read_error | 0 |
| LOCK2 | global &dm_thin_pool_table.mutex | ||
| HALF_LOCKED2 | &md->type_lock | ||
| TYPE_LOCK | (struct dm_thin_pool_table)->mutex |
drivers/md/dm-era-target.c metadata_commit() -> dm_tm_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| PARAM_VALUE | 0 | tm->bm->bufio->async_write_error | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->cache.num_locks | 0-4294967295 |
| 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 | 0-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tm->bm->read_only | 0 |
| PARAM_VALUE | 0 | tm->is_clone | 0 |
| PARAM_VALUE | 1 | root->read_error | 0 |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-era-target.c write_superblock() -> dm_tm_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max,(-12) |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | tm->is_clone | 0 |
| PARAM_VALUE | 0 | tm->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tm->prefetches->blocks | (-1) |
| PARAM_VALUE | 0 | tm->prefetches.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tm->prefetches.lock.owner.counter | 0 |
| PARAM_VALUE | 1 | root | 0,4096-ptr_max |
| PARAM_VALUE | 1 | root->read_error | 0 |
| CAPPED_DATA | 0 | tm | 1 |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-cache-metadata.c __commit_transaction() -> dm_tm_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| PARAM_VALUE | 0 | tm->bm->bufio->async_write_error | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->cache.num_locks | 0-4294967295 |
| 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 | 0-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tm->is_clone | 0 |
| PARAM_VALUE | 1 | root->read_error | 0 |
| LOCK2 | &cmd->root_lock | ||
| HALF_LOCKED2 | &cache->background_work_lock | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct dm_cache_metadata)->root_lock |
drivers/md/dm-cache-metadata.c __write_initial_superblock() -> dm_tm_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| PARAM_VALUE | 0 | tm->bm->bufio->async_write_error | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->cache.num_locks | 0-4294967295 |
| 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->blocked_on | 0 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tm->bm->read_only | 0 |
| PARAM_VALUE | 0 | tm->is_clone | 0 |
| PARAM_VALUE | 0 | tm->prefetches->blocks | (-1) |
| PARAM_VALUE | 0 | tm->prefetches.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tm->prefetches.lock.owner.counter | 0 |
| PARAM_VALUE | 1 | root | 0,4096-ptr_max |
| PARAM_VALUE | 1 | root->read_error | 0 |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-clone-metadata.c __format_metadata() -> dm_tm_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| PARAM_VALUE | 0 | tm->bm->bufio->async_write_error | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->cache.num_locks | 0-4294967295 |
| 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 | 0-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tm->bm->read_only | 0 |
| PARAM_VALUE | 0 | tm->is_clone | 0 |
| PARAM_VALUE | 0 | tm->prefetches->blocks | (-1) |
| PARAM_VALUE | 0 | tm->prefetches.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tm->prefetches.lock.owner.counter | 0 |
| PARAM_VALUE | 1 | root | 0,4096-ptr_max |
| PARAM_VALUE | 1 | root->read_error | 0 |
| HALF_LOCKED2 | &clone->commit_lock | ||
| HALF_LOCKED2 | &cmd->lock |
drivers/md/dm-clone-metadata.c __metadata_commit() -> dm_tm_commit()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tm | 4096-ptr_max |
| PARAM_VALUE | 0 | tm->bm->bufio->async_write_error | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->cache.num_locks | 0-4294967295 |
| 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 | 0-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | tm->bm->bufio->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tm->bm->bufio->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tm->bm->read_only | 0 |
| PARAM_VALUE | 0 | tm->is_clone | 0 |
| PARAM_VALUE | 1 | root | 0,4096-ptr_max |
| PARAM_VALUE | 1 | root->read_error | 0 |
| LOCK2 | &clone->commit_lock | ||
| LOCK2 | &cmd->lock | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct clone)->commit_lock | ||
| TYPE_LOCK | (struct dm_clone_metadata)->lock |