Searched refs:BTRFS_LEAF_DATA_SIZE (Results 1 – 7 of 7) sorted by relevance
2913 ret = BTRFS_LEAF_DATA_SIZE(fs_info) - leaf_space_used(leaf, 0, nritems); in btrfs_leaf_free_space()2918 (unsigned long) BTRFS_LEAF_DATA_SIZE(fs_info), in btrfs_leaf_free_space()3001 BTRFS_LEAF_DATA_SIZE(fs_info) - data_end); in __push_leaf_right()3005 BTRFS_LEAF_DATA_SIZE(fs_info) - push_space, in __push_leaf_right()3022 push_space = BTRFS_LEAF_DATA_SIZE(fs_info); in __push_leaf_right()3213 push_space = BTRFS_LEAF_DATA_SIZE(fs_info) - in __push_leaf_left()3231 ioff - (BTRFS_LEAF_DATA_SIZE(fs_info) - old_left_item_size)); in __push_leaf_left()3244 BTRFS_LEAF_DATA_SIZE(fs_info) - push_space, in __push_leaf_left()3257 push_space = BTRFS_LEAF_DATA_SIZE(fs_info); in __push_leaf_left()3388 BTRFS_LEAF_DATA_OFFSET + BTRFS_LEAF_DATA_SIZE(fs_info) - in copy_for_split()[all …]
937 BTRFS_LEAF_DATA_SIZE(leaf->fs_info)); in check_leaf_chunk_item()1296 BTRFS_LEAF_DATA_SIZE(fs_info)); in check_extent_item()1567 sizeof(*iref), BTRFS_LEAF_DATA_SIZE(leaf->fs_info)); in check_inode_ref()1758 item_end_expected = BTRFS_LEAF_DATA_SIZE(fs_info); in check_leaf()1774 if (unlikely(item_data_end > BTRFS_LEAF_DATA_SIZE(fs_info))) { in check_leaf()1777 item_data_end, BTRFS_LEAF_DATA_SIZE(fs_info)); in check_leaf()
273 sizeof(struct btrfs_item) > BTRFS_LEAF_DATA_SIZE(root->fs_info)) { in btrfs_check_dir_item_collision()
1132 #define BTRFS_MAX_EXTENT_ITEM_SIZE(r) ((BTRFS_LEAF_DATA_SIZE(r->fs_info) >> 4) - \1560 static inline u32 BTRFS_LEAF_DATA_SIZE(const struct btrfs_fs_info *info) in BTRFS_LEAF_DATA_SIZE() function1570 return BTRFS_LEAF_DATA_SIZE(info) - sizeof(struct btrfs_item); in BTRFS_MAX_ITEM_SIZE()1575 return BTRFS_LEAF_DATA_SIZE(info) / sizeof(struct btrfs_key_ptr); in BTRFS_NODEPTRS_PER_BLOCK()2666 return BTRFS_LEAF_DATA_SIZE(leaf->fs_info); in leaf_data_end()
647 const int max_size = BTRFS_LEAF_DATA_SIZE(fs_info); in btrfs_insert_delayed_item()1419 const unsigned int leaf_data_size = BTRFS_LEAF_DATA_SIZE(fs_info); in btrfs_insert_delayed_dir_index()
20 #define __MAX_CSUM_ITEMS(r, size) ((unsigned long)(((BTRFS_LEAF_DATA_SIZE(r) - \
6023 const int leaf_data_size = BTRFS_LEAF_DATA_SIZE(trans->fs_info); in log_delayed_insertion_items()