Home
last modified time | relevance | path

Searched refs:item_end (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/btrfs/
Dinode-item.c467 u64 item_end = 0; in btrfs_truncate_inode_items() local
538 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()
Dverity.c298 u64 item_end; in read_key_bytes() local
336 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()
Dfile-item.c993 struct btrfs_csum_item *item_end; in btrfs_csum_file_blocks() local
1020 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()
/linux-6.1.9/fs/xfs/
Dxfs_buf_item.c41 char *item_end; in xfs_buf_log_check_iovec() local
46 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()