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 1005
- drivers/md/persistent-data/dm-bitset.c, line 259
Smatch caller information:
drivers/md/persistent-data/dm-bitset.c dm_bitset_cursor_end() -> dm_array_cursor_end()
| 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/dm-cache-metadata.c __load_mappings() -> dm_array_cursor_end()
| 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.info | 4096-ptr_max |
| PARAM_VALUE | 0 | c->index | 0 |
| PARAM_VALUE | 0 | c->info | 4096-ptr_max |
| MEM_ZERO | 0 | c | |
| NOCHECK_CALL | |||
| 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_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| NOCHECK_CALL | |||
| 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_end()
| 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.info | 4096-ptr_max |
| PARAM_VALUE | 0 | c->index | 0 |
| PARAM_VALUE | 0 | c->info | 4096-ptr_max |
| MEM_ZERO | 0 | c | |
| NOCHECK_CALL | |||
| 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_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->ab | 0,4096-ptr_max |
| PARAM_VALUE | 0 | c->block | 0,4096-ptr_max |
| PARAM_VALUE | 0 | c->cursor.info | 4096-ptr_max |
| PARAM_VALUE | 0 | c->info | 4096-ptr_max |
| MEM_ZERO | 0 | c | |
| NOCHECK_CALL | |||
| 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_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c | 4096-ptr_max |
| PARAM_VALUE | 0 | c->ab | 0,4096-ptr_max |
| PARAM_VALUE | 0 | c->block | 0,4096-ptr_max |
| PARAM_VALUE | 0 | c->cursor.info | 4096-ptr_max |
| PARAM_VALUE | 0 | c->info | 4096-ptr_max |
| MEM_ZERO | 0 | c | |
| NOCHECK_CALL | |||
| 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_end()
| 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 | |
| NOCHECK_CALL | |||
| LOCK2 | &cmd->root_lock | ||
| LOCK2 | &md->suspend_lock | ||
| TYPE_LOCK | (struct dm_cache_metadata)->root_lock | ||
| TYPE_LOCK | (struct mapped_device)->suspend_lock |