Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-thin-metadata.c dm_sm_copy_root() -> (struct dm_space_map)->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 where 4096-ptr_max
PARAM_VALUE 2 max 32
BUF_SIZE 0 sm (-1),112
BUF_SIZE 0 sm (-1),112
BUF_SIZE 1 where 128
BUF_SIZE 1 where 128
DATA_SOURCE 0 sm $0
DATA_SOURCE 1 where $1
DATA_SOURCE 2 max $2
CONTAINER 0 -96+0 $(-1)
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 dm_sm_copy_root() -> (struct dm_space_map)->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 where 4096-ptr_max
PARAM_VALUE 2 max 32
BUF_SIZE 1 where 128
BUF_SIZE 1 where 128
DATA_SOURCE 0 sm $0
DATA_SOURCE 1 where $1
DATA_SOURCE 2 max $2
CONTAINER 0 -96+0 $(-1)

drivers/md/dm-cache-metadata.c dm_sm_copy_root() -> (struct dm_space_map)->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 where 4096-ptr_max
PARAM_VALUE 2 max 32
BUF_SIZE 1 where 128
BUF_SIZE 1 where 128
DATA_SOURCE 0 sm $0
DATA_SOURCE 1 where $1
DATA_SOURCE 2 max $2
CONTAINER 0 -96+0 $(-1)
HALF_LOCKED2 &cmd->root_lock

drivers/md/dm-clone-metadata.c dm_sm_copy_root() -> (struct dm_space_map)->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 where 4096-ptr_max
PARAM_VALUE 2 max 32
BUF_SIZE 1 where 128
BUF_SIZE 1 where 128
DATA_SOURCE 0 sm $0
DATA_SOURCE 1 where $1
DATA_SOURCE 2 max $2
CONTAINER 0 -96+0 $(-1)
HALF_LOCKED2 &clone->commit_lock
HALF_LOCKED2 &cmd->lock