Searched refs:BTRFS_NODEPTRS_PER_BLOCK (Results 1 – 6 of 6) sorted by relevance
959 BTRFS_NODEPTRS_PER_BLOCK(fs_info) / 4) in balance_level()1183 if (left_nr >= BTRFS_NODEPTRS_PER_BLOCK(fs_info) - 1) { in push_nodes_for_insert()1243 if (right_nr >= BTRFS_NODEPTRS_PER_BLOCK(fs_info) - 1) { in push_nodes_for_insert()1632 BTRFS_NODEPTRS_PER_BLOCK(fs_info) - 3) { in setup_nodes_for_search()1645 BTRFS_NODEPTRS_PER_BLOCK(fs_info) / 2) { in setup_nodes_for_search()2716 push_items = BTRFS_NODEPTRS_PER_BLOCK(fs_info) - dst_nritems; in push_node_left()2800 push_items = BTRFS_NODEPTRS_PER_BLOCK(fs_info) - dst_nritems; in balance_node_right()2943 BUG_ON(nritems == BTRFS_NODEPTRS_PER_BLOCK(trans->fs_info)); in insert_ptr()3017 BTRFS_NODEPTRS_PER_BLOCK(fs_info) - 3) in split_node()
994 BTRFS_NODEPTRS_PER_BLOCK(fs_info)); in btrfs_tree_mod_log_rewind()1102 WARN_ON(btrfs_header_nritems(eb) > BTRFS_NODEPTRS_PER_BLOCK(fs_info)); in btrfs_get_old_root()
498 static inline u32 BTRFS_NODEPTRS_PER_BLOCK(const struct btrfs_fs_info *info) in BTRFS_NODEPTRS_PER_BLOCK() function
605 nr, (u32)BTRFS_NODEPTRS_PER_BLOCK(fs_info) - nr, in btrfs_print_tree()
2446 if (unlikely(nr == 0 || nr > BTRFS_NODEPTRS_PER_BLOCK(fs_info))) { in __btrfs_check_node()2451 BTRFS_NODEPTRS_PER_BLOCK(fs_info)); in __btrfs_check_node()
5565 BTRFS_NODEPTRS_PER_BLOCK(fs_info)); in reada_walk_down()6368 wc->reada_count = BTRFS_NODEPTRS_PER_BLOCK(fs_info); in btrfs_drop_snapshot()6560 wc->reada_count = BTRFS_NODEPTRS_PER_BLOCK(fs_info); in btrfs_drop_subtree()