Searched refs:BTRFS_LEAF_DATA_SIZE (Results 1 – 6 of 6) sorted by relevance
2738 ret = BTRFS_LEAF_DATA_SIZE(fs_info) - leaf_space_used(leaf, 0, nritems); in btrfs_leaf_free_space()2743 (unsigned long) BTRFS_LEAF_DATA_SIZE(fs_info), in btrfs_leaf_free_space()2828 BTRFS_LEAF_DATA_SIZE(fs_info) - data_end); in __push_leaf_right()2832 BTRFS_LEAF_DATA_SIZE(fs_info) - push_space, in __push_leaf_right()2849 push_space = BTRFS_LEAF_DATA_SIZE(fs_info); in __push_leaf_right()3049 push_space = BTRFS_LEAF_DATA_SIZE(fs_info) - in __push_leaf_left()3069 ioff - (BTRFS_LEAF_DATA_SIZE(fs_info) - old_left_item_size)); in __push_leaf_left()3082 BTRFS_LEAF_DATA_SIZE(fs_info) - push_space, in __push_leaf_left()3095 push_space = BTRFS_LEAF_DATA_SIZE(fs_info); in __push_leaf_left()3236 BTRFS_LEAF_DATA_OFFSET + BTRFS_LEAF_DATA_SIZE(fs_info) - in copy_for_split()[all …]
934 BTRFS_LEAF_DATA_SIZE(leaf->fs_info)); in check_leaf_chunk_item()1293 BTRFS_LEAF_DATA_SIZE(fs_info)); in check_extent_item()1564 sizeof(*iref), BTRFS_LEAF_DATA_SIZE(leaf->fs_info)); in check_inode_ref()1740 item_end_expected = BTRFS_LEAF_DATA_SIZE(fs_info); in check_leaf()1758 BTRFS_LEAF_DATA_SIZE(fs_info))) { in check_leaf()1762 BTRFS_LEAF_DATA_SIZE(fs_info)); in check_leaf()
275 sizeof(struct btrfs_item) > BTRFS_LEAF_DATA_SIZE(root->fs_info)) { in btrfs_check_dir_item_collision()
417 #define BTRFS_MAX_EXTENT_ITEM_SIZE(r) ((BTRFS_LEAF_DATA_SIZE(r->fs_info) >> 4) - \1389 static inline u32 BTRFS_LEAF_DATA_SIZE(const struct btrfs_fs_info *info) in BTRFS_LEAF_DATA_SIZE() function1399 return BTRFS_LEAF_DATA_SIZE(info) - sizeof(struct btrfs_item); in BTRFS_MAX_ITEM_SIZE()1404 return BTRFS_LEAF_DATA_SIZE(info) / sizeof(struct btrfs_key_ptr); in BTRFS_NODEPTRS_PER_BLOCK()2486 return BTRFS_LEAF_DATA_SIZE(leaf->fs_info); in leaf_data_end()
20 #define __MAX_CSUM_ITEMS(r, size) ((unsigned long)(((BTRFS_LEAF_DATA_SIZE(r) - \
685 const int max_size = BTRFS_LEAF_DATA_SIZE(root->fs_info); in btrfs_insert_delayed_item()