Searched refs:nr_stripes (Results 1 – 5 of 5) sorted by relevance
308 if (stripe >= d->nr_stripes) in bcache_dev_sectors_dirty_add()341 if (stripe >= dc->disk.nr_stripes) in refill_full_stripes()348 dc->disk.nr_stripes, stripe); in refill_full_stripes()350 if (stripe == dc->disk.nr_stripes) in refill_full_stripes()354 dc->disk.nr_stripes, stripe); in refill_full_stripes()372 if (stripe == dc->disk.nr_stripes) { in refill_full_stripes()
11 for (i = 0; i < d->nr_stripes; i++) in bcache_dev_sectors_dirty()
757 d->nr_stripes = DIV_ROUND_UP_ULL(sectors, d->stripe_size); in bcache_device_init()759 if (!d->nr_stripes || in bcache_device_init()760 d->nr_stripes > INT_MAX || in bcache_device_init()761 d->nr_stripes > SIZE_MAX / sizeof(atomic_t)) { in bcache_device_init()766 n = d->nr_stripes * sizeof(atomic_t); in bcache_device_init()773 n = BITS_TO_LONGS(d->nr_stripes) * sizeof(unsigned long); in bcache_device_init()
263 unsigned nr_stripes; member
950 static unsigned long rbio_nr_pages(unsigned long stripe_len, int nr_stripes) in rbio_nr_pages() argument952 unsigned long nr = stripe_len * nr_stripes; in rbio_nr_pages()