Lines Matching refs:template_disk
1134 struct gendisk *prev_disk = NULL, *template_disk = NULL;
1144 template_disk = dd->dm_dev->bdev->bd_disk;
1145 if (!integrity_profile_exists(template_disk))
1148 blk_integrity_compare(prev_disk, template_disk) < 0)
1150 prev_disk = template_disk;
1153 return template_disk;
1160 template_disk->disk_name);
1177 struct gendisk *template_disk = NULL;
1183 template_disk = dm_table_get_integrity_disk(t);
1184 if (!template_disk)
1194 blk_get_integrity(template_disk));
1202 if (blk_integrity_compare(dm_disk(md), template_disk) < 0) {
1205 template_disk->disk_name);
1755 struct gendisk *template_disk = NULL;
1765 template_disk = dm_table_get_integrity_disk(t);
1766 if (template_disk &&
1767 blk_integrity_compare(dm_disk(t->md), template_disk) >= 0)