Searched refs:metadata_dev_size (Results 1 – 3 of 3) sorted by relevance
3230 sector_t metadata_dev_size = get_dev_size(bdev); in warn_if_metadata_device_too_big() local3239 sector_t metadata_dev_size = get_dev_size(bdev); in get_metadata_dev_size() local3241 if (metadata_dev_size > THIN_METADATA_MAX_SECTORS) in get_metadata_dev_size()3242 metadata_dev_size = THIN_METADATA_MAX_SECTORS; in get_metadata_dev_size()3244 return metadata_dev_size; in get_metadata_dev_size()3253 return metadata_dev_size; in get_metadata_dev_size_in_blocks()3510 dm_block_t metadata_dev_size, sb_metadata_dev_size; in maybe_resize_metadata_dev() local3523 if (metadata_dev_size < sb_metadata_dev_size) { in maybe_resize_metadata_dev()3526 metadata_dev_size, sb_metadata_dev_size); in maybe_resize_metadata_dev()3529 } else if (metadata_dev_size > sb_metadata_dev_size) { in maybe_resize_metadata_dev()[all …]
1684 sector_t metadata_dev_size; in parse_metadata_dev() local1693 metadata_dev_size = get_dev_size(clone->metadata_dev); in parse_metadata_dev()1694 if (metadata_dev_size > DM_CLONE_METADATA_MAX_SECTORS_WARNING) in parse_metadata_dev()
2054 sector_t metadata_dev_size; in parse_metadata_dev() local2066 metadata_dev_size = get_dev_size(ca->metadata_dev); in parse_metadata_dev()2067 if (metadata_dev_size > DM_CACHE_METADATA_MAX_SECTORS_WARNING) in parse_metadata_dev()