Lines Matching refs:end_byte
898 u64 end_byte = bytenr + len; in truncate_one_csum() local
906 if (key->offset < bytenr && csum_end <= end_byte) { in truncate_one_csum()
916 } else if (key->offset >= bytenr && csum_end > end_byte && in truncate_one_csum()
917 end_byte > key->offset) { in truncate_one_csum()
924 u32 new_size = (csum_end - end_byte) >> blocksize_bits; in truncate_one_csum()
929 key->offset = end_byte; in truncate_one_csum()
945 u64 end_byte = bytenr + len; in btrfs_del_csums() local
961 key.offset = end_byte - 1; in btrfs_del_csums()
982 if (key.offset >= end_byte) in btrfs_del_csums()
994 if (key.offset >= bytenr && csum_end <= end_byte) { in btrfs_del_csums()
1026 } else if (key.offset < bytenr && csum_end > end_byte) { in btrfs_del_csums()
1071 key.offset = end_byte - 1; in btrfs_del_csums()