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

/linux-4.1.27/drivers/md/bcache/
H A Dwriteback.c308 if (stripe >= d->nr_stripes) bcache_dev_sectors_dirty_add()
341 if (stripe >= dc->disk.nr_stripes) refill_full_stripes()
348 dc->disk.nr_stripes, stripe); refill_full_stripes()
350 if (stripe == dc->disk.nr_stripes) refill_full_stripes()
354 dc->disk.nr_stripes, stripe); refill_full_stripes()
372 if (stripe == dc->disk.nr_stripes) { refill_full_stripes()
H A Dwriteback.h11 for (i = 0; i < d->nr_stripes; i++) bcache_dev_sectors_dirty()
H A Dsuper.c787 d->nr_stripes = DIV_ROUND_UP_ULL(sectors, d->stripe_size); bcache_device_init()
789 if (!d->nr_stripes || bcache_device_init()
790 d->nr_stripes > INT_MAX || bcache_device_init()
791 d->nr_stripes > SIZE_MAX / sizeof(atomic_t)) { bcache_device_init()
792 pr_err("nr_stripes too large"); bcache_device_init()
796 n = d->nr_stripes * sizeof(atomic_t); bcache_device_init()
803 n = BITS_TO_LONGS(d->nr_stripes) * sizeof(unsigned long); bcache_device_init()
H A Dbcache.h276 unsigned nr_stripes; member in struct:bcache_device
/linux-4.1.27/fs/btrfs/
H A Draid56.c938 static unsigned long rbio_nr_pages(unsigned long stripe_len, int nr_stripes) rbio_nr_pages() argument
940 unsigned long nr = stripe_len * nr_stripes; rbio_nr_pages()

Completed in 145 milliseconds