Searched refs:desc_nr (Results 1 – 5 of 5) sorted by relevance
585 xchg_values(spare_rdev->desc_nr, failed_rdev->desc_nr); in multipath_diskop()871 if (rdev->desc_nr == -1) { in multipath_run()876 desc = &sb->disks[rdev->desc_nr]; in multipath_run()913 desc = &sb->disks[def_rdev->desc_nr]; in multipath_run()925 if(def_rdev->desc_nr != 0) { in multipath_run()927 desc = &sb->disks[def_rdev->desc_nr]; in multipath_run()938 xchg_values(def_rdev->desc_nr,rdev->desc_nr); in multipath_run()940 def_rdev->desc_nr = 0; in multipath_run()
228 if (rdev->desc_nr == nr) in find_rdev_nr()377 if (rdev->desc_nr == i) in md_check_ordering()811 rdev->size, rdev->faulty, rdev->desc_nr); in print_rdev()979 rdev->desc_nr = desc->number; in set_this_disk()1116 rdev->desc_nr = -1; in md_import_device()1144 rdev->desc_nr = rdev->sb->this_disk.number; in md_import_device()1147 rdev->desc_nr = -1; in md_import_device()1284 int desc_nr = 0; in analyze_sbs() local1290 rdev->desc_nr=desc_nr; in analyze_sbs()1292 desc = &sb->disks[rdev->desc_nr]; in analyze_sbs()[all …]
1077 spare_rdev->desc_nr = failed_desc->number; in raid1_diskop()1079 failed_rdev->desc_nr = spare_desc->number; in raid1_diskop()1619 if (rdev->desc_nr == -1) { in raid1_run()1623 descriptor = &sb->disks[rdev->desc_nr]; in raid1_run()
1417 desc = sb->disks + rdev->desc_nr; in raid5_run()1923 spare_rdev->desc_nr = failed_desc->number;1925 failed_rdev->desc_nr = spare_desc->number;
179 int desc_nr; /* descriptor index in the superblock */ member