• Home
  • Raw
  • Download

Lines Matching refs:real_stripes

110 	int real_stripes;  member
645 if (rbio->nr_data + 1 == rbio->real_stripes) in rbio_qstripe_page()
981 int real_stripes = bbio->num_stripes - bbio->num_tgtdevs; in alloc_rbio() local
982 int num_pages = rbio_nr_pages(stripe_len, real_stripes); in alloc_rbio()
989 sizeof(*rbio->finish_pointers) * real_stripes + in alloc_rbio()
1006 rbio->real_stripes = real_stripes; in alloc_rbio()
1025 CONSUME_ALLOC(rbio->finish_pointers, real_stripes); in alloc_rbio()
1031 nr_data = real_stripes - 1; in alloc_rbio()
1033 nr_data = real_stripes - 2; in alloc_rbio()
1143 BUG_ON(rbio->faila == rbio->real_stripes - 1); in validate_rbio_for_rmw()
1209 if (rbio->real_stripes - rbio->nr_data == 1) { in finish_rmw()
1210 p_stripe = rbio->real_stripes - 1; in finish_rmw()
1211 } else if (rbio->real_stripes - rbio->nr_data == 2) { in finish_rmw()
1212 p_stripe = rbio->real_stripes - 2; in finish_rmw()
1213 q_stripe = rbio->real_stripes - 1; in finish_rmw()
1270 raid6_call.gen_syndrome(rbio->real_stripes, PAGE_SIZE, in finish_rmw()
1279 for (stripe = 0; stripe < rbio->real_stripes; stripe++) in finish_rmw()
1288 for (stripe = 0; stripe < rbio->real_stripes; stripe++) { in finish_rmw()
1309 for (stripe = 0; stripe < rbio->real_stripes; stripe++) { in finish_rmw()
1819 pointers = kcalloc(rbio->real_stripes, sizeof(void *), GFP_NOFS); in __raid_recover_end_io()
1849 for (stripe = 0; stripe < rbio->real_stripes; stripe++) { in __raid_recover_end_io()
1914 raid6_datap_recov(rbio->real_stripes, in __raid_recover_end_io()
1917 raid6_2data_recov(rbio->real_stripes, in __raid_recover_end_io()
1957 for (stripe = 0; stripe < rbio->real_stripes; stripe++) { in __raid_recover_end_io()
2078 for (stripe = 0; stripe < rbio->real_stripes; stripe++) { in __raid56_parity_recover()
2209 rbio->failb = rbio->real_stripes - (mirror_num - 1); in raid56_parity_recover()
2286 for (i = rbio->nr_data; i < rbio->real_stripes; i++) { in raid56_parity_alloc_scrub_rbio()
2292 ASSERT(i < rbio->real_stripes); in raid56_parity_alloc_scrub_rbio()
2335 for (i = 0; i < rbio->real_stripes; i++) { in alloc_rbio_essential_pages()
2369 if (rbio->real_stripes - rbio->nr_data == 1) { in finish_parity_scrub()
2370 p_stripe = rbio->real_stripes - 1; in finish_parity_scrub()
2371 } else if (rbio->real_stripes - rbio->nr_data == 2) { in finish_parity_scrub()
2372 p_stripe = rbio->real_stripes - 2; in finish_parity_scrub()
2373 q_stripe = rbio->real_stripes - 1; in finish_parity_scrub()
2429 raid6_call.gen_syndrome(rbio->real_stripes, PAGE_SIZE, in finish_parity_scrub()
2634 for (stripe = 0; stripe < rbio->real_stripes; stripe++) { in raid56_parity_scrub_stripe()