Searched refs:metadata_dev_size (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/md/
H A Ddm-thin.c3026 sector_t metadata_dev_size = get_dev_size(bdev); warn_if_metadata_device_too_big() local
3029 if (metadata_dev_size > THIN_METADATA_MAX_SECTORS_WARNING) warn_if_metadata_device_too_big()
3036 sector_t metadata_dev_size = get_dev_size(bdev); get_metadata_dev_size() local
3038 if (metadata_dev_size > THIN_METADATA_MAX_SECTORS) get_metadata_dev_size()
3039 metadata_dev_size = THIN_METADATA_MAX_SECTORS; get_metadata_dev_size()
3041 return metadata_dev_size; get_metadata_dev_size()
3046 sector_t metadata_dev_size = get_metadata_dev_size(bdev); get_metadata_dev_size_in_blocks() local
3048 sector_div(metadata_dev_size, THIN_METADATA_BLOCK_SIZE); get_metadata_dev_size_in_blocks()
3050 return metadata_dev_size; get_metadata_dev_size_in_blocks()
3299 dm_block_t metadata_dev_size, sb_metadata_dev_size; maybe_resize_metadata_dev() local
3303 metadata_dev_size = get_metadata_dev_size_in_blocks(pool->md_dev); maybe_resize_metadata_dev()
3312 if (metadata_dev_size < sb_metadata_dev_size) { maybe_resize_metadata_dev()
3315 metadata_dev_size, sb_metadata_dev_size); maybe_resize_metadata_dev()
3318 } else if (metadata_dev_size > sb_metadata_dev_size) { maybe_resize_metadata_dev()
3328 sb_metadata_dev_size, metadata_dev_size); maybe_resize_metadata_dev()
3329 r = dm_pool_resize_metadata_dev(pool->pmd, metadata_dev_size); maybe_resize_metadata_dev()
H A Ddm-cache-target.c2450 sector_t metadata_dev_size; parse_metadata_dev() local
2463 metadata_dev_size = get_dev_size(ca->metadata_dev); parse_metadata_dev()
2464 if (metadata_dev_size > DM_CACHE_METADATA_MAX_SECTORS_WARNING) parse_metadata_dev()

Completed in 123 milliseconds