Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/md/dm-cache-metadata.c, line 1084
- drivers/md/dm-era-target.c, line 881
- drivers/md/persistent-data/dm-array.c, line 742
- drivers/md/persistent-data/dm-bitset.c, line 95
Smatch caller information:
drivers/md/persistent-data/dm-bitset.c dm_bitset_resize() -> dm_array_resize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 4 | value | 6834827417099190272 |
| PARAM_VALUE | 4 | *value | 0 |
| PARAM_VALUE | 5 | new_root | 4096-ptr_max |
| BUF_SIZE | 4 | value | 8 |
| DATA_SOURCE | 1 | root | $1 |
| DATA_SOURCE | 5 | new_root | $5 |
| HALF_LOCKED2 | &cache->background_work_lock | ||
| HALF_LOCKED2 | &cmd->root_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/md/dm-era-target.c metadata_resize() -> dm_array_resize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 3 | new_size | 0-s32max |
| PARAM_VALUE | 4 | value | 1587909000940249088 |
| PARAM_VALUE | 4 | *value | 0 |
| PARAM_VALUE | 5 | new_root | 4096-ptr_max |
| BUF_SIZE | 4 | value | 4 |
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |
drivers/md/dm-cache-metadata.c dm_cache_resize() -> dm_array_resize()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 4 | value | 9128575562273505280 |
| PARAM_VALUE | 4 | *value | 0 |
| PARAM_VALUE | 5 | new_root | 4096-ptr_max |
| BUF_SIZE | 4 | value | 8 |
| LOCK2 | &cmd->root_lock | ||
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct dm_cache_metadata)->root_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |