Searched refs:btree (Results 1 – 14 of 14) sorted by relevance
/drivers/md/bcache/ |
D | btree.h | 117 struct btree { struct 127 struct btree *parent; argument 152 static inline bool btree_node_ ## flag(struct btree *b) \ argument 155 static inline void set_btree_node_ ## flag(struct btree *b) \ 170 static inline struct btree_write *btree_current_write(struct btree *b) in btree_current_write() 175 static inline struct btree_write *btree_prev_write(struct btree *b) in btree_prev_write() 180 static inline struct bset *btree_bset_first(struct btree *b) in btree_bset_first() 185 static inline struct bset *btree_bset_last(struct btree *b) in btree_bset_last() 190 static inline unsigned int bset_block_offset(struct btree *b, struct bset *i) in bset_block_offset() 248 static inline void rw_lock(bool w, struct btree *b, int level) in rw_lock() [all …]
|
D | btree.c | 107 static inline struct bset *write_block(struct btree *b) in write_block() 112 static void bch_btree_init_next(struct btree *b) in bch_btree_init_next() 139 static uint64_t btree_csum_set(struct btree *b, struct bset *i) in btree_csum_set() 148 void bch_btree_node_read_done(struct btree *b) in bch_btree_node_read_done() 243 static void bch_btree_node_read(struct btree *b) in bch_btree_node_read() 281 static void btree_complete_write(struct btree *b, struct btree_write *w) in btree_complete_write() 298 struct btree *b = container_of(cl, struct btree, io); in btree_node_write_unlock() 305 struct btree *b = container_of(cl, struct btree, io); in __btree_node_write_done() 320 struct btree *b = container_of(cl, struct btree, io); in btree_node_write_done() 329 struct btree *b = container_of(cl, struct btree, io); in btree_node_write_endio() [all …]
|
D | extents.c | 128 struct btree *b = container_of(keys, struct btree, keys); in bch_bkey_dump() 168 struct btree *b = container_of(bk, struct btree, keys); in bch_btree_ptr_invalid() 173 static bool btree_ptr_bad_expensive(struct btree *b, const struct bkey *k) in btree_ptr_bad_expensive() 207 struct btree *b = container_of(bk, struct btree, keys); in bch_btree_ptr_bad() 232 struct btree *b = container_of(bk, struct btree, keys); in bch_btree_ptr_insert_fixup() 328 struct cache_set *c = container_of(b, struct btree, keys)->c; in bch_extent_insert_fixup() 502 struct btree *b = container_of(bk, struct btree, keys); in bch_extent_invalid() 507 static bool bch_extent_bad_expensive(struct btree *b, const struct bkey *k, in bch_extent_bad_expensive() 539 struct btree *b = container_of(bk, struct btree, keys); in bch_extent_bad() 585 struct btree *b = container_of(bk, struct btree, keys); in bch_extent_merge()
|
D | debug.h | 11 void bch_btree_verify(struct btree *b); 20 static inline void bch_btree_verify(struct btree *b) {} in bch_btree_verify()
|
D | bcache.h | 222 struct btree; 277 int (*cache_miss)(struct btree *b, struct search *s, 662 struct btree *root; 665 struct btree *verify_data;
|
D | Makefile | 5 bcache-y := alloc.o bset.o btree.o closure.o debug.o extents.o\
|
D | debug.c | 31 void bch_btree_verify(struct btree *b) in bch_btree_verify() 33 struct btree *v = b->c->verify_data; in bch_btree_verify()
|
D | Kconfig | 8 a btree for indexing and the layout is optimized for SSDs.
|
D | sysfs.c | 601 static int bch_btree_bset_stats(struct btree_op *b_op, struct btree *b) in bch_btree_bset_stats() 641 struct btree *b; in bch_root_usage() 664 struct btree *b; in bch_cache_size()
|
D | writeback.c | 797 static int sectors_dirty_init_fn(struct btree_op *_op, struct btree *b, in sectors_dirty_init_fn() 924 struct btree *b = NULL; in bch_sectors_dirty_init()
|
D | request.c | 513 static int cache_lookup_fn(struct btree_op *op, struct btree *b, struct bkey *k) in cache_lookup_fn() 877 static int cached_dev_cache_miss(struct btree *b, struct search *s, in cached_dev_cache_miss() 1251 static int flash_dev_cache_miss(struct btree *b, struct search *s, in flash_dev_cache_miss()
|
D | journal.c | 419 struct btree *b, *t, *btree_nodes[BTREE_FLUSH_NR]; in btree_flush_write()
|
D | super.c | 1743 struct btree *b; in cache_set_flush()
|
/drivers/md/persistent-data/ |
D | Makefile | 11 dm-btree.o \ 12 dm-btree-remove.o \ 13 dm-btree-spine.o
|