Lines Matching refs:region_size
225 uint32_t region_size; member
349 static int _check_region_size(struct dm_target *ti, uint32_t region_size) in _check_region_size() argument
351 if (region_size < 2 || region_size > ti->len) in _check_region_size()
354 if (!is_power_of_2(region_size)) in _check_region_size()
375 uint32_t region_size; in create_log_context() local
397 if (sscanf(argv[0], "%u%c", ®ion_size, &dummy) != 1 || in create_log_context()
398 !_check_region_size(ti, region_size)) { in create_log_context()
403 region_count = dm_sector_div_up(ti->len, region_size); in create_log_context()
415 lc->region_size = region_size; in create_log_context()
657 return lc->region_size; in core_get_region_size()
806 lc->sync == DEFAULTSYNC ? 1 : 2, lc->region_size); in core_status()
835 lc->region_size); in disk_status()