mirrors 249 drivers/md/raid1.c rdev_dec_pending(conf->mirrors[i].rdev, r1_bio->mddev); mirrors 318 drivers/md/raid1.c conf->mirrors[disk].head_position = mirrors 346 drivers/md/raid1.c struct md_rdev *rdev = conf->mirrors[r1_bio->read_disk].rdev; mirrors 431 drivers/md/raid1.c struct md_rdev *rdev = conf->mirrors[mirror].rdev; mirrors 624 drivers/md/raid1.c rdev = rcu_dereference(conf->mirrors[disk].rdev); mirrors 691 drivers/md/raid1.c dist = abs(this_sector - conf->mirrors[disk].head_position); mirrors 697 drivers/md/raid1.c if (conf->mirrors[disk].next_seq_sect == this_sector mirrors 700 drivers/md/raid1.c struct raid1_info *mirror = &conf->mirrors[disk]; mirrors 755 drivers/md/raid1.c rdev = rcu_dereference(conf->mirrors[best_disk].rdev); mirrors 761 drivers/md/raid1.c if (conf->mirrors[best_disk].next_seq_sect != this_sector) mirrors 762 drivers/md/raid1.c conf->mirrors[best_disk].seq_start = this_sector; mirrors 764 drivers/md/raid1.c conf->mirrors[best_disk].next_seq_sect = this_sector + sectors; mirrors 783 drivers/md/raid1.c struct md_rdev *rdev = rcu_dereference(conf->mirrors[i].rdev); mirrors 1237 drivers/md/raid1.c rdev = rcu_dereference(conf->mirrors[r1_bio->read_disk].rdev); mirrors 1274 drivers/md/raid1.c mirror = conf->mirrors + rdisk; mirrors 1390 drivers/md/raid1.c struct md_rdev *rdev = rcu_dereference(conf->mirrors[i].rdev); mirrors 1455 drivers/md/raid1.c rdev_dec_pending(conf->mirrors[j].rdev, mddev); mirrors 1508 drivers/md/raid1.c struct md_rdev *rdev = conf->mirrors[i].rdev; mirrors 1524 drivers/md/raid1.c conf->mirrors[i].rdev->data_offset); mirrors 1525 drivers/md/raid1.c bio_set_dev(mbio, conf->mirrors[i].rdev->bdev); mirrors 1528 drivers/md/raid1.c if (test_bit(FailFast, &conf->mirrors[i].rdev->flags) && mirrors 1529 drivers/md/raid1.c !test_bit(WriteMostly, &conf->mirrors[i].rdev->flags) && mirrors 1541 drivers/md/raid1.c mbio->bi_disk = (void *)conf->mirrors[i].rdev; mirrors 1603 drivers/md/raid1.c struct md_rdev *rdev = rcu_dereference(conf->mirrors[i].rdev); mirrors 1668 drivers/md/raid1.c struct md_rdev *rdev = rcu_dereference(conf->mirrors[i].rdev); mirrors 1706 drivers/md/raid1.c struct md_rdev *rdev = conf->mirrors[i].rdev; mirrors 1707 drivers/md/raid1.c struct md_rdev *repl = conf->mirrors[conf->raid_disks + i].rdev; mirrors 1767 drivers/md/raid1.c conf->mirrors[rdev->saved_raid_disk].rdev == NULL) mirrors 1771 drivers/md/raid1.c p = conf->mirrors + mirror; mirrors 1811 drivers/md/raid1.c struct raid1_info *p = conf->mirrors + number; mirrors 1814 drivers/md/raid1.c p = conf->mirrors + conf->raid_disks + number; mirrors 1842 drivers/md/raid1.c if (conf->mirrors[conf->raid_disks + number].rdev) { mirrors 1848 drivers/md/raid1.c conf->mirrors[conf->raid_disks + number].rdev; mirrors 1863 drivers/md/raid1.c conf->mirrors[conf->raid_disks + number].rdev = NULL; mirrors 1932 drivers/md/raid1.c struct md_rdev *rdev = conf->mirrors[find_bio_disk(r1_bio, bio)].rdev; mirrors 1943 drivers/md/raid1.c !is_badblock(conf->mirrors[r1_bio->read_disk].rdev, mirrors 1994 drivers/md/raid1.c rdev = conf->mirrors[r1_bio->read_disk].rdev; mirrors 2020 drivers/md/raid1.c rdev = conf->mirrors[d].rdev; mirrors 2045 drivers/md/raid1.c rdev = conf->mirrors[d].rdev; mirrors 2074 drivers/md/raid1.c rdev = conf->mirrors[d].rdev; mirrors 2089 drivers/md/raid1.c rdev = conf->mirrors[d].rdev; mirrors 2132 drivers/md/raid1.c conf->mirrors[i].rdev->data_offset; mirrors 2133 drivers/md/raid1.c bio_set_dev(b, conf->mirrors[i].rdev->bdev); mirrors 2145 drivers/md/raid1.c rdev_dec_pending(conf->mirrors[primary].rdev, mddev); mirrors 2183 drivers/md/raid1.c rdev_dec_pending(conf->mirrors[i].rdev, mddev); mirrors 2217 drivers/md/raid1.c if (test_bit(Faulty, &conf->mirrors[i].rdev->flags)) { mirrors 2223 drivers/md/raid1.c if (test_bit(FailFast, &conf->mirrors[i].rdev->flags)) mirrors 2228 drivers/md/raid1.c md_sync_acct(conf->mirrors[i].rdev->bdev, bio_sectors(wbio)); mirrors 2263 drivers/md/raid1.c rdev = rcu_dereference(conf->mirrors[d].rdev); mirrors 2287 drivers/md/raid1.c struct md_rdev *rdev = conf->mirrors[read_disk].rdev; mirrors 2299 drivers/md/raid1.c rdev = rcu_dereference(conf->mirrors[d].rdev); mirrors 2317 drivers/md/raid1.c rdev = rcu_dereference(conf->mirrors[d].rdev); mirrors 2344 drivers/md/raid1.c struct md_rdev *rdev = conf->mirrors[i].rdev; mirrors 2415 drivers/md/raid1.c struct md_rdev *rdev = conf->mirrors[m].rdev; mirrors 2440 drivers/md/raid1.c struct md_rdev *rdev = conf->mirrors[m].rdev; mirrors 2453 drivers/md/raid1.c conf->mirrors[m].rdev); mirrors 2457 drivers/md/raid1.c rdev_dec_pending(conf->mirrors[m].rdev, mirrors 2499 drivers/md/raid1.c rdev = conf->mirrors[r1_bio->read_disk].rdev; mirrors 2734 drivers/md/raid1.c rdev = rcu_dereference(conf->mirrors[i].rdev); mirrors 2804 drivers/md/raid1.c struct md_rdev *rdev = conf->mirrors[i].rdev; mirrors 2970 drivers/md/raid1.c conf->mirrors = kzalloc(array3_size(sizeof(struct raid1_info), mirrors 2973 drivers/md/raid1.c if (!conf->mirrors) mirrors 3003 drivers/md/raid1.c disk = conf->mirrors + mddev->raid_disks + disk_idx; mirrors 3005 drivers/md/raid1.c disk = conf->mirrors + disk_idx; mirrors 3028 drivers/md/raid1.c disk = conf->mirrors + i; mirrors 3064 drivers/md/raid1.c kfree(conf->mirrors); mirrors 3127 drivers/md/raid1.c if (conf->mirrors[i].rdev == NULL || mirrors 3128 drivers/md/raid1.c !test_bit(In_sync, &conf->mirrors[i].rdev->flags) || mirrors 3129 drivers/md/raid1.c test_bit(Faulty, &conf->mirrors[i].rdev->flags)) mirrors 3185 drivers/md/raid1.c kfree(conf->mirrors); mirrors 3268 drivers/md/raid1.c if (conf->mirrors[d].rdev) mirrors 3302 drivers/md/raid1.c struct md_rdev *rdev = conf->mirrors[d].rdev; mirrors 3314 drivers/md/raid1.c kfree(conf->mirrors); mirrors 3315 drivers/md/raid1.c conf->mirrors = newmirrors; mirrors 70 drivers/md/raid1.h struct raid1_info *mirrors; /* twice 'raid_disks' to mirrors 317 drivers/md/raid10.c conf->mirrors[r10_bio->devs[slot].devnum].head_position = mirrors 443 drivers/md/raid10.c rdev = conf->mirrors[dev].replacement; mirrors 447 drivers/md/raid10.c rdev = conf->mirrors[dev].rdev; mirrors 752 drivers/md/raid10.c rdev = rcu_dereference(conf->mirrors[disk].replacement); mirrors 755 drivers/md/raid10.c rdev = rcu_dereference(conf->mirrors[disk].rdev); mirrors 822 drivers/md/raid10.c conf->mirrors[disk].head_position); mirrors 865 drivers/md/raid10.c struct md_rdev *rdev = rcu_dereference(conf->mirrors[i].rdev); mirrors 1165 drivers/md/raid10.c err_rdev = rcu_dereference(conf->mirrors[disk].rdev); mirrors 1244 drivers/md/raid10.c rdev = conf->mirrors[devnum].replacement; mirrors 1248 drivers/md/raid10.c rdev = conf->mirrors[devnum].rdev; mirrors 1251 drivers/md/raid10.c rdev = conf->mirrors[devnum].rdev; mirrors 1265 drivers/md/raid10.c &conf->mirrors[devnum].rdev->flags) mirrors 1366 drivers/md/raid10.c struct md_rdev *rdev = rcu_dereference(conf->mirrors[d].rdev); mirrors 1368 drivers/md/raid10.c conf->mirrors[d].replacement); mirrors 1453 drivers/md/raid10.c rdev_dec_pending(conf->mirrors[d].rdev, mddev); mirrors 1458 drivers/md/raid10.c rdev = conf->mirrors[d].replacement; mirrors 1462 drivers/md/raid10.c rdev = conf->mirrors[d].rdev; mirrors 1575 drivers/md/raid10.c struct md_rdev *rdev = rcu_dereference(conf->mirrors[i].rdev); mirrors 1608 drivers/md/raid10.c (rdev = rcu_dereference(conf->mirrors[this].rdev)) && mirrors 1689 drivers/md/raid10.c rdev = conf->mirrors[i].rdev; mirrors 1719 drivers/md/raid10.c tmp = conf->mirrors + i; mirrors 1778 drivers/md/raid10.c conf->mirrors[rdev->saved_raid_disk].rdev == NULL) mirrors 1783 drivers/md/raid10.c struct raid10_info *p = &conf->mirrors[mirror]; mirrors 1828 drivers/md/raid10.c struct raid10_info *p = conf->mirrors + number; mirrors 1894 drivers/md/raid10.c &conf->mirrors[d].rdev->corrected_errors); mirrors 1899 drivers/md/raid10.c rdev_dec_pending(conf->mirrors[d].rdev, conf->mddev); mirrors 1967 drivers/md/raid10.c rdev = conf->mirrors[d].replacement; mirrors 1969 drivers/md/raid10.c rdev = conf->mirrors[d].rdev; mirrors 2048 drivers/md/raid10.c rdev = conf->mirrors[d].rdev; mirrors 2094 drivers/md/raid10.c atomic_inc(&conf->mirrors[d].rdev->nr_pending); mirrors 2096 drivers/md/raid10.c md_sync_acct(conf->mirrors[d].rdev->bdev, bio_sectors(tbio)); mirrors 2098 drivers/md/raid10.c if (test_bit(FailFast, &conf->mirrors[d].rdev->flags)) mirrors 2100 drivers/md/raid10.c tbio->bi_iter.bi_sector += conf->mirrors[d].rdev->data_offset; mirrors 2101 drivers/md/raid10.c bio_set_dev(tbio, conf->mirrors[d].rdev->bdev); mirrors 2119 drivers/md/raid10.c md_sync_acct(conf->mirrors[d].replacement->bdev, mirrors 2169 drivers/md/raid10.c rdev = conf->mirrors[dr].rdev; mirrors 2177 drivers/md/raid10.c rdev = conf->mirrors[dw].rdev; mirrors 2199 drivers/md/raid10.c if (rdev != conf->mirrors[dw].rdev) { mirrors 2201 drivers/md/raid10.c struct md_rdev *rdev2 = conf->mirrors[dw].rdev; mirrors 2209 drivers/md/raid10.c conf->mirrors[dw].recovery_disabled mirrors 2250 drivers/md/raid10.c atomic_inc(&conf->mirrors[d].rdev->nr_pending); mirrors 2251 drivers/md/raid10.c md_sync_acct(conf->mirrors[d].rdev->bdev, bio_sectors(wbio)); mirrors 2255 drivers/md/raid10.c atomic_inc(&conf->mirrors[d].replacement->nr_pending); mirrors 2256 drivers/md/raid10.c md_sync_acct(conf->mirrors[d].replacement->bdev, mirrors 2341 drivers/md/raid10.c rdev = conf->mirrors[d].rdev; mirrors 2379 drivers/md/raid10.c rdev = rcu_dereference(conf->mirrors[d].rdev); mirrors 2410 drivers/md/raid10.c rdev = conf->mirrors[dn].rdev; mirrors 2434 drivers/md/raid10.c rdev = rcu_dereference(conf->mirrors[d].rdev); mirrors 2470 drivers/md/raid10.c rdev = rcu_dereference(conf->mirrors[d].rdev); mirrors 2520 drivers/md/raid10.c struct md_rdev *rdev = conf->mirrors[r10_bio->devs[i].devnum].rdev; mirrors 2625 drivers/md/raid10.c rdev = conf->mirrors[dev].rdev; mirrors 2641 drivers/md/raid10.c rdev = conf->mirrors[dev].replacement; mirrors 2665 drivers/md/raid10.c rdev = conf->mirrors[dev].rdev; mirrors 2682 drivers/md/raid10.c rdev = conf->mirrors[dev].replacement; mirrors 2793 drivers/md/raid10.c if (conf->mirrors[i].replacement) mirrors 2980 drivers/md/raid10.c rcu_dereference(conf->mirrors[i].replacement); mirrors 3051 drivers/md/raid10.c struct raid10_info *mirror = &conf->mirrors[i]; mirrors 3127 drivers/md/raid10.c conf->mirrors[j].rdev); mirrors 3143 drivers/md/raid10.c rcu_dereference(conf->mirrors[d].rdev); mirrors 3276 drivers/md/raid10.c if (conf->mirrors[d].rdev && mirrors 3278 drivers/md/raid10.c &conf->mirrors[d].rdev->flags)) mirrors 3346 drivers/md/raid10.c rdev = rcu_dereference(conf->mirrors[d].rdev); mirrors 3376 drivers/md/raid10.c rdev = rcu_dereference(conf->mirrors[d].replacement); mirrors 3404 drivers/md/raid10.c rdev_dec_pending(conf->mirrors[d].rdev, mirrors 3409 drivers/md/raid10.c conf->mirrors[d].replacement, mirrors 3658 drivers/md/raid10.c conf->mirrors = kcalloc(mddev->raid_disks + max(0, -mddev->delta_disks), mirrors 3661 drivers/md/raid10.c if (!conf->mirrors) mirrors 3715 drivers/md/raid10.c kfree(conf->mirrors); mirrors 3785 drivers/md/raid10.c disk = conf->mirrors + disk_idx; mirrors 3846 drivers/md/raid10.c disk = conf->mirrors + i; mirrors 3935 drivers/md/raid10.c kfree(conf->mirrors); mirrors 3948 drivers/md/raid10.c kfree(conf->mirrors); mirrors 4140 drivers/md/raid10.c struct md_rdev *rdev = rcu_dereference(conf->mirrors[i].rdev); mirrors 4156 drivers/md/raid10.c struct md_rdev *rdev = rcu_dereference(conf->mirrors[i].rdev); mirrors 4233 drivers/md/raid10.c memcpy(conf->mirrors_new, conf->mirrors, mirrors 4237 drivers/md/raid10.c conf->mirrors_old = conf->mirrors; mirrors 4238 drivers/md/raid10.c conf->mirrors = conf->mirrors_new; mirrors 4613 drivers/md/raid10.c rdev2 = rcu_dereference(conf->mirrors[d].replacement); mirrors 4616 drivers/md/raid10.c rdev2 = rcu_dereference(conf->mirrors[d].rdev); mirrors 4705 drivers/md/raid10.c rdev = rcu_dereference(conf->mirrors[d].replacement); mirrors 4708 drivers/md/raid10.c rdev = rcu_dereference(conf->mirrors[d].rdev); mirrors 4798 drivers/md/raid10.c struct md_rdev *rdev = rcu_dereference(conf->mirrors[d].rdev); mirrors 4851 drivers/md/raid10.c rdev = conf->mirrors[d].replacement; mirrors 4854 drivers/md/raid10.c rdev = conf->mirrors[d].rdev; mirrors 4894 drivers/md/raid10.c struct md_rdev *rdev = rcu_dereference(conf->mirrors[d].rdev); mirrors 4897 drivers/md/raid10.c rdev = rcu_dereference(conf->mirrors[d].replacement); mirrors 30 drivers/md/raid10.h struct raid10_info *mirrors; mirrors 52 fs/nfs/flexfilelayout/flexfilelayout.c INIT_LIST_HEAD(&ffl->mirrors); mirrors 187 fs/nfs/flexfilelayout/flexfilelayout.c list_for_each_entry(pos, &ff_layout->mirrors, mirrors) { mirrors 197 fs/nfs/flexfilelayout/flexfilelayout.c list_add(&mirror->mirrors, &ff_layout->mirrors); mirrors 211 fs/nfs/flexfilelayout/flexfilelayout.c list_del(&mirror->mirrors); mirrors 224 fs/nfs/flexfilelayout/flexfilelayout.c INIT_LIST_HEAD(&mirror->mirrors); mirrors 2424 fs/nfs/flexfilelayout/flexfilelayout.c list_for_each_entry(mirror, &ff_layout->mirrors, mirrors) { mirrors 76 fs/nfs/flexfilelayout/flexfilelayout.h struct list_head mirrors; mirrors 108 fs/nfs/flexfilelayout/flexfilelayout.h struct list_head mirrors; mirrors 90 include/linux/hmm.h struct list_head mirrors; mirrors 38 mm/hmm.c INIT_LIST_HEAD(&hmm->mirrors); mirrors 51 mm/hmm.c WARN_ON(!list_empty(&hmm->mirrors)); mirrors 67 mm/hmm.c list_for_each_entry(mirror, &hmm->mirrors, list) { mirrors 123 mm/hmm.c list_for_each_entry(mirror, &hmm->mirrors, list) { mirrors 191 mm/hmm.c list_add(&mirror->list, &mirror->hmm->mirrors);