Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/md/dm-era-target.c setup_on_disk_bitset() -> dm_bitset_resize()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->array_info.btree_info.tm 4096-ptr_max
PARAM_VALUE 0 info->array_info.btree_info.tm->bm->bufio->cache.num_locks 0-4294967295
PARAM_VALUE 0 info->array_info.btree_info.tm->bm->bufio->need_reserved_buffers 0-4294967295
PARAM_VALUE 0 info->array_info.btree_info.tm->lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 old_nr_entries 0
PARAM_VALUE 4 default_value 0
PARAM_VALUE 5 new_root 4096-ptr_max
DATA_SOURCE 0 info $0
DATA_SOURCE 3 new_nr_entries $1
DATA_SOURCE 5 new_root $2
LOCK2 &pool->lock

drivers/md/dm-cache-metadata.c dm_cache_discard_bitset_resize() -> dm_bitset_resize()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 4 default_value 0
PARAM_VALUE 5 new_root 4096-ptr_max
LOCK2 &cache->background_work_lock
LOCK2 &cmd->root_lock
LOCK2 &md->suspend_lock
HALF_LOCKED2 &md->io_barrier
TYPE_LOCK (struct cache)->background_work_lock
TYPE_LOCK (struct dm_cache_metadata)->root_lock
TYPE_LOCK (struct mapped_device)->suspend_lock

drivers/md/dm-cache-metadata.c dm_cache_resize() -> dm_bitset_resize()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 4 default_value 0
PARAM_VALUE 5 new_root 4096-ptr_max
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-clone-metadata.c __format_metadata() -> dm_bitset_resize()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->array_info.btree_info.levels 1
PARAM_VALUE 0 info->array_info.btree_info.tm 4096-ptr_max
PARAM_VALUE 0 info->array_info.btree_info.value_type.context 4096-ptr_max
PARAM_VALUE 0 info->array_info.btree_info.value_type.dec 2706716531669463040
PARAM_VALUE 0 info->array_info.btree_info.value_type.equal 6118488563768561664
PARAM_VALUE 0 info->array_info.btree_info.value_type.inc 4251253500904906752
PARAM_VALUE 0 info->array_info.btree_info.value_type.size 8
PARAM_VALUE 0 info->array_info.value_type.size 8
PARAM_VALUE 2 old_nr_entries 0
PARAM_VALUE 4 default_value 0
PARAM_VALUE 5 new_root 4096-ptr_max
UNITS 3 new_nr_entries unit_byte
HALF_LOCKED2 &clone->commit_lock
HALF_LOCKED2 &cmd->lock