Lines Matching refs:log2_interleave_sectors
70 __u8 log2_interleave_sectors; member
427 __u8 log2_interleave_sectors = ic->sb->log2_interleave_sectors; in get_area_and_offset() local
428 *area = data_sector >> log2_interleave_sectors; in get_area_and_offset()
429 *offset = (unsigned)data_sector & ((1U << log2_interleave_sectors) - 1); in get_area_and_offset()
448 ms = area << ic->sb->log2_interleave_sectors; in get_metadata_sector_and_offset()
475 result = area << ic->sb->log2_interleave_sectors; in get_data_sector()
2671 …range.n_sectors = min(range.n_sectors, ((sector_t)1U << ic->sb->log2_interleave_sectors) - (unsign… in integrity_recalc()
3305 DMEMIT(" interleave_sectors:%u", 1U << ic->sb->log2_interleave_sectors); in dm_integrity_status()
3355 DMEMIT(",interleave_sectors=%u", 1U << ic->sb->log2_interleave_sectors); in dm_integrity_status()
3420 …ic->metadata_run = round_up((__u64)ic->tag_size << (ic->sb->log2_interleave_sectors - ic->sb->log2… in calculate_device_limits()
3492 ic->sb->log2_interleave_sectors = __fls(interleave_sectors); in initialize_superblock()
3493 …ic->sb->log2_interleave_sectors = max((__u8)MIN_LOG2_INTERLEAVE_SECTORS, ic->sb->log2_interleave_s… in initialize_superblock()
3494 …ic->sb->log2_interleave_sectors = min((__u8)MAX_LOG2_INTERLEAVE_SECTORS, ic->sb->log2_interleave_s… in initialize_superblock()
3500 ic->sb->log2_interleave_sectors = 0; in initialize_superblock()
4314 if (ic->sb->log2_interleave_sectors < MIN_LOG2_INTERLEAVE_SECTORS || in dm_integrity_ctr()
4315 ic->sb->log2_interleave_sectors > MAX_LOG2_INTERLEAVE_SECTORS) { in dm_integrity_ctr()
4321 if (ic->sb->log2_interleave_sectors) { in dm_integrity_ctr()
4396 DEBUG_print(" log2_interleave_sectors %d\n", ic->sb->log2_interleave_sectors); in dm_integrity_ctr()
4521 r = dm_set_target_max_io_len(ti, 1U << ic->sb->log2_interleave_sectors); in dm_integrity_ctr()