Searched refs:item_end (Results 1 – 4 of 4) sorted by relevance
467 u64 item_end = 0; in btrfs_truncate_inode_items() local538 item_end = found_key.offset; in btrfs_truncate_inode_items()544 item_end += in btrfs_truncate_inode_items()547 item_end += btrfs_file_extent_ram_bytes(leaf, fi); in btrfs_truncate_inode_items()552 item_end--; in btrfs_truncate_inode_items()557 if (item_end < new_size) in btrfs_truncate_inode_items()632 control->sub_bytes += item_end + 1 - new_size; in btrfs_truncate_inode_items()
298 u64 item_end; in read_key_bytes() local336 item_end = btrfs_item_size(leaf, path->slots[0]) + key.offset; in read_key_bytes()352 if (item_end <= offset) in read_key_bytes()358 copy_end = item_end; in read_key_bytes()360 copy_end = min(offset + len, item_end); in read_key_bytes()
993 struct btrfs_csum_item *item_end; in btrfs_csum_file_blocks() local1020 item_end = btrfs_item_ptr(leaf, path->slots[0], in btrfs_csum_file_blocks()1022 item_end = (struct btrfs_csum_item *)((char *)item_end + in btrfs_csum_file_blocks()1182 item_end = (struct btrfs_csum_item *)((unsigned char *)item + in btrfs_csum_file_blocks()1189 ins_size = min_t(u32, (unsigned long)item_end - (unsigned long)item, in btrfs_csum_file_blocks()
41 char *item_end; in xfs_buf_log_check_iovec() local46 item_end = (char *)iovec->i_addr + iovec->i_len; in xfs_buf_log_check_iovec()48 return bmp_end <= item_end; in xfs_buf_log_check_iovec()