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/dm-clone-metadata.c, line 528
- drivers/md/persistent-data/dm-bitset.c, line 255
Smatch caller information:
drivers/md/dm-cache-metadata.c __load_discards() -> dm_bitset_cursor_begin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 3 | c | 6617808357526245376 |
| 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_bitset_cursor_begin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 2 | nr_entries | 1-u32max |
| PARAM_VALUE | 3 | 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 blocks_are_clean_separate_dirty() -> dm_bitset_cursor_begin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 2 | nr_entries | 1-u32max |
| PARAM_VALUE | 3 | 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-clone-metadata.c __load_bitset_in_core() -> dm_bitset_cursor_begin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | info | 4096-ptr_max |
| PARAM_VALUE | 3 | c | 4920662330313895936 |
| UNITS | 2 | nr_entries | unit_byte |
| HALF_LOCKED2 | &clone->commit_lock | ||
| HALF_LOCKED2 | &cmd->lock |