Lines Matching refs:ARRAY_SIZE
165 ARRAY_SIZE(c->open_buckets_partial)); in open_bucket_free_unused()
636 v < stripe->next_alloc + ARRAY_SIZE(stripe->next_alloc); v++) { in bch2_stripe_state_rescale()
646 v < stripe->next_alloc + ARRAY_SIZE(stripe->next_alloc); v++) in bch2_stripe_state_rescale()
1032 for (i = 0; i < ARRAY_SIZE(c->write_points); i++) in bch2_open_buckets_stop()
1080 hash_long(write_point, ilog2(ARRAY_SIZE(c->write_points_hash))); in writepoint_hash()
1109 if (c->write_points_nr == ARRAY_SIZE(c->write_points) || in try_increase_writepoints()
1367 if (req->ptrs.nr < ARRAY_SIZE(req->ptrs.v)) in bch2_alloc_sectors_start_trans()
1422 c->write_points_nr = ARRAY_SIZE(c->write_points); in bch2_fs_allocator_foreground_init()
1428 ob < c->open_buckets + ARRAY_SIZE(c->open_buckets); ob++) { in bch2_fs_allocator_foreground_init()
1479 ob < c->open_buckets + ARRAY_SIZE(c->open_buckets); in bch2_open_buckets_to_text()
1547 wp < c->write_points + ARRAY_SIZE(c->write_points); in bch2_write_points_to_text()
1567 for (unsigned i = 0; i < ARRAY_SIZE(c->open_buckets); i++) in bch2_fs_alloc_debug_to_text()
1601 for (unsigned i = 0; i < ARRAY_SIZE(c->open_buckets); i++) in bch2_dev_alloc_debug_to_text()