Lines Matching refs:open_bucket
78 static void bch2_open_bucket_hash_add(struct bch_fs *c, struct open_bucket *ob) in bch2_open_bucket_hash_add()
87 static void bch2_open_bucket_hash_remove(struct bch_fs *c, struct open_bucket *ob) in bch2_open_bucket_hash_remove()
101 void __bch2_open_bucket_put(struct bch_fs *c, struct open_bucket *ob) in __bch2_open_bucket_put()
132 struct open_bucket *ob; in bch2_open_bucket_write_error()
140 static struct open_bucket *bch2_open_bucket_alloc(struct bch_fs *c) in bch2_open_bucket_alloc()
142 struct open_bucket *ob; in bch2_open_bucket_alloc()
163 static void open_bucket_free_unused(struct bch_fs *c, struct open_bucket *ob) in open_bucket_free_unused()
209 static struct open_bucket *__try_alloc_bucket(struct bch_fs *c, struct bch_dev *ca, in __try_alloc_bucket()
241 struct open_bucket *ob = bch2_open_bucket_alloc(c); in __try_alloc_bucket()
261 static struct open_bucket *try_alloc_bucket(struct btree_trans *trans, struct bch_dev *ca, in try_alloc_bucket()
286 static noinline struct open_bucket *
296 struct open_bucket *ob = NULL; in bch2_bucket_alloc_early()
380 static struct open_bucket *bch2_bucket_alloc_freelist(struct btree_trans *trans, in bch2_bucket_alloc_freelist()
388 struct open_bucket *ob = NULL; in bch2_bucket_alloc_freelist()
462 struct open_bucket *ob) in trace_bucket_alloc2()
507 static struct open_bucket *bch2_bucket_alloc_trans(struct btree_trans *trans, in bch2_bucket_alloc_trans()
516 struct open_bucket *ob = NULL; in bch2_bucket_alloc_trans()
592 struct open_bucket *bch2_bucket_alloc(struct bch_fs *c, struct bch_dev *ca, in bch2_bucket_alloc()
598 struct open_bucket *ob; in bch2_bucket_alloc()
701 struct open_bucket *ob) in add_new_bucket()
749 struct open_bucket *ob = bch2_bucket_alloc_trans(trans, ca, watermark, data_type, in bch2_bucket_alloc_set_trans()
815 struct open_bucket *ob = c->open_buckets + h->s->blocks[ec_idx]; in bucket_alloc_from_stripe()
838 struct open_bucket *ob) in want_bucket()
868 struct open_bucket *ob; in bucket_alloc_set_writepoint()
906 struct open_bucket *ob = c->open_buckets + c->open_buckets_partial[i]; in bucket_alloc_set_partial()
954 struct open_bucket *ob; in __open_bucket_add_buckets()
1056 static bool should_drop_bucket(struct open_bucket *ob, struct bch_fs *c, in should_drop_bucket()
1063 struct open_bucket *ob2; in should_drop_bucket()
1092 struct open_bucket *ob; in bch2_writepoint_stop()
1130 struct open_bucket *ob = in bch2_open_buckets_stop()
1205 struct open_bucket *ob; in try_decrease_writepoints()
1297 struct open_bucket *ob; in deallocate_extra_replicas()
1331 struct open_bucket *ob; in bch2_alloc_sectors_start_trans()
1477 struct bch_extent_ptr bch2_ob_ptr(struct bch_fs *c, struct open_bucket *ob) in bch2_ob_ptr()
1520 struct open_bucket *ob; in bch2_fs_allocator_foreground_init()
1553 void bch2_open_bucket_to_text(struct printbuf *out, struct bch_fs *c, struct open_bucket *ob) in bch2_open_bucket_to_text()
1576 struct open_bucket *ob; in bch2_open_buckets_to_text()
1617 struct open_bucket *ob; in bch2_write_point_to_text()