Documented in 1 files:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/md/dm-vdo/slab-depot.c allocate_components() -> allocate_slabs()

Type Parameter Key Value
PARAM_VALUE 0 depot 4096-ptr_max
PARAM_VALUE 0 depot->action_manager 4096-ptr_max
PARAM_VALUE 0 depot->action_manager->completion.type 1
PARAM_VALUE 0 depot->action_manager->state.current_state 1889149490642247680
PARAM_VALUE 0 depot->hint_shift 0-57
PARAM_VALUE 0 depot->old_zone_count 0-16
PARAM_VALUE 0 depot->slab_size_shift 0-63
PARAM_VALUE 0 depot->summary_entries 4096-ptr_max
PARAM_VALUE 0 depot->vdo 4096-ptr_max
PARAM_VALUE 0 depot->vdo->admin.completion.requeue 1
PARAM_VALUE 0 depot->vdo->device_config 4096-ptr_max
PARAM_VALUE 0 depot->vdo->layout.head 4096-ptr_max
PARAM_VALUE 0 depot->vdo->layout.num_partitions 0-4
PARAM_VALUE 0 depot->vdo->read_only_notifier.read_only_error 1479
PARAM_VALUE 0 depot->vdo->read_only_notifier.state 2-3
PARAM_VALUE 0 depot->vdo->recovery_journal 4096-ptr_max
PARAM_VALUE 0 depot->vdo->states.layout.head 4096-ptr_max
PARAM_VALUE 0 depot->vdo->states.layout.num_partitions 0-4
PARAM_VALUE 0 depot->vdo->states.vdo.config.logical_blocks 1-u64max
CAPPED_DATA 0 depot->vdo->geometry.nonce 1
CAPPED_DATA 0 depot->vdo->thread_config.thread_count 1
CAPPED_DATA 0 depot->zone_count 1
DATA_SOURCE 0 depot $0
DATA_SOURCE 1 slab_count r vdo_compute_slab_count
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 depot->vdo->geometry.index_config.mem
NO_OVERFLOW_SIMPLE 0 depot->vdo->states.vdo.config.physical_blocks
NO_OVERFLOW_SIMPLE 0 depot->vdo->thread_config.bio_thread_count
NO_OVERFLOW_SIMPLE 0 depot->vdo->thread_config.hash_zone_count
NO_OVERFLOW_SIMPLE 0 depot->vdo->thread_config.logical_zone_count
NO_OVERFLOW_SIMPLE 0 depot->vdo->thread_config.physical_zone_count
NO_OVERFLOW_SIMPLE 0 depot->vdo->thread_config.thread_count
NO_OVERFLOW_SIMPLE 0 depot->zone_count

drivers/md/dm-vdo/slab-depot.c vdo_prepare_to_grow_slab_depot() -> allocate_slabs()

Type Parameter Key Value
PARAM_VALUE 0 depot 4096-ptr_max
PARAM_VALUE 0 depot->new_slabs 0
PARAM_VALUE 0 depot->slab_count 0-65534
PARAM_VALUE 1 slab_count 1-u16max
CAPPED_DATA 0 depot->slab_count 1
DATA_SOURCE 0 depot $0
DATA_SOURCE 1 slab_count r vdo_compute_slab_count
PARAM_COMPARE 0 depot->new_slab_count < $1
PARAM_COMPARE 0 depot->slab_count < $1
PARAM_COMPARE 1 slab_count > $0->new_slab_count
PARAM_COMPARE 1 slab_count > $0->slab_count
HALF_LOCKED2 &md->type_lock