Lines Matching defs:bc

49 	struct btree_cache *bc = container_of(list, struct btree_cache, live[list->idx]);  in btree_cache_can_free()  local
57 static void btree_node_to_freedlist(struct btree_cache *bc, struct btree *b) in btree_node_to_freedlist()
67 static void __bch2_btree_node_to_freelist(struct btree_cache *bc, struct btree *b) in __bch2_btree_node_to_freelist()
78 struct btree_cache *bc = &c->btree_cache; in bch2_btree_node_to_freelist() local
117 static void btree_node_data_free(struct btree_cache *bc, struct btree *b) in btree_node_data_free()
202 static inline bool __btree_node_pinned(struct btree_cache *bc, struct btree *b) in __btree_node_pinned()
215 struct btree_cache *bc = &c->btree_cache; in bch2_node_pin() local
229 struct btree_cache *bc = &c->btree_cache; in bch2_btree_cache_unpin() local
248 void __bch2_btree_node_hash_remove(struct btree_cache *bc, struct btree *b) in __bch2_btree_node_hash_remove()
264 void bch2_btree_node_hash_remove(struct btree_cache *bc, struct btree *b) in bch2_btree_node_hash_remove()
270 int __bch2_btree_node_hash_insert(struct btree_cache *bc, struct btree *b) in __bch2_btree_node_hash_insert()
292 int bch2_btree_node_hash_insert(struct btree_cache *bc, struct btree *b, in bch2_btree_node_hash_insert()
335 static inline struct btree *btree_cache_find(struct btree_cache *bc, in btree_cache_find()
346 struct btree_cache *bc = &c->btree_cache; in __btree_node_reclaim_checks() local
412 struct btree_cache *bc = &c->btree_cache; in __btree_node_reclaim() local
461 struct btree_cache *bc = container_of(list, struct btree_cache, live[list->idx]); in bch2_btree_cache_scan() local
577 struct btree_cache *bc = &c->btree_cache; in bch2_fs_btree_cache_exit() local
639 struct btree_cache *bc = &c->btree_cache; in bch2_fs_btree_cache_init() local
688 void bch2_fs_btree_cache_init_early(struct btree_cache *bc) in bch2_fs_btree_cache_init_early()
709 struct btree_cache *bc = &c->btree_cache; in bch2_btree_cache_cannibalize_unlock() local
721 struct btree_cache *bc = &c->btree_cache; in bch2_btree_cache_cannibalize_lock() local
753 struct btree_cache *bc = &c->btree_cache; in btree_node_cannibalize() local
779 struct btree_cache *bc = &c->btree_cache; in bch2_btree_node_mem_alloc() local
906 struct btree_cache *bc = &c->btree_cache; in bch2_btree_node_fill() local
1045 struct btree_cache *bc = &c->btree_cache; in __bch2_btree_node_get() local
1244 struct btree_cache *bc = &c->btree_cache; in bch2_btree_node_get_noiter() local
1327 struct btree_cache *bc = &c->btree_cache; in bch2_btree_node_prefetch() local
1349 struct btree_cache *bc = &c->btree_cache; in bch2_btree_node_evict() local
1486 void bch2_btree_cache_to_text(struct printbuf *out, const struct btree_cache *bc) in bch2_btree_cache_to_text()