Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/md/
Dmd.c766 if (rdev->desc_nr == nr) in md_find_rdev_nr_rcu()
1147 rdev->desc_nr = -1; in super_90_load()
1149 rdev->desc_nr = sb->this_disk.number; in super_90_load()
1272 if (sb->disks[rdev->desc_nr].state & ( in super_90_validate()
1291 desc = sb->disks + rdev->desc_nr; in super_90_validate()
1396 int desc_nr; in super_90_sync() local
1410 desc_nr = rdev2->raid_disk; in super_90_sync()
1412 desc_nr = next_spare++; in super_90_sync()
1413 rdev2->desc_nr = desc_nr; in super_90_sync()
1414 d = &sb->disks[rdev2->desc_nr]; in super_90_sync()
[all …]
Dmd-cluster.c1083 raid_slot = rdev->desc_nr; in metadata_update_finish()
1262 raid_slot = rdev->desc_nr; in update_size()
1407 cmsg.raid_slot = cpu_to_le32(rdev->desc_nr); in add_new_disk()
1469 cmsg.raid_slot = cpu_to_le32(rdev->desc_nr); in remove_disk()
1533 cmsg.raid_slot = cpu_to_le32(rdev->desc_nr); in gather_bitmaps()
Dmd.h78 int desc_nr; /* descriptor index in the superblock */ member