Home
last modified time | relevance | path

Searched refs:btree_op (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.4/drivers/md/bcache/
Dbtree.h211 struct btree_op { struct
221 static inline void bch_btree_op_init(struct btree_op *op, int write_lock_level) in bch_btree_op_init() argument
223 memset(op, 0, sizeof(struct btree_op)); in bch_btree_op_init()
248 struct btree *__bch_btree_node_alloc(struct cache_set *c, struct btree_op *op,
251 struct btree *bch_btree_node_get(struct cache_set *c, struct btree_op *op,
255 int bch_btree_insert_check_key(struct btree *b, struct btree_op *op,
297 typedef int (btree_map_nodes_fn)(struct btree_op *b_op, struct btree *b);
298 int __bch_btree_map_nodes(struct btree_op *op, struct cache_set *c,
301 static inline int bch_btree_map_nodes(struct btree_op *op, struct cache_set *c, in bch_btree_map_nodes()
307 static inline int bch_btree_map_leaf_nodes(struct btree_op *op, in bch_btree_map_leaf_nodes()
[all …]
Dbtree.c885 static int mca_cannibalize_lock(struct cache_set *c, struct btree_op *op) in mca_cannibalize_lock()
900 static struct btree *mca_cannibalize(struct cache_set *c, struct btree_op *op, in mca_cannibalize()
936 static struct btree *mca_alloc(struct cache_set *c, struct btree_op *op, in mca_alloc()
1016 struct btree *bch_btree_node_get(struct cache_set *c, struct btree_op *op, in bch_btree_node_get()
1127 struct btree *__bch_btree_node_alloc(struct cache_set *c, struct btree_op *op, in __bch_btree_node_alloc()
1170 struct btree_op *op, int level, in bch_btree_node_alloc()
1177 struct btree_op *op) in btree_node_alloc_replacement()
1210 static int btree_check_reserve(struct btree *b, struct btree_op *op) in btree_check_reserve()
1362 static int bch_btree_insert_node(struct btree *b, struct btree_op *op,
1367 static int btree_gc_coalesce(struct btree *b, struct btree_op *op, in btree_gc_coalesce()
[all …]
Djournal.h171 struct btree_op;
Dwriteback.c756 struct btree_op op;
762 static int sectors_dirty_init_fn(struct btree_op *_op, struct btree *b, in sectors_dirty_init_fn()
Dsysfs.c569 struct btree_op op;
574 static int bch_btree_bset_stats(struct btree_op *b_op, struct btree *b) in bch_btree_bset_stats()
Drequest.c485 struct btree_op op;
517 static int cache_lookup_fn(struct btree_op *op, struct btree *b, struct bkey *k) in cache_lookup_fn()