Searched refs:nr_stripes (Results 1 – 5 of 5) sorted by relevance
53 for (i = 0; i < d->nr_stripes; i++) in bcache_dev_sectors_dirty()65 if (unlikely(offset >= d->nr_stripes)) { in offset_to_stripe()67 offset, d->nr_stripes); in offset_to_stripe()
268 int nr_stripes; member
1899 unsigned int nr_stripes) in submit_initial_group_read() argument1904 ASSERT(first_slot + nr_stripes <= SCRUB_TOTAL_STRIPES); in submit_initial_group_read()1907 btrfs_stripe_nr_to_offset(nr_stripes)); in submit_initial_group_read()1909 for (int i = 0; i < nr_stripes; i++) { in submit_initial_group_read()1923 const int nr_stripes = sctx->cur_stripe; in flush_scrub_stripes() local1926 if (!nr_stripes) in flush_scrub_stripes()1932 if (nr_stripes % SCRUB_STRIPES_PER_GROUP) { in flush_scrub_stripes()1933 const int first_slot = round_down(nr_stripes, SCRUB_STRIPES_PER_GROUP); in flush_scrub_stripes()1935 submit_initial_group_read(sctx, first_slot, nr_stripes - first_slot); in flush_scrub_stripes()1938 for (int i = 0; i < nr_stripes; i++) { in flush_scrub_stripes()[all …]
1050 void mddev_update_io_opt(struct mddev *mddev, unsigned int nr_stripes);
6279 void mddev_update_io_opt(struct mddev *mddev, unsigned int nr_stripes) in mddev_update_io_opt() argument6290 lim.io_opt = lim.io_min * nr_stripes; in mddev_update_io_opt()