Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/md/persistent-data/dm-space-map-metadata.c dm_sm_metadata_create() -> add_bop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smm | 4096-ptr_max |
| PARAM_VALUE | 0 | smm->allocated_this_transaction | 0 |
| PARAM_VALUE | 0 | smm->begin | 1 |
| PARAM_VALUE | 0 | smm->ll.bitmap_info.levels | 1 |
| PARAM_VALUE | 0 | smm->ll.bitmap_info.tm | 4096-ptr_max |
| PARAM_VALUE | 0 | smm->ll.bitmap_info.tm->bm->bufio->cache.num_locks | 0-4294967295 |
| PARAM_VALUE | 0 | smm->ll.bitmap_info.tm->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smm->ll.bitmap_info.value_type.context | 0 |
| PARAM_VALUE | 0 | smm->ll.bitmap_info.value_type.dec | 0 |
| PARAM_VALUE | 0 | smm->ll.bitmap_info.value_type.equal | 0 |
| PARAM_VALUE | 0 | smm->ll.bitmap_info.value_type.inc | 0 |
| PARAM_VALUE | 0 | smm->ll.bitmap_info.value_type.size | 16 |
| PARAM_VALUE | 0 | smm->ll.commit | 7603089624842240000 |
| PARAM_VALUE | 0 | smm->ll.init_index | 7178613680872628224 |
| PARAM_VALUE | 0 | smm->ll.load_ie | 4899553337498869760 |
| PARAM_VALUE | 0 | smm->ll.max_entries | 7251468710691045376 |
| PARAM_VALUE | 0 | smm->ll.mi_le.blocknr | 0 |
| PARAM_VALUE | 0 | smm->ll.mi_le.csum | 0 |
| PARAM_VALUE | 0 | smm->ll.mi_le.padding | 0 |
| PARAM_VALUE | 0 | smm->ll.nr_allocated | 0 |
| PARAM_VALUE | 0 | smm->ll.open_index | 6135631154936762368 |
| PARAM_VALUE | 0 | smm->ll.ref_count_info.levels | 1 |
| PARAM_VALUE | 0 | smm->ll.ref_count_info.tm | 4096-ptr_max |
| PARAM_VALUE | 0 | smm->ll.ref_count_info.tm->bm->bufio->cache.num_locks | 0-4294967295 |
| PARAM_VALUE | 0 | smm->ll.ref_count_info.tm->bm->bufio->need_reserved_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | smm->ll.ref_count_info.tm->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smm->ll.ref_count_info.value_type.dec | 0 |
| PARAM_VALUE | 0 | smm->ll.ref_count_info.value_type.equal | 0 |
| PARAM_VALUE | 0 | smm->ll.ref_count_info.value_type.inc | 0 |
| PARAM_VALUE | 0 | smm->ll.ref_count_info.value_type.size | 4 |
| PARAM_VALUE | 0 | smm->ll.save_ie | 4886284036382859264 |
| PARAM_VALUE | 0 | smm->ll.tm | 4096-ptr_max |
| PARAM_VALUE | 0 | smm->ll.tm->bm->bufio->cache.num_locks | 0-4294967295 |
| PARAM_VALUE | 0 | smm->ll.tm->bm->bufio->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | smm->ll.tm->bm->bufio->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smm->ll.tm->bm->bufio->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | smm->ll.tm->bm->bufio->need_reserved_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | smm->ll.tm->bm->bufio->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smm->ll.tm->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smm->recursion_count | 0 |
| PARAM_VALUE | 0 | smm->threshold.threshold_set | 0 |
| PARAM_VALUE | 0 | smm->threshold.value_set | 0 |
| PARAM_VALUE | 0 | smm->uncommitted.begin | 0 |
| PARAM_VALUE | 0 | smm->uncommitted.end | 0 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | b | 0 |
| PARAM_VALUE | 3 | e | 1 |
| DATA_SOURCE | 2 | b | $3 |
| PARAM_COMPARE | 3 | e | > $2 |
| MEM_ZERO | 0 | &smm->ll | |
| NO_OVERFLOW_SIMPLE | 0 | smm->ll.tm->bm->bufio->slab_buffer->object_size | |
| HALF_LOCKED2 | global &dm_thin_pool_table.mutex |
drivers/md/persistent-data/dm-space-map-metadata.c sm_bootstrap_dec_blocks() -> add_bop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smm | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 1 |
| DATA_SOURCE | 2 | b | $1 |
| DATA_SOURCE | 3 | e | $2 |
| HALF_LOCKED2 | &pool->lock |
drivers/md/persistent-data/dm-space-map-metadata.c sm_bootstrap_inc_blocks() -> add_bop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smm | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| DATA_SOURCE | 2 | b | $1 |
| DATA_SOURCE | 3 | e | $2 |
| HALF_LOCKED2 | &pool->lock |
drivers/md/persistent-data/dm-space-map-metadata.c sm_metadata_dec_blocks() -> add_bop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smm | 4096-ptr_max |
| PARAM_VALUE | 0 | smm->recursion_count | 1-u32max |
| PARAM_VALUE | 1 | type | 1 |
| DATA_SOURCE | 2 | b | $1 |
| DATA_SOURCE | 3 | e | $2 |
| BIT_INFO | 0 | smm | 0x4558db4643871000,0xffffffffffffffff |
| BIT_INFO | 0 | smm | 0x4558db4643871000,0xffffffffffffffff |
| HALF_LOCKED2 | &pool->lock |
drivers/md/persistent-data/dm-space-map-metadata.c sm_metadata_extend() -> add_bop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smm | 4096-ptr_max |
| PARAM_VALUE | 0 | smm->ll.max_entries | 4096-ptr_max |
| PARAM_VALUE | 0 | smm->ll.tm->bm->bufio->cache.num_locks | 0-4294967295 |
| PARAM_VALUE | 0 | smm->ll.tm->bm->bufio->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smm->ll.tm->bm->bufio->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | smm->ll.tm->bm->bufio->need_reserved_buffers | 0-4294967295 |
| PARAM_VALUE | 0 | smm->ll.tm->bm->bufio->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smm->ll.tm->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | smm->uncommitted.begin | 0-1024 |
| PARAM_VALUE | 0 | smm->uncommitted.end | 0-1024 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_COMPARE | 3 | e | == $2 |
| BIT_INFO | 0 | smm | 0x4558db4643871000,0xffffffffffffffff |
| BIT_INFO | 0 | smm | 0x4558db4643871000,0xffffffffffffffff |
| NO_OVERFLOW_SIMPLE | 0 | smm->ll.tm->bm->bufio->slab_buffer->object_size | |
| LOCK2 | &md->suspend_lock | ||
| LOCK2 | &pmd->root_lock | ||
| TYPE_LOCK | (struct dm_pool_metadata)->root_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/persistent-data/dm-space-map-metadata.c sm_metadata_inc_blocks() -> add_bop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smm | 4096-ptr_max |
| PARAM_VALUE | 0 | smm->recursion_count | 1-u32max |
| PARAM_VALUE | 1 | type | 0 |
| DATA_SOURCE | 2 | b | $1 |
| DATA_SOURCE | 3 | e | $2 |
| BIT_INFO | 0 | smm | 0x4558db4643871000,0xffffffffffffffff |
| BIT_INFO | 0 | smm | 0x4558db4643871000,0xffffffffffffffff |
| HALF_LOCKED2 | &pool->lock |
drivers/md/persistent-data/dm-space-map-metadata.c sm_metadata_new_block_() -> add_bop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | smm | 4096-ptr_max |
| PARAM_VALUE | 0 | smm->recursion_count | 1-u32max |
| PARAM_VALUE | 1 | type | 0 |
| BIT_INFO | 0 | smm | 0x4558db4643871000,0xffffffffffffffff |
| BIT_INFO | 0 | smm | 0x4558db4643871000,0xffffffffffffffff |
| HALF_LOCKED2 | &pmd->root_lock |