Home
last modified time | relevance | path

Searched refs:rdev1 (Results 1 – 2 of 2) sorted by relevance

/drivers/md/
Draid0.c69 struct md_rdev *smallest, *rdev1, *rdev2, *rdev, **dev; in create_strip_zones() local
80 rdev_for_each(rdev1, mddev) { in create_strip_zones()
83 bdevname(rdev1->bdev, b)); in create_strip_zones()
87 sectors = rdev1->sectors; in create_strip_zones()
89 rdev1->sectors = sectors * mddev->chunk_sectors; in create_strip_zones()
92 rdev1->bdev->bd_disk->queue)); in create_strip_zones()
98 bdevname(rdev1->bdev,b), in create_strip_zones()
99 (unsigned long long)rdev1->sectors, in create_strip_zones()
102 if (rdev2 == rdev1) { in create_strip_zones()
107 if (rdev2->sectors == rdev1->sectors) { in create_strip_zones()
[all …]
/drivers/regulator/
Dcore.c217 static void regulator_lock_two(struct regulator_dev *rdev1, in regulator_lock_two() argument
227 ret = regulator_lock_nested(rdev1, ww_ctx); in regulator_lock_two()
241 regulator_unlock(rdev1); in regulator_lock_two()
246 ret = regulator_lock_nested(rdev1, ww_ctx); in regulator_lock_two()
250 tmp = rdev1; in regulator_lock_two()
251 rdev1 = rdev2; in regulator_lock_two()
272 static void regulator_unlock_two(struct regulator_dev *rdev1, in regulator_unlock_two() argument
277 regulator_unlock(rdev1); in regulator_unlock_two()