Lines Matching refs:buckets
104 err = "Too many journal buckets";
108 err = "Too many buckets";
112 err = "Not enough buckets";
147 err = "Journal buckets not sequential";
152 err = "Too many journal buckets";
570 * buckets in suboptimal order.
572 * On disk they're stored in a packed array, and in as many buckets are required
573 * to fit them all. The buckets we use to store them form a list; the journal
578 * of buckets to allocate from) the allocation code will invalidate some
579 * buckets, but it can't use those buckets until their new gens are safely on
625 * Pre-check if there are enough free buckets. In the non-blocking
627 * buckets and do a cleanup later in case of failure.
651 for (b = ca->buckets + i * prios_per_bucket(ca);
652 b < ca->buckets + ca->sb.nbuckets && d < end;
670 atomic_dec_bug(&ca->buckets[bucket].pin);
687 &ca->buckets[ca->prio_last_buckets[i]]);
702 for (b = ca->buckets;
703 b < ca->buckets + ca->sb.nbuckets;
2077 * btree_gc_finish() have to run before we have buckets to
2236 vfree(ca->buckets);
2271 * the worst situation is all journal buckets are valid journal,
2273 * so the number of RESERVE_BTREE type buckets should be as much
2274 * as journal buckets
2316 ca->buckets = vzalloc(array_size(sizeof(struct bucket),
2318 if (!ca->buckets) {
2319 err = "ca->buckets alloc failed";
2346 vfree(ca->buckets);