Lines Matching defs:btree
73 struct btree *b = bch2_btree_node_get_noiter(trans, &k.k, f->btree_id, f->level, false);
101 * Given two found btree nodes, if their sequence numbers are equal, take the
313 prt_str(&buf, "overlapping btree nodes with same seq! halting\n ");
343 bch_err(c, "%s: no btree nodes found", __func__);
364 bch_err(c, "%s: found too many replicas for btree node", __func__);
431 bool bch2_btree_node_is_stale(struct bch_fs *c, struct btree *b)
448 bool bch2_btree_has_scanned_nodes(struct bch_fs *c, enum btree_id btree)
451 .btree_id = btree,
462 int bch2_get_scanned_nodes(struct bch_fs *c, enum btree_id btree,
465 if (btree_id_is_alloc(btree))
477 prt_printf(&buf, "recovering %s l=%u ", bch2_btree_id_str(btree), level);
487 .btree_id = btree,
513 ret = bch2_journal_key_insert(c, btree, level + 1, &tmp.k);