Home
last modified time | relevance | path

Searched refs:to_validate (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/md/dm-vdo/
H A Ddm-vdo-target.c1766 static int validate_new_device_config(struct device_config *to_validate, in validate_new_device_config() argument
1770 if (to_validate->owning_target->begin != config->owning_target->begin) { in validate_new_device_config()
1775 if (to_validate->logical_block_size != config->logical_block_size) { in validate_new_device_config()
1780 if (to_validate->logical_blocks < config->logical_blocks) { in validate_new_device_config()
1785 if (to_validate->cache_size != config->cache_size) { in validate_new_device_config()
1790 if (to_validate->block_map_maximum_age != config->block_map_maximum_age) { in validate_new_device_config()
1795 if (memcmp(&to_validate->thread_counts, &config->thread_counts, in validate_new_device_config()
1801 if (to_validate->physical_blocks < config->physical_blocks) { in validate_new_device_config()
1806 if (!may_grow && (to_validate->physical_blocks > config->physical_blocks)) { in validate_new_device_config()