Lines Matching refs:sl
2392 int sl = r10_bio->read_slot; in fix_read_error() local
2404 d = r10_bio->devs[sl].devnum; in fix_read_error()
2409 is_badblock(rdev, r10_bio->devs[sl].addr + sect, s, in fix_read_error()
2414 r10_bio->devs[sl].addr + in fix_read_error()
2423 sl++; in fix_read_error()
2424 if (sl == conf->copies) in fix_read_error()
2425 sl = 0; in fix_read_error()
2426 } while (!success && sl != r10_bio->read_slot); in fix_read_error()
2449 start = sl; in fix_read_error()
2452 while (sl != r10_bio->read_slot) { in fix_read_error()
2455 if (sl==0) in fix_read_error()
2456 sl = conf->copies; in fix_read_error()
2457 sl--; in fix_read_error()
2458 d = r10_bio->devs[sl].devnum; in fix_read_error()
2468 r10_bio->devs[sl].addr + in fix_read_error()
2491 sl = start; in fix_read_error()
2492 while (sl != r10_bio->read_slot) { in fix_read_error()
2495 if (sl==0) in fix_read_error()
2496 sl = conf->copies; in fix_read_error()
2497 sl--; in fix_read_error()
2498 d = r10_bio->devs[sl].devnum; in fix_read_error()
2507 r10_bio->devs[sl].addr + in fix_read_error()