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-era-target.c, line 731
- drivers/md/persistent-data/dm-array.c, line 894
- drivers/md/persistent-data/dm-bitset.c, line 118
Smatch caller information:
drivers/md/persistent-data/dm-bitset.c dm_bitset_flush() -> dm_array_set_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 3 | value | 2319663162481131520 |
| PARAM_VALUE | 4 | new_root | 4096-ptr_max |
| BUF_SIZE | 3 | value | 8 |
| DATA_SOURCE | 1 | root | $1 |
| DATA_SOURCE | 4 | new_root | $2 |
| PREEMPT_ADD | |||
| HALF_LOCKED2 | &clone->commit_lock | ||
| HALF_LOCKED2 | &cmd->lock | ||
| HALF_LOCKED2 | &cmd->root_lock |
drivers/md/dm-era-target.c metadata_digest_transcribe_writeset() -> dm_array_set_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->btree_info.levels | 1-u32max |
| PARAM_VALUE | 0 | info->btree_info.tm | 4096-ptr_max |
| PARAM_VALUE | 2 | index | 0 |
| PARAM_VALUE | 3 | value | 4096-ptr_max |
| PARAM_VALUE | 3 | *value | 0 |
| PARAM_VALUE | 4 | new_root | 4096-ptr_max |
| BUF_SIZE | 3 | value | 4 |
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-cache-metadata.c __dirty() -> dm_array_set_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 0 | info->btree_info.levels | 1-u32max |
| PARAM_VALUE | 0 | info->btree_info.tm | 4096-ptr_max |
| PARAM_VALUE | 3 | value | 5668596540444602368 |
| PARAM_VALUE | 4 | new_root | 4096-ptr_max |
| BUF_SIZE | 3 | value | 8 |
| CAPPED_DATA | 2 | index | 1 |
| LOCK2 | &cache->background_work_lock | ||
| LOCK2 | &cmd->root_lock | ||
| HALF_LOCKED2 | &md->io_barrier | ||
| HALF_LOCKED2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct cache)->background_work_lock | ||
| TYPE_LOCK | (struct dm_cache_metadata)->root_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-cache-metadata.c __insert() -> dm_array_set_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 3 | value | 3083016471529914368 |
| PARAM_VALUE | 4 | new_root | 4096-ptr_max |
| BUF_SIZE | 3 | value | 8 |
| LOCK2 | &cmd->root_lock | ||
| TYPE_LOCK | (struct dm_cache_metadata)->root_lock |
drivers/md/dm-cache-metadata.c __remove() -> dm_array_set_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 3 | value | 2939035175579549696 |
| PARAM_VALUE | 3 | *value | 0 |
| PARAM_VALUE | 4 | new_root | 4096-ptr_max |
| BUF_SIZE | 3 | value | 8 |
| LOCK2 | &cmd->root_lock | ||
| TYPE_LOCK | (struct dm_cache_metadata)->root_lock |