Lines Matching refs:meta_dev
156 struct dm_dev *meta_dev; member
402 if (!ic->meta_dev) { in get_area_and_offset()
448 if (ic->meta_dev) in get_data_sector()
475 else if (ic->meta_dev || ic->sb->flags & cpu_to_le32(SB_FLAG_RECALCULATING)) in sb_set_version()
492 io_loc.bdev = ic->meta_dev ? ic->meta_dev->bdev : ic->dev->bdev; in sync_rw_sb()
974 io_loc.bdev = ic->meta_dev ? ic->meta_dev->bdev : ic->dev->bdev; in rw_journal_sectors()
2423 if (unlikely(dm_post_suspending(ic->ti)) && !ic->meta_dev) in integrity_writer()
2499 if (!ic->meta_dev) in integrity_recalc()
2667 if (ic->meta_dev) in bitmap_flush_work()
2934 if (ic->meta_dev) in dm_integrity_postsuspend()
3093 arg_count += !!ic->meta_dev; in dm_integrity_status()
3107 if (ic->meta_dev) in dm_integrity_status()
3108 DMEMIT(" meta_device:%s", ic->meta_dev->name); in dm_integrity_status()
3150 if (!ic->meta_dev) in dm_integrity_iterate_devices()
3193 if (!ic->meta_dev) { in calculate_device_limits()
3230 if (!ic->meta_dev) { in get_provided_data_sectors()
3263 if (!ic->meta_dev) { in initialize_superblock()
3857 if (ic->meta_dev) { in dm_integrity_ctr()
3858 dm_put_device(ti, ic->meta_dev); in dm_integrity_ctr()
3859 ic->meta_dev = NULL; in dm_integrity_ctr()
3862 dm_table_get_mode(ti->table), &ic->meta_dev); in dm_integrity_ctr()
3913 if (!ic->meta_dev) in dm_integrity_ctr()
3916 ic->meta_device_sectors = i_size_read(ic->meta_dev->bdev->bd_inode) >> SECTOR_SHIFT; in dm_integrity_ctr()
4082 if (!ic->meta_dev) { in dm_integrity_ctr()
4112 if (ic->meta_dev) { in dm_integrity_ctr()
4142 if (!ic->meta_dev) in dm_integrity_ctr()
4202 ic->bufio = dm_bufio_client_create(ic->meta_dev ? ic->meta_dev->bdev : ic->dev->bdev, in dm_integrity_ctr()
4274 if (!ic->meta_dev) { in dm_integrity_ctr()
4335 if (ic->meta_dev) in dm_integrity_dtr()
4336 dm_put_device(ti, ic->meta_dev); in dm_integrity_dtr()