Searched refs:BTRFS_LEAF_DATA_SIZE (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/fs/btrfs/ |
D | ctree.h | 450 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()
|
D | ctree.c | 62 return BTRFS_LEAF_DATA_SIZE(leaf->fs_info); in leaf_data_end() 3216 ret = BTRFS_LEAF_DATA_SIZE(fs_info) - leaf_space_used(leaf, 0, nritems); in btrfs_leaf_free_space() 3221 (unsigned long) BTRFS_LEAF_DATA_SIZE(fs_info), in btrfs_leaf_free_space() 3303 BTRFS_LEAF_DATA_SIZE(fs_info) - data_end); in __push_leaf_right() 3306 copy_leaf_data(right, left, BTRFS_LEAF_DATA_SIZE(fs_info) - push_space, in __push_leaf_right() 3318 push_space = BTRFS_LEAF_DATA_SIZE(fs_info); in __push_leaf_right() 3504 push_space = BTRFS_LEAF_DATA_SIZE(fs_info) - in __push_leaf_left() 3519 ioff - (BTRFS_LEAF_DATA_SIZE(fs_info) - old_left_item_size)); in __push_leaf_left() 3532 BTRFS_LEAF_DATA_SIZE(fs_info) - push_space, in __push_leaf_left() 3542 push_space = BTRFS_LEAF_DATA_SIZE(fs_info); in __push_leaf_left() [all …]
|
D | tree-checker.c | 969 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()
|
D | dir-item.c | 278 sizeof(struct btrfs_item) > BTRFS_LEAF_DATA_SIZE(root->fs_info)) { in btrfs_check_dir_item_collision()
|
D | fs.h | 858 #define BTRFS_MAX_EXTENT_ITEM_SIZE(r) ((BTRFS_LEAF_DATA_SIZE(r->fs_info) >> 4) - \
|
D | delayed-inode.c | 656 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()
|
D | file-item.c | 25 #define __MAX_CSUM_ITEMS(r, size) ((unsigned long)(((BTRFS_LEAF_DATA_SIZE(r) - \
|
D | extent_io.c | 1655 end += BTRFS_LEAF_DATA_SIZE(eb->fs_info); in prepare_eb_write()
|
D | tree-log.c | 5985 const int leaf_data_size = BTRFS_LEAF_DATA_SIZE(trans->fs_info); in log_delayed_insertion_items()
|