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()
136 struct open_bucket *ob; in bch2_open_bucket_write_error()
144 static struct open_bucket *bch2_open_bucket_alloc(struct bch_fs *c) in bch2_open_bucket_alloc()
146 struct open_bucket *ob; in bch2_open_bucket_alloc()
159 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()
216 struct open_bucket *ob; in __try_alloc_bucket()
278 static struct open_bucket *try_alloc_bucket(struct btree_trans *trans, struct bch_dev *ca, in try_alloc_bucket()
287 struct open_bucket *ob; in try_alloc_bucket()
385 static noinline struct open_bucket *
394 struct open_bucket *ob = NULL; in bch2_bucket_alloc_early()
479 static struct open_bucket *bch2_bucket_alloc_freelist(struct btree_trans *trans, in bch2_bucket_alloc_freelist()
487 struct open_bucket *ob = NULL; in bch2_bucket_alloc_freelist()
558 struct open_bucket *ob) in trace_bucket_alloc2()
602 static struct open_bucket *bch2_bucket_alloc_trans(struct btree_trans *trans, in bch2_bucket_alloc_trans()
611 struct open_bucket *ob = NULL; in bch2_bucket_alloc_trans()
683 struct open_bucket *bch2_bucket_alloc(struct bch_fs *c, struct bch_dev *ca, in bch2_bucket_alloc()
689 struct open_bucket *ob; in bch2_bucket_alloc()
756 struct open_bucket *ob) in add_new_bucket()
796 struct open_bucket *ob; in bch2_bucket_alloc_set_trans()
855 struct open_bucket *ob; in bucket_alloc_from_stripe()
903 struct open_bucket *ob) in want_bucket()
933 struct open_bucket *ob; in bucket_alloc_set_writepoint()
971 struct open_bucket *ob = c->open_buckets + c->open_buckets_partial[i]; in bucket_alloc_set_partial()
1019 struct open_bucket *ob; in __open_bucket_add_buckets()
1121 static bool should_drop_bucket(struct open_bucket *ob, struct bch_fs *c, in should_drop_bucket()
1128 struct open_bucket *ob2; in should_drop_bucket()
1157 struct open_bucket *ob; in bch2_writepoint_stop()
1195 struct open_bucket *ob = in bch2_open_buckets_stop()
1270 struct open_bucket *ob; in try_decrease_writepoints()
1362 struct open_bucket *ob; in deallocate_extra_replicas()
1396 struct open_bucket *ob; in bch2_alloc_sectors_start_trans()
1520 struct bch_extent_ptr bch2_ob_ptr(struct bch_fs *c, struct open_bucket *ob) in bch2_ob_ptr()
1563 struct open_bucket *ob; in bch2_fs_allocator_foreground_init()
1596 void bch2_open_bucket_to_text(struct printbuf *out, struct bch_fs *c, struct open_bucket *ob) in bch2_open_bucket_to_text()
1619 struct open_bucket *ob; in bch2_open_buckets_to_text()
1660 struct open_bucket *ob; in bch2_write_point_to_text()