Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-integrity.c546 struct dm_io_region io_loc; in sync_rw_sb() local
556 io_loc.sector = ic->start; in sync_rw_sb()
557 io_loc.count = SB_SECTORS; in sync_rw_sb()
1084 io_loc.count = n_sectors; in rw_journal_sectors()
1200 io_loc.sector = target; in copy_from_journal()
1201 io_loc.count = n_sectors; in copy_from_journal()
1737 io_loc.sector = sector; in integrity_recheck()
1743 io_loc.sector = round_down(io_loc.sector, alignment); in integrity_recheck()
1744 io_loc.count += sector - io_loc.sector; in integrity_recheck()
1746 io_loc.count = round_up(io_loc.count, alignment); in integrity_recheck()
[all …]
H A Ddm-verity-target.c501 struct dm_io_region io_loc; in verity_recheck() local
511 io_loc.bdev = v->data_dev->bdev; in verity_recheck()
512 io_loc.sector = cur_block << (v->data_dev_block_bits - SECTOR_SHIFT); in verity_recheck()
513 io_loc.count = 1 << (v->data_dev_block_bits - SECTOR_SHIFT); in verity_recheck()
514 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT); in verity_recheck()