Searched refs:BTRFS_LEAF_DATA_SIZE (Results 1 – 6 of 6) sorted by relevance
3618 ret = BTRFS_LEAF_DATA_SIZE(fs_info) - leaf_space_used(leaf, 0, nritems); in btrfs_leaf_free_space()3623 (unsigned long) BTRFS_LEAF_DATA_SIZE(fs_info), in btrfs_leaf_free_space()3708 BTRFS_LEAF_DATA_SIZE(fs_info) - data_end); in __push_leaf_right()3712 BTRFS_LEAF_DATA_SIZE(fs_info) - push_space, in __push_leaf_right()3729 push_space = BTRFS_LEAF_DATA_SIZE(fs_info); in __push_leaf_right()3923 push_space = BTRFS_LEAF_DATA_SIZE(fs_info) - in __push_leaf_left()3943 ioff - (BTRFS_LEAF_DATA_SIZE(fs_info) - old_left_item_size), in __push_leaf_left()3957 BTRFS_LEAF_DATA_SIZE(fs_info) - push_space, in __push_leaf_left()3970 push_space = BTRFS_LEAF_DATA_SIZE(fs_info); in __push_leaf_left()4107 BTRFS_LEAF_DATA_OFFSET + BTRFS_LEAF_DATA_SIZE(fs_info) - in copy_for_split()[all …]
1010 BTRFS_LEAF_DATA_SIZE(fs_info)); in check_extent_item()1379 item_end_expected = BTRFS_LEAF_DATA_SIZE(fs_info); in check_leaf()1397 BTRFS_LEAF_DATA_SIZE(fs_info)) { in check_leaf()1401 BTRFS_LEAF_DATA_SIZE(fs_info)); in check_leaf()
252 sizeof(struct btrfs_item) > BTRFS_LEAF_DATA_SIZE(root->fs_info)) { in btrfs_check_dir_item_collision()
367 #define BTRFS_MAX_EXTENT_ITEM_SIZE(r) ((BTRFS_LEAF_DATA_SIZE(r->fs_info) >> 4) - \1126 static inline u32 BTRFS_LEAF_DATA_SIZE(const struct btrfs_fs_info *info) in BTRFS_LEAF_DATA_SIZE() function1136 return BTRFS_LEAF_DATA_SIZE(info) - sizeof(struct btrfs_item); in BTRFS_MAX_ITEM_SIZE()1141 return BTRFS_LEAF_DATA_SIZE(info) / sizeof(struct btrfs_key_ptr); in BTRFS_NODEPTRS_PER_BLOCK()2177 return BTRFS_LEAF_DATA_SIZE(leaf->fs_info); in leaf_data_end()
19 #define __MAX_CSUM_ITEMS(r, size) ((unsigned long)(((BTRFS_LEAF_DATA_SIZE(r) - \
2129 return div_u64(num_bytes, BTRFS_LEAF_DATA_SIZE(fs_info)); in heads_to_leaves()