Lines Matching refs:io_loc

546 	struct dm_io_region io_loc;  in sync_rw_sb()  local
555 io_loc.bdev = ic->meta_dev ? ic->meta_dev->bdev : ic->dev->bdev; in sync_rw_sb()
556 io_loc.sector = ic->start; in sync_rw_sb()
557 io_loc.count = SB_SECTORS; in sync_rw_sb()
568 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT); in sync_rw_sb()
1055 struct dm_io_region io_loc; in rw_journal_sectors() local
1082 io_loc.bdev = ic->meta_dev ? ic->meta_dev->bdev : ic->dev->bdev; in rw_journal_sectors()
1083 io_loc.sector = ic->start + SB_SECTORS + sector; in rw_journal_sectors()
1084 io_loc.count = n_sectors; in rw_journal_sectors()
1086 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT); in rw_journal_sectors()
1176 struct dm_io_region io_loc; in copy_from_journal() local
1199 io_loc.bdev = ic->dev->bdev; in copy_from_journal()
1200 io_loc.sector = target; in copy_from_journal()
1201 io_loc.count = n_sectors; in copy_from_journal()
1203 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT); in copy_from_journal()
1730 struct dm_io_region io_loc; in integrity_recheck() local
1736 io_loc.bdev = ic->dev->bdev; in integrity_recheck()
1737 io_loc.sector = sector; in integrity_recheck()
1738 io_loc.count = ic->sectors_per_block; 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()
1745 buffer += (sector - io_loc.sector) << SECTOR_SHIFT; in integrity_recheck()
1746 io_loc.count = round_up(io_loc.count, alignment); in integrity_recheck()
1748 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT); in integrity_recheck()
2729 struct dm_io_region io_loc; in integrity_recalc() local
2825 io_loc.bdev = ic->dev->bdev; in integrity_recalc()
2826 io_loc.sector = get_data_sector(ic, area, offset); in integrity_recalc()
2827 io_loc.count = n_sectors; in integrity_recalc()
2829 r = dm_io(&io_req, 1, &io_loc, NULL, IOPRIO_DEFAULT); in integrity_recalc()