Lines Matching refs:stripes_pending
129 atomic_t stripes_pending; member
907 if (!atomic_dec_and_test(&rbio->stripes_pending)) in raid_write_end_io()
1005 atomic_set(&rbio->stripes_pending, 0); in alloc_rbio()
1335 atomic_set(&rbio->stripes_pending, bio_list_size(&bio_list)); in finish_rmw()
1336 BUG_ON(atomic_read(&rbio->stripes_pending) == 0); in finish_rmw()
1491 if (!atomic_dec_and_test(&rbio->stripes_pending)) in raid_rmw_end_io()
1579 atomic_set(&rbio->stripes_pending, bios_to_read); in raid56_rmw_stripe()
2069 if (!atomic_dec_and_test(&rbio->stripes_pending)) in raid_recover_end_io()
2145 atomic_set(&rbio->stripes_pending, bios_to_read); in __raid56_parity_recover()
2511 atomic_set(&rbio->stripes_pending, nr_data); in finish_parity_scrub()
2620 if (!atomic_dec_and_test(&rbio->stripes_pending)) in raid56_parity_scrub_end_io()
2694 atomic_set(&rbio->stripes_pending, bios_to_read); in raid56_parity_scrub_stripe()