Searched refs:rdev2 (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/md/ |
H A D | raid0.c | 67 struct md_rdev *smallest, *rdev1, *rdev2, *rdev, **dev; in create_strip_zones() local 90 rdev_for_each(rdev2, mddev) { in create_strip_zones() 96 rdev2->bdev, in create_strip_zones() 97 (unsigned long long)rdev2->sectors); in create_strip_zones() 98 if (rdev2 == rdev1) { in create_strip_zones() 103 if (rdev2->sectors == rdev1->sectors) { in create_strip_zones()
|
H A D | md.c | 1405 struct md_rdev *rdev2; in super_90_sync() local 1993 struct md_rdev *rdev2; in super_1_sync() local 2142 i = rdev2->desc_nr; in super_1_sync() 3340 struct md_rdev *rdev2; in md_rdev_overlaps() local 3347 if (rdev != rdev2 && rdev->bdev == rdev2->bdev && in md_rdev_overlaps() 5980 struct md_rdev *rdev2; in md_run() local 5985 if (rdev < rdev2 && in md_run() 5991 rdev2->bdev); in md_run() 6884 struct md_rdev *rdev2; in md_add_new_disk() local 9798 rdev2->bdev); in check_sb_changes() [all …]
|
H A D | raid10.c | 2594 struct md_rdev *rdev2 = conf->mirrors[dw].rdev; in fix_recovery_read_error() local 2596 ok = rdev_set_badblocks(rdev2, addr, s, 0); in fix_recovery_read_error() 4984 struct md_rdev *rdev2; in reshape_request() local 4986 rdev2 = rcu_dereference(conf->mirrors[d].replacement); in reshape_request() 4989 rdev2 = rcu_dereference(conf->mirrors[d].rdev); in reshape_request() 4992 if (!rdev2 || test_bit(Faulty, &rdev2->flags)) in reshape_request() 4995 bio_set_dev(b, rdev2->bdev); in reshape_request() 4997 rdev2->new_data_offset; in reshape_request()
|
H A D | raid5.c | 4813 struct md_rdev *rdev2 = rcu_dereference( in analyse_stripe() local 4815 if (rdev2 == rdev) in analyse_stripe() 4817 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe() 4819 atomic_inc(&rdev2->nr_pending); in analyse_stripe() 4826 struct md_rdev *rdev2 = rcu_dereference( in analyse_stripe() local 4828 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe() 4830 atomic_inc(&rdev2->nr_pending); in analyse_stripe() 4835 struct md_rdev *rdev2 = rcu_dereference( in analyse_stripe() local 4837 if (rdev2 && !test_bit(Faulty, &rdev2->flags)) { in analyse_stripe() 4839 atomic_inc(&rdev2->nr_pending); in analyse_stripe()
|
/openbmc/linux/net/wireless/ |
H A D | core.c | 95 struct cfg80211_registered_device *rdev2; in cfg80211_dev_check_name() local 119 list_for_each_entry(rdev2, &cfg80211_rdev_list, list) in cfg80211_dev_check_name() 120 if (strcmp(newname, wiphy_name(&rdev2->wiphy)) == 0) in cfg80211_dev_check_name()
|
/openbmc/linux/drivers/regulator/ |
H A D | core.c | 219 struct regulator_dev *rdev2, in regulator_lock_two() argument 230 ret = regulator_lock_nested(rdev2, ww_ctx); in regulator_lock_two() 237 contended = rdev2; in regulator_lock_two() 267 struct regulator_dev *rdev2, in regulator_unlock_two() argument 270 regulator_unlock(rdev2); in regulator_unlock_two()
|