Lines Matching refs:end_byte
823 u64 end_byte = bytenr + len; in truncate_one_csum() local
831 if (key->offset < bytenr && csum_end <= end_byte) { in truncate_one_csum()
841 } else if (key->offset >= bytenr && csum_end > end_byte && in truncate_one_csum()
842 end_byte > key->offset) { in truncate_one_csum()
849 u32 new_size = (csum_end - end_byte) >> blocksize_bits; in truncate_one_csum()
854 key->offset = end_byte; in truncate_one_csum()
870 u64 end_byte = bytenr + len; in btrfs_del_csums() local
886 key.offset = end_byte - 1; in btrfs_del_csums()
907 if (key.offset >= end_byte) in btrfs_del_csums()
919 if (key.offset >= bytenr && csum_end <= end_byte) { in btrfs_del_csums()
951 } else if (key.offset < bytenr && csum_end > end_byte) { in btrfs_del_csums()
996 key.offset = end_byte - 1; in btrfs_del_csums()