Home
last modified time | relevance | path

Searched refs:open_bucket (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/fs/bcachefs/
Dalloc_foreground.h33 static inline struct bch_dev *ob_dev(struct bch_fs *c, struct open_bucket *ob) in ob_dev()
38 struct open_bucket *bch2_bucket_alloc(struct bch_fs *, struct bch_dev *,
43 struct open_bucket *ob) in ob_push()
56 static inline struct open_bucket *ec_open_bucket(struct bch_fs *c, in ec_open_bucket()
59 struct open_bucket *ob; in ec_open_bucket()
72 void __bch2_open_bucket_put(struct bch_fs *, struct open_bucket *);
74 static inline void bch2_open_bucket_put(struct bch_fs *c, struct open_bucket *ob) in bch2_open_bucket_put()
83 struct open_bucket *ob; in bch2_open_buckets_put()
94 struct open_bucket *ob; in bch2_alloc_sectors_done_inlined()
110 struct open_bucket *ob; in bch2_open_bucket_get()
[all …]
Dalloc_foreground.c78 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()
[all …]
Dalloc_types.h55 struct open_bucket { struct
Dec.h216 void bch2_ec_bucket_cancel(struct bch_fs *, struct open_bucket *);
Dec.c1427 struct open_bucket *ob) in zero_out_rest_of_ec_bucket()
1464 struct open_bucket *ob; in ec_stripe_create()
1625 void bch2_ec_bucket_cancel(struct bch_fs *c, struct open_bucket *ob) in bch2_ec_bucket_cancel()
1634 struct open_bucket *ob = ec_open_bucket(c, &wp->ptrs); in bch2_writepoint_ec_buf()
1895 struct open_bucket *ob; in new_stripe_alloc_buckets()
2311 struct open_bucket *ob; in __bch2_ec_stop()
Dbtree_types.h17 struct open_bucket;
Dbcachefs.h915 struct open_bucket open_buckets[OPEN_BUCKETS_COUNT];
Dbtree_update_interior.c353 struct open_bucket *ob; in __bch2_btree_node_alloc()
2664 struct open_bucket *ob; in bch2_btree_alloc_to_text()
Djournal.c931 struct open_bucket **ob = NULL; in __bch2_set_nr_journal_buckets()
Dalloc_background.c2472 struct open_bucket *ob; in bch2_dev_has_open_write_point()
/linux-6.12.1/drivers/md/bcache/
Dalloc.c556 struct open_bucket { struct
588 static struct open_bucket *pick_data_bucket(struct cache_set *c, in pick_data_bucket()
593 struct open_bucket *ret, *ret_task = NULL; in pick_data_bucket()
605 struct open_bucket, list); in pick_data_bucket()
636 struct open_bucket *b; in bch_alloc_sectors()
722 struct open_bucket *b; in bch_open_buckets_free()
726 struct open_bucket, list); in bch_open_buckets_free()
739 struct open_bucket *b = kzalloc(sizeof(*b), GFP_KERNEL); in bch_open_buckets_alloc()