Searched refs:item_end (Results 1 – 4 of 4) sorted by relevance
298 u64 item_end; in read_key_bytes() local336 item_end = btrfs_item_size_nr(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()
979 struct btrfs_csum_item *item_end; in btrfs_csum_file_blocks() local1006 item_end = btrfs_item_ptr(leaf, path->slots[0], in btrfs_csum_file_blocks()1008 item_end = (struct btrfs_csum_item *)((char *)item_end + in btrfs_csum_file_blocks()1168 item_end = (struct btrfs_csum_item *)((unsigned char *)item + in btrfs_csum_file_blocks()1175 ins_size = min_t(u32, (unsigned long)item_end - (unsigned long)item, in btrfs_csum_file_blocks()
4731 u64 item_end = 0; in btrfs_truncate_inode_items() local4830 item_end = found_key.offset; in btrfs_truncate_inode_items()4836 item_end += in btrfs_truncate_inode_items()4842 item_end += btrfs_file_extent_ram_bytes(leaf, in btrfs_truncate_inode_items()4849 item_end--; in btrfs_truncate_inode_items()4854 if (item_end < new_size) in btrfs_truncate_inode_items()4941 item_end + 1 - new_size); in btrfs_truncate_inode_items()
40 char *item_end; in xfs_buf_log_check_iovec() local45 item_end = (char *)iovec->i_addr + iovec->i_len; in xfs_buf_log_check_iovec()47 return bmp_end <= item_end; in xfs_buf_log_check_iovec()