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
- drivers/md/persistent-data/dm-bitset.c, line 220
Smatch caller information:
drivers/md/persistent-data/dm-bitset.c cursor_next_array_entry() -> dm_array_cursor_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->cursor.info | 4096-ptr_max |
| PARAM_VALUE | 0 | c->info | 4096-ptr_max |
| HALF_LOCKED2 | &cmd->root_lock | ||
| HALF_LOCKED2 | &md->suspend_lock |
drivers/md/persistent-data/dm-array.c dm_array_cursor_skip() -> dm_array_cursor_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->ab | 4096-ptr_max |
| PARAM_VALUE | 0 | c->cursor.info | 4096-ptr_max |
| PARAM_VALUE | 0 | c->info | 4096-ptr_max |
| DATA_SOURCE | 0 | c | $0 |
| 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_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->ab | 4096-ptr_max |
| PARAM_VALUE | 0 | c->block | 0,4096-ptr_max |
| PARAM_VALUE | 0 | c->cursor.depth | 1-u32max |
| PARAM_VALUE | 0 | c->cursor.info | 4096-ptr_max |
| PARAM_VALUE | 0 | c->index | 0-4294967294 |
| PARAM_VALUE | 0 | c->info | 4096-ptr_max |
| MEM_ZERO | 0 | c | |
| 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_next()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->ab | 4096-ptr_max |
| PARAM_VALUE | 0 | c->block | 0,4096-ptr_max |
| PARAM_VALUE | 0 | c->cursor.depth | 1-u32max |
| PARAM_VALUE | 0 | c->cursor.info | 4096-ptr_max |
| PARAM_VALUE | 0 | c->index | 0-4294967294 |
| PARAM_VALUE | 0 | c->info | 4096-ptr_max |
| MEM_ZERO | 0 | c | |
| LOCK2 | &cmd->root_lock | ||
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct dm_cache_metadata)->root_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |