Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Ddm-integrity.c211 __u8 log2_buffer_sectors; member
453 ms >>= ic->log2_buffer_sectors; in get_metadata_sector_and_offset()
458 ms += offset >> (SECTOR_SHIFT + ic->log2_buffer_sectors - ic->log2_tag_size); in get_metadata_sector_and_offset()
459 mo = (offset << ic->log2_tag_size) & ((1U << SECTOR_SHIFT << ic->log2_buffer_sectors) - 1); in get_metadata_sector_and_offset()
461 ms += (__u64)offset * ic->tag_size >> (SECTOR_SHIFT + ic->log2_buffer_sectors); in get_metadata_sector_and_offset()
462 mo = (offset * ic->tag_size) & ((1U << SECTOR_SHIFT << ic->log2_buffer_sectors) - 1); in get_metadata_sector_and_offset()
1437 to_copy = min((1U << SECTOR_SHIFT << ic->log2_buffer_sectors) - *metadata_offset, total_size); in dm_integrity_rw_tag()
1481 if (unlikely(*metadata_offset == 1U << SECTOR_SHIFT << ic->log2_buffer_sectors)) { in dm_integrity_rw_tag()
3306 DMEMIT(" buffer_sectors:%u", 1U << ic->log2_buffer_sectors); in dm_integrity_status()
3356 DMEMIT(",buffer_sectors=%u", 1U << ic->log2_buffer_sectors); in dm_integrity_status()
[all …]