Home
last modified time | relevance | path

Searched refs:BTRFS_LEAF_DATA_SIZE (Results 1 – 9 of 9) sorted by relevance

/linux-6.6.21/fs/btrfs/
Dctree.h450 static inline u32 BTRFS_LEAF_DATA_SIZE(const struct btrfs_fs_info *info) in BTRFS_LEAF_DATA_SIZE() function
457 return BTRFS_LEAF_DATA_SIZE(info) - sizeof(struct btrfs_item); in BTRFS_MAX_ITEM_SIZE()
462 return BTRFS_LEAF_DATA_SIZE(info) / sizeof(struct btrfs_key_ptr); in BTRFS_NODEPTRS_PER_BLOCK()
Dctree.c62 return BTRFS_LEAF_DATA_SIZE(leaf->fs_info); in leaf_data_end()
3218 ret = BTRFS_LEAF_DATA_SIZE(fs_info) - leaf_space_used(leaf, 0, nritems); in btrfs_leaf_free_space()
3223 (unsigned long) BTRFS_LEAF_DATA_SIZE(fs_info), in btrfs_leaf_free_space()
3305 BTRFS_LEAF_DATA_SIZE(fs_info) - data_end); in __push_leaf_right()
3308 copy_leaf_data(right, left, BTRFS_LEAF_DATA_SIZE(fs_info) - push_space, in __push_leaf_right()
3320 push_space = BTRFS_LEAF_DATA_SIZE(fs_info); in __push_leaf_right()
3506 push_space = BTRFS_LEAF_DATA_SIZE(fs_info) - in __push_leaf_left()
3521 ioff - (BTRFS_LEAF_DATA_SIZE(fs_info) - old_left_item_size)); in __push_leaf_left()
3534 BTRFS_LEAF_DATA_SIZE(fs_info) - push_space, in __push_leaf_left()
3544 push_space = BTRFS_LEAF_DATA_SIZE(fs_info); in __push_leaf_left()
[all …]
Dtree-checker.c969 BTRFS_LEAF_DATA_SIZE(leaf->fs_info)); in check_leaf_chunk_item()
1328 BTRFS_LEAF_DATA_SIZE(fs_info)); in check_extent_item()
1599 sizeof(*iref), BTRFS_LEAF_DATA_SIZE(leaf->fs_info)); in check_inode_ref()
1793 item_end_expected = BTRFS_LEAF_DATA_SIZE(fs_info); in __btrfs_check_leaf()
1809 if (unlikely(item_data_end > BTRFS_LEAF_DATA_SIZE(fs_info))) { in __btrfs_check_leaf()
1812 item_data_end, BTRFS_LEAF_DATA_SIZE(fs_info)); in __btrfs_check_leaf()
Ddir-item.c278 sizeof(struct btrfs_item) > BTRFS_LEAF_DATA_SIZE(root->fs_info)) { in btrfs_check_dir_item_collision()
Dfs.h858 #define BTRFS_MAX_EXTENT_ITEM_SIZE(r) ((BTRFS_LEAF_DATA_SIZE(r->fs_info) >> 4) - \
Ddelayed-inode.c656 const int max_size = BTRFS_LEAF_DATA_SIZE(fs_info); in btrfs_insert_delayed_item()
1463 const unsigned int leaf_data_size = BTRFS_LEAF_DATA_SIZE(fs_info); in btrfs_insert_delayed_dir_index()
Dfile-item.c25 #define __MAX_CSUM_ITEMS(r, size) ((unsigned long)(((BTRFS_LEAF_DATA_SIZE(r) - \
Dextent_io.c1660 end += BTRFS_LEAF_DATA_SIZE(eb->fs_info); in prepare_eb_write()
Dtree-log.c5985 const int leaf_data_size = BTRFS_LEAF_DATA_SIZE(trans->fs_info); in log_delayed_insertion_items()