Lines Matching refs:logical_blocks
737 config->logical_blocks = logical_bytes / VDO_BLOCK_SIZE; in parse_device_config()
1289 if (vdo->states.vdo.config.logical_blocks < config->logical_blocks) { in decode_from_super_block()
1291 (unsigned long long) config->logical_blocks, in decode_from_super_block()
1292 (unsigned long long) vdo->states.vdo.config.logical_blocks); in decode_from_super_block()
1293 vdo->states.vdo.config.logical_blocks = config->logical_blocks; in decode_from_super_block()
1298 config->logical_blocks); in decode_from_super_block()
1365 vdo->states.vdo.config.logical_blocks, vdo, in decode_vdo()
1454 block_count_t logical_blocks = logical_size / block_size; in vdo_initialize() local
1458 vdo_log_debug("Logical blocks = %llu", logical_blocks); in vdo_initialize()
1780 if (to_validate->logical_blocks < config->logical_blocks) { in validate_new_device_config()
1825 if (config->logical_blocks > vdo->device_config->logical_blocks) { in prepare_to_modify()
1826 block_count_t logical_blocks = vdo->states.vdo.config.logical_blocks; in prepare_to_modify() local
1829 (unsigned long long) config->logical_blocks); in prepare_to_modify()
1830 VDO_ASSERT_LOG_ONLY((config->logical_blocks > logical_blocks), in prepare_to_modify()
1834 config->logical_blocks); in prepare_to_modify()
2452 vdo->states.vdo.config.logical_blocks = vdo->block_map->next_entry_count; in grow_logical_callback()
2487 vdo->states.vdo.config.logical_blocks = vdo->block_map->entry_count; in handle_logical_growth_error()
2509 if (vdo->device_config->logical_blocks == new_logical_blocks) { in perform_grow_logical()
2718 result = perform_grow_logical(vdo, config->logical_blocks); in apply_new_vdo_configuration()