Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/md/dm-era-target.c, line 459
- drivers/md/dm-thin-metadata.c
- drivers/md/persistent-data/dm-array.c, line 696
- drivers/md/persistent-data/dm-btree.c
- drivers/md/persistent-data/dm-space-map-common.c
Smatch caller information:
drivers/md/dm-thin-metadata.c __create_thin() -> dm_btree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | root | 465820356590686208 |
| 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/dm-thin-metadata.c __format_metadata() -> dm_btree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->levels | 2 |
| PARAM_VALUE | 0 | info->tm | 4096-ptr_max,(-12) |
| PARAM_VALUE | 0 | info->value_type.context | 4096-ptr_max |
| PARAM_VALUE | 0 | info->value_type.dec | 3004253697517203456 |
| PARAM_VALUE | 0 | info->value_type.equal | 8747803764537290752 |
| PARAM_VALUE | 0 | info->value_type.inc | 1383487105632829440 |
| PARAM_VALUE | 0 | info->value_type.size | 8 |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| LOCK2 | global &dm_thin_pool_table.mutex | ||
| HALF_LOCKED2 | &md->type_lock | ||
| TYPE_LOCK | (struct dm_thin_pool_table)->mutex |
drivers/md/dm-thin-metadata.c __format_metadata() -> dm_btree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->levels | 1 |
| PARAM_VALUE | 0 | info->tm | 4096-ptr_max,(-12) |
| PARAM_VALUE | 0 | info->value_type.size | 24 |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| LOCK2 | global &dm_thin_pool_table.mutex | ||
| HALF_LOCKED2 | &md->type_lock | ||
| TYPE_LOCK | (struct dm_thin_pool_table)->mutex |
drivers/md/persistent-data/dm-btree.c insert() -> dm_btree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->tm | 4096-ptr_max |
| PARAM_VALUE | 0 | info->tm->bm->read_only | 0 |
| PARAM_VALUE | 0 | info->tm->is_clone | 0 |
| PARAM_VALUE | 1 | root | 8686171904134070272 |
| DATA_SOURCE | 0 | info | $0 |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &td->pmd->root_lock |
drivers/md/persistent-data/dm-array.c dm_array_empty() -> dm_btree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| DATA_SOURCE | 1 | root | $1 |
| PREEMPT_ADD | |||
| HALF_LOCKED2 | &cache->background_work_lock | ||
| HALF_LOCKED2 | &cmd->root_lock |
drivers/md/dm-era-target.c create_fresh_metadata() -> dm_btree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->levels | 1 |
| PARAM_VALUE | 0 | info->tm | 0,4096-ptr_max,(-12) |
| PARAM_VALUE | 0 | info->value_type.context | 4096-ptr_max |
| PARAM_VALUE | 0 | info->value_type.dec | 2286179186994864128 |
| PARAM_VALUE | 0 | info->value_type.equal | 4778276240572555264 |
| PARAM_VALUE | 0 | info->value_type.inc | 8285698356753514496 |
| PARAM_VALUE | 0 | info->value_type.size | 12 |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/persistent-data/dm-space-map-common.c disk_ll_init_index() -> dm_btree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->levels | 1 |
| PARAM_VALUE | 0 | info->tm | 4096-ptr_max |
| PARAM_VALUE | 0 | info->value_type.size | 16 |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | *root | 0 |
| MEM_ZERO | 0 | info | |
| MEM_ZERO | 1 | root | |
| HALF_LOCKED2 | global &dm_thin_pool_table.mutex |
drivers/md/persistent-data/dm-space-map-common.c sm_ll_new_disk() -> dm_btree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->levels | 1 |
| PARAM_VALUE | 0 | info->tm | 4096-ptr_max |
| PARAM_VALUE | 0 | info->value_type.size | 4 |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | *root | 0 |
| MEM_ZERO | 0 | info | |
| MEM_ZERO | 1 | root | |
| LOCK2 | global &dm_thin_pool_table.mutex | ||
| HALF_LOCKED2 | &md->type_lock | ||
| TYPE_LOCK | (struct dm_thin_pool_table)->mutex |
drivers/md/persistent-data/dm-space-map-common.c sm_ll_new_metadata() -> dm_btree_empty()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->levels | 1 |
| PARAM_VALUE | 0 | info->tm | 4096-ptr_max |
| PARAM_VALUE | 0 | info->value_type.size | 4 |
| PARAM_VALUE | 1 | root | 4096-ptr_max |
| PARAM_VALUE | 1 | *root | 0 |
| MEM_ZERO | 0 | info | |
| MEM_ZERO | 1 | root | |
| HALF_LOCKED2 | global &dm_thin_pool_table.mutex |