Searched refs:repl_slot (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/md/
H A Draid1.c1902 int mirror = 0, repl_slot = -1; local
1942 p[conf->raid_disks].rdev == NULL && repl_slot < 0)
1943 repl_slot = mirror;
1946 if (err && repl_slot >= 0) {
1950 raid1_add_conf(conf, rdev, repl_slot, true);
H A Draid10.c2073 int mirror, repl_slot = -1; local
2104 p->replacement == NULL && repl_slot < 0)
2105 repl_slot = mirror;
2122 if (err && repl_slot >= 0) {
2123 p = &conf->mirrors[repl_slot];
2126 rdev->raid_disk = repl_slot;

Completed in 224 milliseconds