Lines Matching refs:real_stripes
597 ASSERT(stripe_nr < rbio->real_stripes);
623 if (rbio->nr_data + 1 == rbio->real_stripes)
878 ASSERT(stripe_nr >= 0 && stripe_nr < rbio->real_stripes);
905 const unsigned int real_stripes = bioc->num_stripes - bioc->replace_nr_stripes;
907 const unsigned int num_pages = stripe_npages * real_stripes;
910 const unsigned int num_sectors = stripe_nsectors * real_stripes;
930 rbio->finish_pointers = kcalloc(real_stripes, sizeof(void *), GFP_NOFS);
950 rbio->real_stripes = real_stripes;
957 rbio->nr_data = real_stripes - btrfs_nr_parity_stripes(bioc->map_type);
1012 for (stripe_nr = 0; stripe_nr < rbio->real_stripes; stripe_nr++) {
1052 * So here we check against bioc->num_stripes, not rbio->real_stripes.
1215 raid6_call.gen_syndrome(rbio->real_stripes, sectorsize,
1320 rbio->real_stripes,
1354 for (stripe_nr = 0; stripe_nr < rbio->real_stripes; stripe_nr++) {
1756 for (stripe_nr = 0; stripe_nr < rbio->real_stripes; stripe_nr++) {
1798 if (failb == rbio->real_stripes - 1) {
1799 if (faila == rbio->real_stripes - 2)
1813 if (failb == rbio->real_stripes - 2) {
1814 raid6_datap_recov(rbio->real_stripes, sectorsize,
1817 raid6_2data_recov(rbio->real_stripes, sectorsize,
1869 for (stripe_nr = rbio->real_stripes - 1; stripe_nr >= 0; stripe_nr--)
1887 pointers = kcalloc(rbio->real_stripes, sizeof(void *), GFP_NOFS);
1888 unmap_array = kcalloc(rbio->real_stripes, sizeof(void *), GFP_NOFS);
2022 failb = rbio->real_stripes - (mirror_num - 1);
2360 for (i = rbio->nr_data; i < rbio->real_stripes; i++) {
2366 ASSERT(i < rbio->real_stripes);
2418 if (rbio->real_stripes - rbio->nr_data == 1)
2420 else if (rbio->real_stripes - rbio->nr_data == 2)
2457 pointers[rbio->real_stripes - 1] = kmap_local_page(q_sector.page);
2478 raid6_call.gen_syndrome(rbio->real_stripes, sectorsize,
2504 kunmap_local(pointers[rbio->real_stripes - 1]);
2537 rbio->real_stripes,
2572 pointers = kcalloc(rbio->real_stripes, sizeof(void *), GFP_NOFS);
2573 unmap_array = kcalloc(rbio->real_stripes, sizeof(void *), GFP_NOFS);