Lines Matching refs:buckets
265 usage.buckets[i] = usage_full.d[i].buckets; in bch2_copygc_dev_wait_amount()
350 struct buckets_in_flight buckets = {}; in bch2_copygc_thread() local
353 buckets.table = kzalloc(sizeof(*buckets.table), GFP_KERNEL); in bch2_copygc_thread()
354 int ret = !buckets.table in bch2_copygc_thread()
356 : rhashtable_init(buckets.table, &bch_move_bucket_params); in bch2_copygc_thread()
382 move_buckets_wait(&ctxt, &buckets, true); in bch2_copygc_thread()
388 move_buckets_wait(&ctxt, &buckets, true); in bch2_copygc_thread()
399 move_buckets_wait(&ctxt, &buckets, true); in bch2_copygc_thread()
409 ret = bch2_copygc(&ctxt, &buckets, &did_work); in bch2_copygc_thread()
420 move_buckets_wait(&ctxt, &buckets, true); in bch2_copygc_thread()
426 move_buckets_wait(&ctxt, &buckets, true); in bch2_copygc_thread()
427 rhashtable_destroy(buckets.table); in bch2_copygc_thread()
431 kfree(buckets.table); in bch2_copygc_thread()