Home
last modified time | relevance | path

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

/linux/drivers/md/bcache/
H A Dbtree.h212 struct btree_op { struct
241 static inline void bch_btree_op_init(struct btree_op *op, int write_lock_level) in bch_btree_op_init() argument
243 memset(op, 0, sizeof(struct btree_op)); in bch_btree_op_init()
268 struct btree *__bch_btree_node_alloc(struct cache_set *c, struct btree_op *op,
271 struct btree *bch_btree_node_get(struct cache_set *c, struct btree_op *op,
275 int bch_btree_insert_check_key(struct btree *b, struct btree_op *op,
377 typedef int (btree_map_nodes_fn)(struct btree_op *b_op, struct btree *b);
378 int __bch_btree_map_nodes(struct btree_op *op, struct cache_set *c,
381 static inline int bch_btree_map_nodes(struct btree_op *op, struct cache_set *c, in bch_btree_map_nodes()
387 static inline int bch_btree_map_leaf_nodes(struct btree_op *op, in bch_btree_map_leaf_nodes()
[all …]
H A Drequest.c495 struct btree_op op;
527 static int cache_lookup_fn(struct btree_op *op, struct btree *b, struct bkey *k) in cache_lookup_fn()