Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/md/dm-cache-metadata.c
- drivers/md/persistent-data/dm-array.c, line 996
- drivers/md/persistent-data/dm-bitset.c, line 244
Smatch caller information:
drivers/md/persistent-data/dm-bitset.c dm_bitset_cursor_begin() -> dm_array_cursor_begin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 2 | c | 4096-ptr_max |
| DATA_SOURCE | 1 | root | $1 |
| HALF_LOCKED2 | &cmd->root_lock | ||
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/dm-cache-metadata.c __load_mappings() -> dm_array_cursor_begin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 2 | c | 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-cache-metadata.c __load_mappings() -> dm_array_cursor_begin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | root | 1-u64max |
| PARAM_VALUE | 2 | c | 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 |