Home
last modified time | relevance | path

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

/drivers/md/
Ddm-raid.c2218 struct dm_raid_superblock *sb2; in super_init_validation() local
2387 sb2 = page_address(r->sb_page); in super_init_validation()
2388 sb2->failed_devices = 0; in super_init_validation()
2389 memset(sb2->extended_failed_devices, 0, sizeof(sb2->extended_failed_devices)); in super_init_validation()
2395 role = le32_to_cpu(sb2->array_position); in super_init_validation()
2408 sb2->array_position = cpu_to_le32(r->raid_disk); in super_init_validation()
Dmd.c1072 static int md_uuid_equal(mdp_super_t *sb1, mdp_super_t *sb2) in md_uuid_equal() argument
1074 return sb1->set_uuid0 == sb2->set_uuid0 && in md_uuid_equal()
1075 sb1->set_uuid1 == sb2->set_uuid1 && in md_uuid_equal()
1076 sb1->set_uuid2 == sb2->set_uuid2 && in md_uuid_equal()
1077 sb1->set_uuid3 == sb2->set_uuid3; in md_uuid_equal()
1080 static int md_sb_equal(mdp_super_t *sb1, mdp_super_t *sb2) in md_sb_equal() argument
1094 *tmp2 = *sb2; in md_sb_equal()