Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 resize 4096-ptr_max
PARAM_VALUE 0 resize->new_nr_full_blocks 0-4294967294
PARAM_VALUE 0 resize->old_nr_full_blocks 1-u32max
CAPPED_DATA 0 resize->new_nr_full_blocks 1
CAPPED_DATA 1 begin_index 1
DATA_SOURCE 0 resize $0
DATA_SOURCE 1 begin_index r total_nr_blocks_needed
DATA_SOURCE 2 end_index r total_nr_blocks_needed
PARAM_COMPARE 0 resize->new_nr_full_blocks < $0->old_nr_full_blocks