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

/linux-master/drivers/md/bcache/
H A Dbtree.h25 * struct btree_op is a central interface to the btree code. It's used for
49 * time, so there's a lock, implemented by a pointer to the btree_op closure -
68 * though - but it takes a refcount on the closure in struct btree_op you passed
81 * This is specified with the lock field in struct btree_op; lock = 0 means we
212 struct btree_op { struct
241 static inline void bch_btree_op_init(struct btree_op *op, int write_lock_level)
243 memset(op, 0, sizeof(struct btree_op));
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 *o
[all...]
H A Djournal.h42 * entry that we're going to insert (held by struct btree_op), and then when we
172 struct btree_op;
H A Dbtree.c869 static int mca_cannibalize_lock(struct cache_set *c, struct btree_op *op)
886 static struct btree *mca_cannibalize(struct cache_set *c, struct btree_op *op,
924 static struct btree *mca_alloc(struct cache_set *c, struct btree_op *op,
1007 struct btree *bch_btree_node_get(struct cache_set *c, struct btree_op *op,
1121 struct btree *__bch_btree_node_alloc(struct cache_set *c, struct btree_op *op,
1165 struct btree_op *op, int level,
1172 struct btree_op *op)
1205 static int btree_check_reserve(struct btree *b, struct btree_op *op)
1356 static int bch_btree_insert_node(struct btree *b, struct btree_op *op,
1361 static int btree_gc_coalesce(struct btree *b, struct btree_op *o
[all...]
H A Dwriteback.c848 struct btree_op op;
853 static int sectors_dirty_init_fn(struct btree_op *_op, struct btree *b,
H A Dsysfs.c617 struct btree_op op;
622 static int bch_btree_bset_stats(struct btree_op *b_op, struct btree *b)
H A Drequest.c481 struct btree_op op;
513 static int cache_lookup_fn(struct btree_op *op, struct btree *b, struct bkey *k)

Completed in 131 milliseconds