Lines Matching refs:total_size
44 u32 total_data, u32 total_size, int nr);
3539 u32 total_size = 0;
3545 if (total_size + data_size[i] + sizeof(struct btrfs_item) >
3551 total_size += data_size[i] + sizeof(struct btrfs_item);
3555 ret = btrfs_search_slot(trans, root, cpu_key, path, total_size, 1);
3566 if (btrfs_leaf_free_space(root, leaf) < total_size) {
3569 total_size -= data_size[i] + sizeof(struct btrfs_item);
3570 if (total_size < btrfs_leaf_free_space(root, leaf))
3682 u32 total_data, u32 total_size, int nr)
3699 if (btrfs_leaf_free_space(root, leaf) < total_size) {
3702 total_size, btrfs_leaf_free_space(root, leaf));
3794 u32 total_size = 0;
3800 total_size = total_data + (nr * sizeof(struct btrfs_item));
3801 ret = btrfs_search_slot(trans, root, cpu_key, path, total_size, 1);
3812 total_data, total_size, nr);