Lines Matching refs:block_end
4589 u64 block_end; in btrfs_truncate_block() local
4596 block_end = block_start + blocksize - 1; in btrfs_truncate_block()
4641 lock_extent_bits(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
4646 unlock_extent_cached(io_tree, block_start, block_end, in btrfs_truncate_block()
4655 clear_extent_bit(&BTRFS_I(inode)->io_tree, block_start, block_end, in btrfs_truncate_block()
4659 ret = btrfs_set_extent_delalloc(BTRFS_I(inode), block_start, block_end, 0, in btrfs_truncate_block()
4662 unlock_extent_cached(io_tree, block_start, block_end, in btrfs_truncate_block()
4682 unlock_extent_cached(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
4686 block_end, EXTENT_NORESERVE, NULL, NULL, in btrfs_truncate_block()
4767 u64 block_end = ALIGN(size, fs_info->sectorsize); in btrfs_cont_expand() local
4786 block_end - 1, &cached_state); in btrfs_cont_expand()
4790 block_end - cur_offset); in btrfs_cont_expand()
4796 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()
4854 if (cur_offset >= block_end) in btrfs_cont_expand()
4858 unlock_extent_cached(io_tree, hole_start, block_end - 1, &cached_state); in btrfs_cont_expand()