Lines Matching refs:btrfs_item
777 item_size = sizeof(struct btrfs_item); in generic_bin_search()
1867 ASSERT(ins_len >= sizeof(struct btrfs_item)); in search_leaf()
1868 ins_len -= sizeof(struct btrfs_item); in search_leaf()
2897 data_len += sizeof(struct btrfs_item) * nr; in leaf_space_used()
2974 if (this_item_size + sizeof(struct btrfs_item) + in __push_leaf_right()
2979 push_space += this_item_size + sizeof(struct btrfs_item); in __push_leaf_right()
3011 right_nritems * sizeof(struct btrfs_item)); in __push_leaf_right()
3016 push_items * sizeof(struct btrfs_item)); in __push_leaf_right()
3193 if (this_item_size + sizeof(struct btrfs_item) + push_space > in __push_leaf_left()
3198 push_space += this_item_size + sizeof(struct btrfs_item); in __push_leaf_left()
3211 push_items * sizeof(struct btrfs_item)); in __push_leaf_left()
3251 sizeof(struct btrfs_item)); in __push_leaf_left()
3385 nritems * sizeof(struct btrfs_item)); in copy_for_split()
3516 sizeof(struct btrfs_item) > BTRFS_LEAF_DATA_SIZE(fs_info)) in split_leaf()
3743 BUG_ON(btrfs_leaf_free_space(leaf) < sizeof(struct btrfs_item)); in split_item()
3762 (nritems - slot) * sizeof(struct btrfs_item)); in split_item()
3816 sizeof(struct btrfs_item)); in btrfs_split_item()
4020 total_size = batch->total_data_size + (batch->nr * sizeof(struct btrfs_item)); in setup_items_for_insert()
4054 (nritems - slot) * sizeof(struct btrfs_item)); in setup_items_for_insert()
4118 total_size = batch->total_data_size + (batch->nr * sizeof(struct btrfs_item)); in btrfs_insert_empty_items()
4179 item_size + sizeof(struct btrfs_item)); in btrfs_duplicate_item()
4310 sizeof(struct btrfs_item) * in btrfs_del_items()
4354 min_push_space = sizeof(struct btrfs_item) + in btrfs_del_items()