Lines Matching defs:faila
993 * @faila and @failb will also be updated to the first and second stripe
997 int *faila, int *failb)
1002 if (faila || failb) {
1004 * Both @faila and @failb should be valid pointers if any of
1007 ASSERT(faila && failb);
1008 *faila = -1;
1017 if (faila) {
1018 /* Update faila and failb. */
1019 if (*faila < 0)
1020 *faila = stripe_nr;
1725 int faila;
1738 found_errors = get_rbio_veritical_errors(rbio, sector_nr, &faila,
1776 if (faila == rbio->nr_data)
1799 if (faila == rbio->real_stripes - 2)
1815 faila, pointers);
1818 faila, failb, pointers);
1827 memcpy(pointers[faila], pointers[rbio->nr_data], sectorsize);
1830 p = pointers[faila];
1831 for (stripe_nr = faila; stripe_nr < rbio->nr_data - 1;
1851 if (faila >= 0) {
1852 ret = verify_one_sector(rbio, faila, sector_nr);
1856 sector = rbio_stripe_sector(rbio, faila, sector_nr);
2005 int faila;
2009 &faila, &failb);
2023 if (failb <= faila)
2581 int faila;
2586 &faila, &failb);
2595 ASSERT(faila >= 0 || failb >= 0);
2597 if (is_data_stripe(rbio, faila))
2599 else if (is_parity_stripe(faila))
2600 failp = faila;