Home
last modified time | relevance | path

Searched refs:BTREE_MAX_DEPTH (Results 1 – 9 of 9) sorted by relevance

/linux/fs/bcachefs/
H A Dbtree_locking.h22 return l < BTREE_MAX_DEPTH && !IS_ERR_OR_NULL(path->l[l].b); in is_btree_node()
132 EBUG_ON(level >= BTREE_MAX_DEPTH); in btree_node_unlock()
284 EBUG_ON(level >= BTREE_MAX_DEPTH); in btree_node_lock()
391 new_locks_want = min(new_locks_want, BTREE_MAX_DEPTH); in bch2_btree_path_upgrade()
H A Dbtree_update_interior.h9 #define BTREE_UPDATE_NODES_MAX ((BTREE_MAX_DEPTH - 2) * 2 + GC_MERGE_NODES)
194 if (depth < BTREE_MAX_DEPTH) in btree_update_reserve_required()
H A Dbtree_iter.c225 for (unsigned i = 0; i < (!path->cached ? BTREE_MAX_DEPTH : 1); i++) { in bch2_btree_path_verify()
742 for (i = path->level; i < BTREE_MAX_DEPTH; i++) in btree_path_lock_root()
764 for (i = path->level + 1; i < BTREE_MAX_DEPTH; i++) in btree_path_lock_root()
1082 for (l = path->level + 1; l < BTREE_MAX_DEPTH; l++) in btree_path_set_level_down()
1165 if (unlikely(path->level >= BTREE_MAX_DEPTH)) in bch2_btree_path_traverse_one()
1231 for (i = 0; i < BTREE_MAX_DEPTH; i++) { in btree_path_copy()
1537 for (unsigned l = 0; l < BTREE_MAX_DEPTH; l++) { in bch2_btree_path_to_text()
1783 locks_want = min(locks_want, BTREE_MAX_DEPTH); in bch2_path_get()
2928 BUG_ON(path->locks_want < min(locks_want, BTREE_MAX_DEPTH)); in bch2_trans_node_iter_init()
3389 for (l = 0; l < BTREE_MAX_DEPTH; l++) { in bch2_btree_trans_to_text()
H A Dbtree_locking.c323 top->level < BTREE_MAX_DEPTH; in bch2_check_for_deadlock()
849 for (unsigned l = 0; l < BTREE_MAX_DEPTH; l++) { in bch2_btree_path_verify_locks()
H A Dbcachefs.h487 #define BTREE_RESERVE_MAX (BTREE_MAX_DEPTH + (BTREE_MAX_DEPTH - 1))
H A Dbtree_types.h342 } l[BTREE_MAX_DEPTH];
H A Dbtree_gc.c538 bch2_shoot_down_journal_keys(c, i, 1, BTREE_MAX_DEPTH, POS_MIN, SPOS_MAX); in bch2_check_topology()
664 for (unsigned level = target_depth; level < BTREE_MAX_DEPTH; level++) { in bch2_gc_btree()
H A Dbtree_iter.h57 return level < BTREE_MAX_DEPTH ? path->l[level].b : NULL; in btree_path_node()
H A Dbcachefs_format.h1370 #define BTREE_MAX_DEPTH 4U macro