Searched refs:BTREE_MAX_DEPTH (Results 1 – 14 of 14) sorted by relevance
/linux-6.12.1/fs/bcachefs/ |
D | btree_locking.h | 22 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()
|
D | recovery.c | 103 0, BTREE_MAX_DEPTH, POS_MIN, SPOS_MAX); in bch2_reconstruct_alloc() 105 0, BTREE_MAX_DEPTH, POS_MIN, SPOS_MAX); in bch2_reconstruct_alloc() 107 0, BTREE_MAX_DEPTH, POS_MIN, SPOS_MAX); in bch2_reconstruct_alloc() 109 0, BTREE_MAX_DEPTH, POS_MIN, SPOS_MAX); in bch2_reconstruct_alloc() 111 0, BTREE_MAX_DEPTH, POS_MIN, SPOS_MAX); in bch2_reconstruct_alloc() 143 BTREE_MAX_DEPTH, k->level, in bch2_journal_replay_accounting_key() 206 BTREE_MAX_DEPTH, k->level, in bch2_journal_replay_key() 216 BTREE_MAX_DEPTH, 0, iter_flags); in bch2_journal_replay_key()
|
D | btree_update_interior.h | 9 #define BTREE_UPDATE_NODES_MAX ((BTREE_MAX_DEPTH - 2) * 2 + GC_MERGE_NODES) 194 if (depth < BTREE_MAX_DEPTH) in btree_update_reserve_required()
|
D | btree_cache.c | 906 if (unlikely(level >= BTREE_MAX_DEPTH)) { in bch2_btree_node_fill() 908 level, BTREE_MAX_DEPTH); in bch2_btree_node_fill() 1049 EBUG_ON(level >= BTREE_MAX_DEPTH); in __bch2_btree_node_get() 1171 EBUG_ON(level >= BTREE_MAX_DEPTH); in bch2_btree_node_get() 1247 EBUG_ON(level >= BTREE_MAX_DEPTH); in bch2_btree_node_get_noiter() 1329 BUG_ON(level >= BTREE_MAX_DEPTH); in bch2_btree_node_prefetch()
|
D | btree_iter.c | 225 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()
|
D | btree_locking.c | 323 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()
|
D | bcachefs.h | 487 #define BTREE_RESERVE_MAX (BTREE_MAX_DEPTH + (BTREE_MAX_DEPTH - 1))
|
D | backpointers.c | 57 bkey_fsck_err_on(bp.v->level > BTREE_MAX_DEPTH, in bch2_backpointer_validate() 60 bp.v->level, BTREE_MAX_DEPTH); in bch2_backpointer_validate()
|
D | btree_types.h | 342 } l[BTREE_MAX_DEPTH];
|
D | btree_update_interior.c | 390 BUG_ON(level >= BTREE_MAX_DEPTH); in bch2_btree_node_alloc() 1182 level_end = BTREE_MAX_DEPTH; in bch2_btree_update_start() 2217 BTREE_MAX_DEPTH, a->level, 0); in async_btree_node_rewrite_trans() 2480 BTREE_MAX_DEPTH, b->c.level, in bch2_btree_node_update_key_get_iter()
|
D | btree_gc.c | 538 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()
|
D | btree_node_scan.c | 171 if (BTREE_NODE_LEVEL(bn) >= BTREE_MAX_DEPTH) in try_read_btree_node()
|
D | btree_iter.h | 57 return level < BTREE_MAX_DEPTH ? path->l[level].b : NULL; in btree_path_node()
|
D | bcachefs_format.h | 1370 #define BTREE_MAX_DEPTH 4U macro
|