Defined in 1 files as a function:
Referenced in 4 files:
- drivers/md/dm-cache-metadata.c, line 317
- drivers/md/dm-clone-metadata.c, line 294
- drivers/md/dm-era-target.c, line 489
- drivers/md/dm-thin-metadata.c
Smatch caller information:
drivers/md/dm-thin-metadata.c save_sm_roots() -> dm_sm_copy_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sm | 4096-ptr_max |
| PARAM_VALUE | 0 | sm->root_size | 4096-ptr_max |
| PARAM_VALUE | 1 | copy_to_here_le | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 32 |
| BUF_SIZE | 1 | copy_to_here_le | 128 |
| HALF_LOCKED2 | &pmd->root_lock | ||
| HALF_LOCKED2 | global &dm_thin_pool_table.mutex |
drivers/md/dm-thin-metadata.c save_sm_roots() -> dm_sm_copy_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sm | 4096-ptr_max |
| PARAM_VALUE | 0 | sm->commit | 4096-ptr_max |
| PARAM_VALUE | 0 | sm->root_size | 4096-ptr_max |
| PARAM_VALUE | 1 | copy_to_here_le | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 32 |
| BUF_SIZE | 0 | sm | (-1),112 |
| BUF_SIZE | 0 | sm | (-1),112 |
| BUF_SIZE | 1 | copy_to_here_le | 128 |
| NO_OVERFLOW_SIMPLE | 0 | sm->ll.ref_count_info.tm->bm->bufio->block_size | |
| NO_OVERFLOW_SIMPLE | 0 | sm->ll.tm->bm->bufio->block_size | |
| HALF_LOCKED2 | &pmd->root_lock | ||
| HALF_LOCKED2 | global &dm_thin_pool_table.mutex |
drivers/md/dm-era-target.c save_sm_root() -> dm_sm_copy_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sm | 4096-ptr_max |
| PARAM_VALUE | 0 | sm->root_size | 4096-ptr_max |
| PARAM_VALUE | 1 | copy_to_here_le | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 32 |
| BUF_SIZE | 1 | copy_to_here_le | 128 |
drivers/md/dm-cache-metadata.c __save_sm_root() -> dm_sm_copy_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sm | 4096-ptr_max |
| PARAM_VALUE | 0 | sm->root_size | 4096-ptr_max |
| PARAM_VALUE | 1 | copy_to_here_le | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 32 |
| BUF_SIZE | 1 | copy_to_here_le | 128 |
| HALF_LOCKED2 | &cmd->root_lock |
drivers/md/dm-clone-metadata.c __copy_sm_root() -> dm_sm_copy_root()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sm | 4096-ptr_max |
| PARAM_VALUE | 0 | sm->root_size | 4096-ptr_max |
| PARAM_VALUE | 1 | copy_to_here_le | 4096-ptr_max |
| PARAM_VALUE | 2 | len | 32 |
| BUF_SIZE | 1 | copy_to_here_le | 128 |
| HALF_LOCKED2 | &clone->commit_lock | ||
| HALF_LOCKED2 | &cmd->lock |