Home
last modified time | relevance | path

Searched refs:nr_stripes (Results 1 – 5 of 5) sorted by relevance

/drivers/md/bcache/
Dwriteback.h53 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()
Dwriteback.c622 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()
Dbcache.h267 int nr_stripes; member
Dsuper.c917 d->nr_stripes = n; in bcache_device_init()
919 n = d->nr_stripes * sizeof(atomic_t); in bcache_device_init()
924 n = BITS_TO_LONGS(d->nr_stripes) * sizeof(unsigned long); in bcache_device_init()
/drivers/md/
Ddm-raid.c1540 uint32_t nr_stripes = rs->stripe_cache_entries; in rs_set_raid456_stripe_cache() local
1547 if (nr_stripes < min_stripes) { in rs_set_raid456_stripe_cache()
1549 nr_stripes, min_stripes); in rs_set_raid456_stripe_cache()
1550 nr_stripes = min_stripes; in rs_set_raid456_stripe_cache()
1560 if (conf->min_nr_stripes != nr_stripes) { in rs_set_raid456_stripe_cache()
1561 r = raid5_set_cache_size(mddev, nr_stripes); in rs_set_raid456_stripe_cache()
1567 DMINFO("%u stripe cache entries", nr_stripes); in rs_set_raid456_stripe_cache()