Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/md/dm-thin-metadata.c __create_snap() -> dm_btree_remove()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->levels 1-u32max
PARAM_VALUE 2 keys 1809826636124479488
PARAM_VALUE 2 *keys 0-16777215
PARAM_VALUE 3 new_root 4096-ptr_max
NOCHECK_CALL
USER_DATA 2 *keys 0-16777215
USER_PTR 2 keys
LOCK2 &md->io_barrier
LOCK2 &pmd->root_lock
TYPE_LOCK (struct dm_pool_metadata)->root_lock
TYPE_LOCK (struct mapped_device)->io_barrier

drivers/md/dm-thin-metadata.c __create_snap() -> dm_btree_remove()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 2 keys 1809826636124479488
PARAM_VALUE 2 *keys 0-16777215
PARAM_VALUE 3 new_root 4096-ptr_max
NOCHECK_CALL
USER_DATA 2 *keys 0-16777215
USER_PTR 2 keys
LOCK2 &md->io_barrier
LOCK2 &pmd->root_lock
TYPE_LOCK (struct dm_pool_metadata)->root_lock
TYPE_LOCK (struct mapped_device)->io_barrier

drivers/md/dm-thin-metadata.c __create_thin() -> dm_btree_remove()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 2 keys 526126020230057984
PARAM_VALUE 2 *keys 0-16777215
PARAM_VALUE 3 new_root 4096-ptr_max
NOCHECK_CALL
USER_DATA 2 *keys 0-16777215
USER_PTR 2 keys
LOCK2 &md->io_barrier
LOCK2 &pmd->root_lock
TYPE_LOCK (struct dm_pool_metadata)->root_lock
TYPE_LOCK (struct mapped_device)->io_barrier

drivers/md/dm-thin-metadata.c __delete_device() -> dm_btree_remove()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 2 keys 6675033981895925760
PARAM_VALUE 2 *keys 0-16777215
PARAM_VALUE 3 new_root 4096-ptr_max
USER_DATA 2 *keys 0-16777215
USER_PTR 2 keys
LOCK2 &md->io_barrier
LOCK2 &pmd->root_lock
TYPE_LOCK (struct dm_pool_metadata)->root_lock
TYPE_LOCK (struct mapped_device)->io_barrier

drivers/md/dm-thin-metadata.c __delete_device() -> dm_btree_remove()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 2 keys 6675033981895925760
PARAM_VALUE 2 *keys 0-16777215
PARAM_VALUE 3 new_root 4096-ptr_max
USER_DATA 2 *keys 0-16777215
USER_PTR 2 keys
LOCK2 &md->io_barrier
LOCK2 &pmd->root_lock
TYPE_LOCK (struct dm_pool_metadata)->root_lock
TYPE_LOCK (struct mapped_device)->io_barrier

drivers/md/dm-thin-metadata.c __remove_range() -> dm_btree_remove()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->levels 1-u32max
PARAM_VALUE 2 keys 4096-ptr_max
PARAM_VALUE 3 new_root 4096-ptr_max
LOCK2 &td->pmd->root_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct dm_pool_metadata)->root_lock

drivers/md/persistent-data/dm-array.c drop_blocks() -> dm_btree_remove()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 2 keys 5014237290052599808
PARAM_VALUE 2 *keys 0-u32max
PARAM_VALUE 3 new_root 4096-ptr_max

drivers/md/dm-era-target.c metadata_digest_remove_writeset() -> dm_btree_remove()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 2 keys 3645631659043676160
PARAM_VALUE 2 *keys 0
PARAM_VALUE 3 new_root 4096-ptr_max
HALF_LOCKED2 &pool->lock

drivers/md/persistent-data/dm-space-map-common.c __sm_ll_del_overflow() -> dm_btree_remove()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 3 new_root 4096-ptr_max

drivers/md/persistent-data/dm-space-map-common.c sm_ll_insert() -> dm_btree_remove()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->levels 1-u32max
PARAM_VALUE 3 new_root 4096-ptr_max