Lines Matching refs:BTRFS_MAX_LEVEL
44 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()
1829 if (level < BTRFS_MAX_LEVEL - 1) { in balance_level()
2052 if (level < BTRFS_MAX_LEVEL - 1) { in push_nodes_for_insert()
2307 for (i = level; i < BTRFS_MAX_LEVEL; i++) { in unlock_up()
2357 for (i = level; i < BTRFS_MAX_LEVEL; i++) { in btrfs_unlock_up_safe()
2637 if (write_lock_level < BTRFS_MAX_LEVEL) { in btrfs_search_slot_get_root()
2736 write_lock_level = BTRFS_MAX_LEVEL; in btrfs_search_slot()
2752 bool last_level = (level == (BTRFS_MAX_LEVEL - 1)); in btrfs_search_slot()
2770 level + 1 < BTRFS_MAX_LEVEL && in btrfs_search_slot()
2808 if (u < BTRFS_MAX_LEVEL && p->locks[u]) { in btrfs_search_slot()
3134 for (i = level; i < BTRFS_MAX_LEVEL; i++) { in fixup_low_keys()
5598 while (level < BTRFS_MAX_LEVEL) { in btrfs_find_next_key()
5609 if (level + 1 >= BTRFS_MAX_LEVEL || in btrfs_find_next_key()
5734 while (level < BTRFS_MAX_LEVEL) { in btrfs_next_old_leaf()
5744 if (level == BTRFS_MAX_LEVEL) { in btrfs_next_old_leaf()