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
1905 unsigned int nr_stripes) in submit_initial_group_read() 1910 ASSERT(first_slot + nr_stripes <= SCRUB_TOTAL_STRIPES); in submit_initial_group_read() 1913 btrfs_stripe_nr_to_offset(nr_stripes)); in submit_initial_group_read() 1915 for (int i = 0; i < nr_stripes; i++) { in submit_initial_group_read() 1929 const int nr_stripes = sctx->cur_stripe; in flush_scrub_stripes() 1932 if (!nr_stripes) in flush_scrub_stripes() 1938 if (nr_stripes % SCRUB_STRIPES_PER_GROUP) { in flush_scrub_stripes() 1939 const int first_slot = round_down(nr_stripes, SCRUB_STRIPES_PER_GROUP); in flush_scrub_stripes() 1941 submit_initial_group_read(sctx, first_slot, nr_stripes - first_slot); in flush_scrub_stripes() 1944 for (int i = 0; i < nr_stripes; in flush_scrub_stripes() 1903 submit_initial_group_read(struct scrub_ctx * sctx,unsigned int first_slot,unsigned int nr_stripes) submit_initial_group_read() argument 1927 const int nr_stripes = sctx->cur_stripe; flush_scrub_stripes() local [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()