Lines Matching refs:template_disk
1119 struct gendisk *prev_disk = NULL, *template_disk = NULL; in dm_table_get_integrity_disk() local
1129 template_disk = dd->dm_dev->bdev->bd_disk; in dm_table_get_integrity_disk()
1130 if (!integrity_profile_exists(template_disk)) in dm_table_get_integrity_disk()
1133 blk_integrity_compare(prev_disk, template_disk) < 0) in dm_table_get_integrity_disk()
1135 prev_disk = template_disk; in dm_table_get_integrity_disk()
1138 return template_disk; in dm_table_get_integrity_disk()
1145 template_disk->disk_name); in dm_table_get_integrity_disk()
1162 struct gendisk *template_disk = NULL; in dm_table_register_integrity() local
1168 template_disk = dm_table_get_integrity_disk(t); in dm_table_register_integrity()
1169 if (!template_disk) in dm_table_register_integrity()
1179 blk_get_integrity(template_disk)); in dm_table_register_integrity()
1187 if (blk_integrity_compare(dm_disk(md), template_disk) < 0) { in dm_table_register_integrity()
1191 template_disk->disk_name); in dm_table_register_integrity()
1747 struct gendisk *template_disk = NULL; in dm_table_verify_integrity() local
1757 template_disk = dm_table_get_integrity_disk(t); in dm_table_verify_integrity()
1758 if (template_disk && in dm_table_verify_integrity()
1759 blk_integrity_compare(dm_disk(t->md), template_disk) >= 0) in dm_table_verify_integrity()