Lines Matching refs:template_disk
1137 struct gendisk *prev_disk = NULL, *template_disk = NULL;
1147 template_disk = dd->dm_dev->bdev->bd_disk;
1148 if (!integrity_profile_exists(template_disk))
1151 blk_integrity_compare(prev_disk, template_disk) < 0)
1153 prev_disk = template_disk;
1156 return template_disk;
1163 template_disk->disk_name);
1180 struct gendisk *template_disk = NULL;
1186 template_disk = dm_table_get_integrity_disk(t);
1187 if (!template_disk)
1197 blk_get_integrity(template_disk));
1205 if (blk_integrity_compare(dm_disk(md), template_disk) < 0) {
1209 template_disk->disk_name);
1559 struct gendisk *template_disk = NULL;
1569 template_disk = dm_table_get_integrity_disk(t);
1570 if (template_disk &&
1571 blk_integrity_compare(dm_disk(t->md), template_disk) >= 0)