Lines Matching refs:metadata_offset
303 unsigned metadata_offset; member
438 sector_t offset, unsigned *metadata_offset) in get_metadata_sector_and_offset() argument
459 *metadata_offset = mo; in get_metadata_sector_and_offset()
1406 unsigned *metadata_offset, unsigned total_size, int op) in dm_integrity_rw_tag() argument
1427 to_copy = min((1U << SECTOR_SHIFT << ic->log2_buffer_sectors) - *metadata_offset, total_size); in dm_integrity_rw_tag()
1428 dp = data + *metadata_offset; in dm_integrity_rw_tag()
1434 dm_bufio_mark_partial_buffer_dirty(b, *metadata_offset, *metadata_offset + to_copy); in dm_integrity_rw_tag()
1470 *metadata_offset += to_copy; in dm_integrity_rw_tag()
1471 if (unlikely(*metadata_offset == 1U << SECTOR_SHIFT << ic->log2_buffer_sectors)) { in dm_integrity_rw_tag()
1473 *metadata_offset = 0; in dm_integrity_rw_tag()
1738 r = dm_integrity_rw_tag(ic, checksums, &dio->metadata_block, &dio->metadata_offset, in integrity_metadata()
1780 r = dm_integrity_rw_tag(ic, checksums, &dio->metadata_block, &dio->metadata_offset, in integrity_metadata()
1824 r = dm_integrity_rw_tag(ic, tag, &dio->metadata_block, &dio->metadata_offset, in integrity_metadata()
1931 dio->metadata_block = get_metadata_sector_and_offset(ic, area, offset, &dio->metadata_offset); in dm_integrity_map()
2082 dio->metadata_block = get_metadata_sector_and_offset(ic, area, offset, &dio->metadata_offset); in __journal_read_write()
2450 unsigned metadata_offset; in do_journal_write() local
2523 metadata_block = get_metadata_sector_and_offset(ic, area, offset, &metadata_offset); in do_journal_write()
2542 r = dm_integrity_rw_tag(ic, journal_entry_tag(ic, je2), &metadata_block, &metadata_offset, in do_journal_write()
2625 unsigned metadata_offset; in integrity_recalc() local
2714 metadata_block = get_metadata_sector_and_offset(ic, area, offset, &metadata_offset); in integrity_recalc()
2716 …r = dm_integrity_rw_tag(ic, ic->recalc_tags, &metadata_block, &metadata_offset, t - ic->recalc_tag… in integrity_recalc()