Searched refs:item_end (Results 1 – 2 of 2) sorted by relevance
728 struct btrfs_csum_item *item_end; in btrfs_csum_file_blocks() local756 item_end = btrfs_item_ptr(leaf, path->slots[0], in btrfs_csum_file_blocks()758 item_end = (struct btrfs_csum_item *)((char *)item_end + in btrfs_csum_file_blocks()885 item_end = (struct btrfs_csum_item *)((unsigned char *)item + in btrfs_csum_file_blocks()893 ins_size = min_t(u32, (unsigned long)item_end - (unsigned long)item, in btrfs_csum_file_blocks()
4319 const u64 item_end, in truncate_inline_extent() argument4353 inode_sub_bytes(inode, item_end + 1 - new_size); in truncate_inline_extent()4382 u64 item_end = 0; in btrfs_truncate_inode_items() local4478 item_end = found_key.offset; in btrfs_truncate_inode_items()4484 item_end += in btrfs_truncate_inode_items()4487 item_end += btrfs_file_extent_inline_len(leaf, in btrfs_truncate_inode_items()4490 item_end--; in btrfs_truncate_inode_items()4495 if (item_end < new_size) { in btrfs_truncate_inode_items()4586 item_end, in btrfs_truncate_inode_items()4594 inode_sub_bytes(inode, item_end + 1 - new_size); in btrfs_truncate_inode_items()