Home
last modified time | relevance | path

Searched refs:BTRFS_MAX_LEVEL (Results 1 – 10 of 10) sorted by relevance

/fs/btrfs/
Dtree-checker.c896 if (btrfs_root_level(&ri) >= BTRFS_MAX_LEVEL) { in check_root_item()
899 btrfs_root_level(&ri), BTRFS_MAX_LEVEL - 1); in check_root_item()
902 if (ri.drop_level >= BTRFS_MAX_LEVEL) { in check_root_item()
905 ri.drop_level, BTRFS_MAX_LEVEL - 1); in check_root_item()
980 key->offset >= BTRFS_MAX_LEVEL) { in check_extent_item()
983 key->offset, BTRFS_MAX_LEVEL - 1); in check_extent_item()
1065 if (btrfs_tree_block_level(leaf, info) >= BTRFS_MAX_LEVEL) { in check_extent_item()
1069 BTRFS_MAX_LEVEL - 1); in check_extent_item()
1455 if (level <= 0 || level >= BTRFS_MAX_LEVEL) { in btrfs_check_node()
1458 level, BTRFS_MAX_LEVEL - 1); in btrfs_check_node()
Dctree.c66 for (i = 0; i < BTRFS_MAX_LEVEL; i++) { in btrfs_set_path_blocking()
103 for (i = 0; i < BTRFS_MAX_LEVEL; i++) { in btrfs_release_path()
1871 if (level < BTRFS_MAX_LEVEL - 1) { in balance_level()
2094 if (level < BTRFS_MAX_LEVEL - 1) { in push_nodes_for_insert()
2347 for (i = level; i < BTRFS_MAX_LEVEL; i++) { in unlock_up()
2397 for (i = level; i < BTRFS_MAX_LEVEL; i++) { in btrfs_unlock_up_safe()
2677 if (write_lock_level < BTRFS_MAX_LEVEL) { in btrfs_search_slot_get_root()
2775 write_lock_level = BTRFS_MAX_LEVEL; in btrfs_search_slot()
2795 bool last_level = (level == (BTRFS_MAX_LEVEL - 1)); in btrfs_search_slot()
2813 level + 1 < BTRFS_MAX_LEVEL && in btrfs_search_slot()
[all …]
Drelocation.c94 struct backref_node *path[BTRFS_MAX_LEVEL];
100 struct list_head pending[BTRFS_MAX_LEVEL];
204 for (i = 0; i < BTRFS_MAX_LEVEL; i++) in backref_cache_init()
230 for (i = 0; i < BTRFS_MAX_LEVEL; i++) in backref_cache_cleanup()
507 for (level = 0; level < BTRFS_MAX_LEVEL; level++) { in update_backref_cache()
940 for (; level < BTRFS_MAX_LEVEL; level++) { in build_backref_tree()
2028 for (i = *level; i < BTRFS_MAX_LEVEL && path->nodes[i]; i++) { in walk_up_reloc_tree()
2179 while (level < BTRFS_MAX_LEVEL) { in find_next_key()
2313 min_reserved = fs_info->nodesize * (BTRFS_MAX_LEVEL - 1) * 2; in merge_reloc_root()
2422 rc->merging_rsv_size += fs_info->nodesize * (BTRFS_MAX_LEVEL - 1) * 2; in prepare_to_merge()
[all …]
Ddisk-io.c143 # if BTRFS_MAX_LEVEL != 8
150 char names[BTRFS_MAX_LEVEL + 1][20];
151 struct lock_class_key keys[BTRFS_MAX_LEVEL + 1];
637 if (found_level >= BTRFS_MAX_LEVEL) { in btree_readpage_end_io_hook()
2400 if (btrfs_super_root_level(sb) >= BTRFS_MAX_LEVEL) { in validate_super()
2402 btrfs_super_root_level(sb), BTRFS_MAX_LEVEL); in validate_super()
2405 if (btrfs_super_chunk_root_level(sb) >= BTRFS_MAX_LEVEL) { in validate_super()
2407 btrfs_super_chunk_root_level(sb), BTRFS_MAX_LEVEL); in validate_super()
2410 if (btrfs_super_log_root_level(sb) >= BTRFS_MAX_LEVEL) { in validate_super()
2412 btrfs_super_log_root_level(sb), BTRFS_MAX_LEVEL); in validate_super()
Dctree.h63 #define BTRFS_MAX_LEVEL 8 macro
347 struct extent_buffer *nodes[BTRFS_MAX_LEVEL];
348 int slots[BTRFS_MAX_LEVEL];
350 u8 locks[BTRFS_MAX_LEVEL];
955 struct rb_root blocks[BTRFS_MAX_LEVEL];
2385 return (u64)fs_info->nodesize * BTRFS_MAX_LEVEL * 2 * num_items; in btrfs_calc_insert_metadata_size()
2395 return (u64)fs_info->nodesize * BTRFS_MAX_LEVEL * num_items; in btrfs_calc_metadata_size()
Dqgroup.c1936 if (cur_level < 0 || cur_level >= BTRFS_MAX_LEVEL - 1 || in qgroup_trace_new_subtree_blocks()
1937 root_level < 0 || root_level >= BTRFS_MAX_LEVEL - 1 || in qgroup_trace_new_subtree_blocks()
2099 BUG_ON(root_level < 0 || root_level >= BTRFS_MAX_LEVEL); in btrfs_qgroup_trace_subtree()
3037 for (i = 1; i < BTRFS_MAX_LEVEL && path->nodes[i]; i++) { in is_last_leaf()
3784 for (i = 0; i < BTRFS_MAX_LEVEL; i++) in btrfs_qgroup_init_swapped_blocks()
3805 for (i = 0; i < BTRFS_MAX_LEVEL; i++) { in btrfs_qgroup_clean_swapped_blocks()
3984 for (i = 0; i < BTRFS_MAX_LEVEL; i++) { in btrfs_qgroup_trace_subtree_after_cow()
Dcheck-integrity.c752 BTRFS_MAX_LEVEL + 3, 1); in btrfsic_process_superblock()
2324 if (recursion_level >= 3 + BTRFS_MAX_LEVEL) { in btrfsic_check_all_ref_blocks()
2428 if (recursion_level >= 3 + BTRFS_MAX_LEVEL) { in btrfsic_is_block_ref_by_superblock()
Dref-verify.c595 for (l = 0; l < BTRFS_MAX_LEVEL; l++) { in walk_up_tree()
Dextent-tree.c787 for (; level < BTRFS_MAX_LEVEL; level++) { in find_next_key()
4575 u64 refs[BTRFS_MAX_LEVEL];
4576 u64 flags[BTRFS_MAX_LEVEL];
5316 ret = walk_up_tree(trans, root, path, wc, BTRFS_MAX_LEVEL); in btrfs_drop_snapshot()
Dtree-log.c2696 WARN_ON(*level >= BTRFS_MAX_LEVEL); in walk_down_log_tree()
2702 WARN_ON(*level >= BTRFS_MAX_LEVEL); in walk_down_log_tree()
2779 WARN_ON(*level >= BTRFS_MAX_LEVEL); in walk_down_log_tree()
2798 for (i = *level; i < BTRFS_MAX_LEVEL - 1 && path->nodes[i]; i++) { in walk_up_log_tree()