Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/md/
Ddm-thin.c3195 sector_t metadata_dev_size = get_dev_size(bdev); in warn_if_metadata_device_too_big() local
3197 if (metadata_dev_size > THIN_METADATA_MAX_SECTORS_WARNING) in warn_if_metadata_device_too_big()
3204 sector_t metadata_dev_size = get_dev_size(bdev); in get_metadata_dev_size() local
3206 if (metadata_dev_size > THIN_METADATA_MAX_SECTORS) in get_metadata_dev_size()
3207 metadata_dev_size = THIN_METADATA_MAX_SECTORS; in get_metadata_dev_size()
3209 return metadata_dev_size; in get_metadata_dev_size()
3214 sector_t metadata_dev_size = get_metadata_dev_size(bdev); in get_metadata_dev_size_in_blocks() local
3216 sector_div(metadata_dev_size, THIN_METADATA_BLOCK_SIZE); in get_metadata_dev_size_in_blocks()
3218 return metadata_dev_size; in get_metadata_dev_size_in_blocks()
3474 dm_block_t metadata_dev_size, sb_metadata_dev_size; in maybe_resize_metadata_dev() local
[all …]
Ddm-clone-target.c1684 sector_t metadata_dev_size; in parse_metadata_dev() local
1693 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()
Ddm-cache-target.c2017 sector_t metadata_dev_size; in parse_metadata_dev() local
2029 metadata_dev_size = get_dev_size(ca->metadata_dev); in parse_metadata_dev()
2030 if (metadata_dev_size > DM_CACHE_METADATA_MAX_SECTORS_WARNING) in parse_metadata_dev()