Lines Matching refs:block_end
4847 u64 block_end; in btrfs_truncate_block() local
4854 block_end = block_start + blocksize - 1; in btrfs_truncate_block()
4886 lock_extent_bits(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
4891 unlock_extent_cached(io_tree, block_start, block_end, in btrfs_truncate_block()
4900 clear_extent_bit(&BTRFS_I(inode)->io_tree, block_start, block_end, in btrfs_truncate_block()
4905 ret = btrfs_set_extent_delalloc(inode, block_start, block_end, 0, in btrfs_truncate_block()
4908 unlock_extent_cached(io_tree, block_start, block_end, in btrfs_truncate_block()
4928 unlock_extent_cached(io_tree, block_start, block_end, &cached_state); in btrfs_truncate_block()
5001 u64 block_end = ALIGN(size, fs_info->sectorsize); in btrfs_cont_expand() local
5022 lock_extent_bits(io_tree, hole_start, block_end - 1, in btrfs_cont_expand()
5025 block_end - hole_start); in btrfs_cont_expand()
5028 unlock_extent_cached(io_tree, hole_start, block_end - 1, in btrfs_cont_expand()
5037 block_end - cur_offset, 0); in btrfs_cont_expand()
5043 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()
5090 if (cur_offset >= block_end) in btrfs_cont_expand()
5094 unlock_extent_cached(io_tree, hole_start, block_end - 1, &cached_state); in btrfs_cont_expand()