Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Dctree.c44 for (i = 0; i < BTRFS_MAX_LEVEL; i++) { in btrfs_set_path_blocking()
77 for (i = BTRFS_MAX_LEVEL - 1; i >= 0; i--) { in btrfs_clear_path_blocking()
110 for (i = 0; i < BTRFS_MAX_LEVEL; i++) { in btrfs_release_path()
1901 if (level < BTRFS_MAX_LEVEL - 1) { in balance_level()
2124 if (level < BTRFS_MAX_LEVEL - 1) { in push_nodes_for_insert()
2379 for (i = level; i < BTRFS_MAX_LEVEL; i++) { in unlock_up()
2429 for (i = level; i < BTRFS_MAX_LEVEL; i++) { in btrfs_unlock_up_safe()
2732 if (write_lock_level < BTRFS_MAX_LEVEL) { in btrfs_search_slot_get_root()
2831 write_lock_level = BTRFS_MAX_LEVEL; in btrfs_search_slot()
2851 bool last_level = (level == (BTRFS_MAX_LEVEL - 1)); in btrfs_search_slot()
[all …]
Drelocation.c92 struct backref_node *path[BTRFS_MAX_LEVEL];
98 struct list_head pending[BTRFS_MAX_LEVEL];
200 for (i = 0; i < BTRFS_MAX_LEVEL; i++) in backref_cache_init()
226 for (i = 0; i < BTRFS_MAX_LEVEL; i++) in backref_cache_cleanup()
503 for (level = 0; level < BTRFS_MAX_LEVEL; level++) { in update_backref_cache()
895 for (; level < BTRFS_MAX_LEVEL; level++) { in build_backref_tree()
1954 for (i = *level; i < BTRFS_MAX_LEVEL && path->nodes[i]; i++) { in walk_up_reloc_tree()
2105 while (level < BTRFS_MAX_LEVEL) { in find_next_key()
2175 min_reserved = fs_info->nodesize * (BTRFS_MAX_LEVEL - 1) * 2; in merge_reloc_root()
2289 rc->merging_rsv_size += fs_info->nodesize * (BTRFS_MAX_LEVEL - 1) * 2; in prepare_to_merge()
[all …]
Ddisk-io.c145 # if BTRFS_MAX_LEVEL != 8
152 char names[BTRFS_MAX_LEVEL + 1][20];
153 struct lock_class_key keys[BTRFS_MAX_LEVEL + 1];
626 if (found_level >= BTRFS_MAX_LEVEL) { in btree_readpage_end_io_hook()
2417 if (btrfs_super_root_level(sb) >= BTRFS_MAX_LEVEL) { in validate_super()
2419 btrfs_super_root_level(sb), BTRFS_MAX_LEVEL); in validate_super()
2422 if (btrfs_super_chunk_root_level(sb) >= BTRFS_MAX_LEVEL) { in validate_super()
2424 btrfs_super_chunk_root_level(sb), BTRFS_MAX_LEVEL); in validate_super()
2427 if (btrfs_super_log_root_level(sb) >= BTRFS_MAX_LEVEL) { in validate_super()
2429 btrfs_super_log_root_level(sb), BTRFS_MAX_LEVEL); in validate_super()
Dtree-checker.c989 if (level <= 0 || level >= BTRFS_MAX_LEVEL) { in btrfs_check_node()
992 level, BTRFS_MAX_LEVEL - 1); in btrfs_check_node()
Dctree.h55 #define BTRFS_MAX_LEVEL 8 macro
328 struct extent_buffer *nodes[BTRFS_MAX_LEVEL];
329 int slots[BTRFS_MAX_LEVEL];
331 u8 locks[BTRFS_MAX_LEVEL];
2611 return (u64)fs_info->nodesize * BTRFS_MAX_LEVEL * 2 * num_items; in btrfs_calc_trans_metadata_size()
2621 return (u64)fs_info->nodesize * BTRFS_MAX_LEVEL * num_items; in btrfs_calc_trunc_metadata_size()
Dcheck-integrity.c751 BTRFS_MAX_LEVEL + 3, 1); in btrfsic_process_superblock()
2319 if (recursion_level >= 3 + BTRFS_MAX_LEVEL) { in btrfsic_check_all_ref_blocks()
2423 if (recursion_level >= 3 + BTRFS_MAX_LEVEL) { in btrfsic_is_block_ref_by_superblock()
Dref-verify.c607 for (l = 0; l < BTRFS_MAX_LEVEL; l++) { in walk_up_tree()
Dtree-log.c2668 WARN_ON(*level >= BTRFS_MAX_LEVEL); in walk_down_log_tree()
2674 WARN_ON(*level >= BTRFS_MAX_LEVEL); in walk_down_log_tree()
2751 WARN_ON(*level >= BTRFS_MAX_LEVEL); in walk_down_log_tree()
2770 for (i = *level; i < BTRFS_MAX_LEVEL - 1 && path->nodes[i]; i++) { in walk_up_log_tree()
Dqgroup.c1749 BUG_ON(root_level < 0 || root_level >= BTRFS_MAX_LEVEL); in btrfs_qgroup_trace_subtree()
2687 for (i = 1; i < BTRFS_MAX_LEVEL && path->nodes[i]; i++) { in is_last_leaf()
Dextent-tree.c1441 for (; level < BTRFS_MAX_LEVEL; level++) { in find_next_key()
8345 u64 refs[BTRFS_MAX_LEVEL];
8346 u64 flags[BTRFS_MAX_LEVEL];
9011 ret = walk_up_tree(trans, root, path, wc, BTRFS_MAX_LEVEL); in btrfs_drop_snapshot()