Lines Matching refs:BTRFS_MAX_LEVEL
215 for (i = 0; i < BTRFS_MAX_LEVEL; i++) { in btrfs_release_path()
1065 if (level < BTRFS_MAX_LEVEL - 1) { in balance_level()
1319 if (level < BTRFS_MAX_LEVEL - 1) { in push_nodes_for_insert()
1574 for (i = level; i < BTRFS_MAX_LEVEL; i++) { in unlock_up()
1633 unlock_up = ((level + 1 < BTRFS_MAX_LEVEL) && p->locks[level + 1]); in read_block_for_search()
1859 if (write_lock_level < BTRFS_MAX_LEVEL) { in btrfs_search_slot_get_root()
2175 write_lock_level = BTRFS_MAX_LEVEL; in btrfs_search_slot()
2203 bool last_level = (level == (BTRFS_MAX_LEVEL - 1)); in btrfs_search_slot()
2219 level + 1 < BTRFS_MAX_LEVEL && in btrfs_search_slot()
2257 if (u < BTRFS_MAX_LEVEL && p->locks[u]) { in btrfs_search_slot()
2689 for (i = level; i < BTRFS_MAX_LEVEL; i++) { in fixup_low_keys()
4860 while (level < BTRFS_MAX_LEVEL) { in btrfs_find_next_key()
4871 if (level + 1 >= BTRFS_MAX_LEVEL || in btrfs_find_next_key()
5005 while (level < BTRFS_MAX_LEVEL) { in btrfs_next_old_leaf()
5015 if (level == BTRFS_MAX_LEVEL) { in btrfs_next_old_leaf()