Searched refs:nr_stripes (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/md/bcache/ |
D | writeback.h | 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()
|
D | writeback.c | 622 if (stripe >= d->nr_stripes) in bcache_dev_sectors_dirty_add() 667 dc->disk.nr_stripes, stripe); in refill_full_stripes() 669 if (stripe == dc->disk.nr_stripes) in refill_full_stripes() 673 dc->disk.nr_stripes, stripe); in refill_full_stripes() 691 if (stripe == dc->disk.nr_stripes) { in refill_full_stripes()
|
D | bcache.h | 268 int nr_stripes; member
|
D | super.c | 931 d->nr_stripes = n; in bcache_device_init() 933 n = d->nr_stripes * sizeof(atomic_t); in bcache_device_init() 938 n = BITS_TO_LONGS(d->nr_stripes) * sizeof(unsigned long); in bcache_device_init()
|
/linux-6.12.1/fs/btrfs/ |
D | scrub.c | 1802 unsigned int nr_stripes) in submit_initial_group_read() argument 1807 ASSERT(first_slot + nr_stripes <= SCRUB_TOTAL_STRIPES); in submit_initial_group_read() 1810 btrfs_stripe_nr_to_offset(nr_stripes)); in submit_initial_group_read() 1812 for (int i = 0; i < nr_stripes; i++) { in submit_initial_group_read() 1826 const int nr_stripes = sctx->cur_stripe; in flush_scrub_stripes() local 1829 if (!nr_stripes) in flush_scrub_stripes() 1835 if (nr_stripes % SCRUB_STRIPES_PER_GROUP) { in flush_scrub_stripes() 1836 const int first_slot = round_down(nr_stripes, SCRUB_STRIPES_PER_GROUP); in flush_scrub_stripes() 1838 submit_initial_group_read(sctx, first_slot, nr_stripes - first_slot); in flush_scrub_stripes() 1841 for (int i = 0; i < nr_stripes; i++) { in flush_scrub_stripes() [all …]
|
/linux-6.12.1/drivers/md/ |
D | dm-raid.c | 1547 uint32_t nr_stripes = rs->stripe_cache_entries; in rs_set_raid456_stripe_cache() local 1554 if (nr_stripes < min_stripes) { in rs_set_raid456_stripe_cache() 1556 nr_stripes, min_stripes); in rs_set_raid456_stripe_cache() 1557 nr_stripes = min_stripes; in rs_set_raid456_stripe_cache() 1567 if (conf->min_nr_stripes != nr_stripes) { in rs_set_raid456_stripe_cache() 1568 r = raid5_set_cache_size(mddev, nr_stripes); in rs_set_raid456_stripe_cache() 1574 DMINFO("%u stripe cache entries", nr_stripes); in rs_set_raid456_stripe_cache()
|
D | md.h | 986 void mddev_update_io_opt(struct mddev *mddev, unsigned int nr_stripes);
|
D | md.c | 5800 void mddev_update_io_opt(struct mddev *mddev, unsigned int nr_stripes) in mddev_update_io_opt() argument 5811 lim.io_opt = lim.io_min * nr_stripes; in mddev_update_io_opt()
|