desc_nr 1083 drivers/md/md-cluster.c raid_slot = rdev->desc_nr; desc_nr 1262 drivers/md/md-cluster.c raid_slot = rdev->desc_nr; desc_nr 1407 drivers/md/md-cluster.c cmsg.raid_slot = cpu_to_le32(rdev->desc_nr); desc_nr 1469 drivers/md/md-cluster.c cmsg.raid_slot = cpu_to_le32(rdev->desc_nr); desc_nr 1533 drivers/md/md-cluster.c cmsg.raid_slot = cpu_to_le32(rdev->desc_nr); desc_nr 773 drivers/md/md.c if (rdev->desc_nr == nr) desc_nr 1155 drivers/md/md.c rdev->desc_nr = -1; desc_nr 1157 drivers/md/md.c rdev->desc_nr = sb->this_disk.number; desc_nr 1161 drivers/md/md.c (rdev->desc_nr >= 0 && desc_nr 1162 drivers/md/md.c rdev->desc_nr < MD_SB_DISKS && desc_nr 1163 drivers/md/md.c sb->disks[rdev->desc_nr].state & desc_nr 1292 drivers/md/md.c if (sb->disks[rdev->desc_nr].state & ( desc_nr 1311 drivers/md/md.c desc = sb->disks + rdev->desc_nr; desc_nr 1416 drivers/md/md.c int desc_nr; desc_nr 1430 drivers/md/md.c desc_nr = rdev2->raid_disk; desc_nr 1432 drivers/md/md.c desc_nr = next_spare++; desc_nr 1433 drivers/md/md.c rdev2->desc_nr = desc_nr; desc_nr 1434 drivers/md/md.c d = &sb->disks[rdev2->desc_nr]; desc_nr 1436 drivers/md/md.c d->number = rdev2->desc_nr; desc_nr 1442 drivers/md/md.c d->raid_disk = rdev2->desc_nr; /* compatibility */ desc_nr 1478 drivers/md/md.c sb->this_disk = sb->disks[rdev->desc_nr]; desc_nr 1627 drivers/md/md.c rdev->desc_nr = -1; desc_nr 1629 drivers/md/md.c rdev->desc_nr = le32_to_cpu(sb->dev_number); desc_nr 1684 drivers/md/md.c (rdev->desc_nr >= 0 && desc_nr 1685 drivers/md/md.c rdev->desc_nr < le32_to_cpu(sb->max_dev) && desc_nr 1686 drivers/md/md.c (le16_to_cpu(sb->dev_roles[rdev->desc_nr]) < MD_DISK_ROLE_MAX || desc_nr 1687 drivers/md/md.c le16_to_cpu(sb->dev_roles[rdev->desc_nr]) == MD_DISK_ROLE_JOURNAL))) desc_nr 1825 drivers/md/md.c if (rdev->desc_nr >= 0 && desc_nr 1826 drivers/md/md.c rdev->desc_nr < le32_to_cpu(sb->max_dev) && desc_nr 1827 drivers/md/md.c (le16_to_cpu(sb->dev_roles[rdev->desc_nr]) < MD_DISK_ROLE_MAX || desc_nr 1828 drivers/md/md.c le16_to_cpu(sb->dev_roles[rdev->desc_nr]) == MD_DISK_ROLE_JOURNAL)) desc_nr 1846 drivers/md/md.c if (rdev->desc_nr < 0 || desc_nr 1847 drivers/md/md.c rdev->desc_nr >= le32_to_cpu(sb->max_dev)) { desc_nr 1849 drivers/md/md.c rdev->desc_nr = -1; desc_nr 1851 drivers/md/md.c role = le16_to_cpu(sb->dev_roles[rdev->desc_nr]); desc_nr 2022 drivers/md/md.c if (rdev2->desc_nr+1 > max_dev) desc_nr 2023 drivers/md/md.c max_dev = rdev2->desc_nr+1; desc_nr 2052 drivers/md/md.c i = rdev2->desc_nr; desc_nr 2313 drivers/md/md.c if (rdev->desc_nr < 0) { desc_nr 2319 drivers/md/md.c rdev->desc_nr = choice; desc_nr 2321 drivers/md/md.c if (md_find_rdev_nr_rcu(mddev, rdev->desc_nr)) { desc_nr 2328 drivers/md/md.c mddev->max_disks && rdev->desc_nr >= mddev->max_disks) { desc_nr 2526 drivers/md/md.c role = le16_to_cpu(sb->dev_roles[rdev->desc_nr]); desc_nr 3536 drivers/md/md.c rdev->desc_nr = -1; desc_nr 3665 drivers/md/md.c (rdev->desc_nr >= mddev->max_disks || desc_nr 3683 drivers/md/md.c rdev->desc_nr = i++; desc_nr 3684 drivers/md/md.c rdev->raid_disk = rdev->desc_nr; desc_nr 6669 drivers/md/md.c rdev->desc_nr = info->number; desc_nr 6783 drivers/md/md.c rdev->desc_nr = -1; desc_nr 8041 drivers/md/md.c bdevname(rdev->bdev,b), rdev->desc_nr); desc_nr 9381 drivers/md/md.c role = le16_to_cpu(sb->dev_roles[rdev2->desc_nr]); desc_nr 9471 drivers/md/md.c __func__, __LINE__, rdev->desc_nr, err); desc_nr 9506 drivers/md/md.c if (rdev->desc_nr == nr) desc_nr 9510 drivers/md/md.c if (!rdev || rdev->desc_nr != nr) { desc_nr 78 drivers/md/md.h int desc_nr; /* descriptor index in the superblock */