Lines Matching refs:BTRFS_MAX_LEVEL
103 for (i = 0; i < BTRFS_MAX_LEVEL; i++) { in btrfs_release_path()
905 if (level < BTRFS_MAX_LEVEL - 1) { in balance_level()
1129 if (level < BTRFS_MAX_LEVEL - 1) { in push_nodes_for_insert()
1373 for (i = level; i < BTRFS_MAX_LEVEL; i++) { in unlock_up()
1432 unlock_up = ((level + 1 < BTRFS_MAX_LEVEL) && p->locks[level + 1]); in read_block_for_search()
1655 if (write_lock_level < BTRFS_MAX_LEVEL) { in btrfs_search_slot_get_root()
1969 write_lock_level = BTRFS_MAX_LEVEL; in btrfs_search_slot()
1997 bool last_level = (level == (BTRFS_MAX_LEVEL - 1)); in btrfs_search_slot()
2013 level + 1 < BTRFS_MAX_LEVEL && in btrfs_search_slot()
2051 if (u < BTRFS_MAX_LEVEL && p->locks[u]) { in btrfs_search_slot()
2412 for (i = level; i < BTRFS_MAX_LEVEL; i++) { in fixup_low_keys()
4594 while (level < BTRFS_MAX_LEVEL) { in btrfs_find_next_key()
4605 if (level + 1 >= BTRFS_MAX_LEVEL || in btrfs_find_next_key()
4739 while (level < BTRFS_MAX_LEVEL) { in btrfs_next_old_leaf()
4749 if (level == BTRFS_MAX_LEVEL) { in btrfs_next_old_leaf()