Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/md/dm-cache-metadata.c
- drivers/md/dm-clone-metadata.c
- drivers/md/dm-era-target.c
- drivers/md/persistent-data/dm-bitset.c
Smatch caller information:
drivers/md/persistent-data/dm-bitset.c get_array_entry() -> dm_bitset_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->current_index_set | 1 |
| PARAM_VALUE | 2 | new_root | 4096-ptr_max |
| DATA_SOURCE | 0 | info | $0 |
| DATA_SOURCE | 1 | root | $1 |
| DATA_SOURCE | 2 | new_root | $3 |
drivers/md/dm-era-target.c metadata_commit() -> dm_bitset_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | root | 1-u64max |
| PARAM_VALUE | 2 | new_root | 4096-ptr_max |
| PARAM_VALUE | 2 | *new_root | 1-u64max |
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-era-target.c metadata_era_archive() -> dm_bitset_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 2 | new_root | 4096-ptr_max |
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-cache-metadata.c __commit_transaction() -> dm_bitset_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 2 | new_root | 4096-ptr_max |
| 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 __commit_transaction() -> dm_bitset_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 2 | new_root | 4096-ptr_max |
| 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 __load_discards() -> dm_bitset_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 2 | new_root | 4096-ptr_max |
| LOCK2 | &cmd->root_lock | ||
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct dm_cache_metadata)->root_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-clone-metadata.c __load_bitset_in_core() -> dm_bitset_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 2 | new_root | 4096-ptr_max |
| HALF_LOCKED2 | &clone->commit_lock | ||
| HALF_LOCKED2 | &cmd->lock |
drivers/md/dm-clone-metadata.c __metadata_commit() -> dm_bitset_flush()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 2 | new_root | 4096-ptr_max |
| 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 |