Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/md/
Dmultipath.c585 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()
Dmd.c228 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() local
1290 rdev->desc_nr=desc_nr; in analyze_sbs()
1292 desc = &sb->disks[rdev->desc_nr]; in analyze_sbs()
[all …]
Draid1.c1077 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()
Draid5.c1417 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;
/linux-2.4.37.9/include/linux/raid/
Dmd_k.h179 int desc_nr; /* descriptor index in the superblock */ member