Home
last modified time | relevance | path

Searched refs:template_disk (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/md/
H A Ddm-table.c1134 struct gendisk *prev_disk = NULL, *template_disk = NULL; in dm_table_get_integrity_disk() local
1144 template_disk = dd->dm_dev->bdev->bd_disk; in dm_table_get_integrity_disk()
1145 if (!integrity_profile_exists(template_disk)) in dm_table_get_integrity_disk()
1148 blk_integrity_compare(prev_disk, template_disk) < 0) in dm_table_get_integrity_disk()
1150 prev_disk = template_disk; in dm_table_get_integrity_disk()
1153 return template_disk; in dm_table_get_integrity_disk()
1160 template_disk->disk_name); in dm_table_get_integrity_disk()
1177 struct gendisk *template_disk = NULL; in dm_table_register_integrity() local
1183 template_disk = dm_table_get_integrity_disk(t); in dm_table_register_integrity()
1184 if (!template_disk) in dm_table_register_integrity()
[all …]