Lines Matching refs:alloc_start
2635 u64 alloc_start; in btrfs_fallocate() local
2644 alloc_start = round_down(offset, blocksize); in btrfs_fallocate()
2659 ret = btrfs_alloc_data_chunk_ondemand(inode, alloc_end - alloc_start); in btrfs_fallocate()
2675 if (alloc_start > inode->i_size) { in btrfs_fallocate()
2677 alloc_start); in btrfs_fallocate()
2695 ret = btrfs_wait_ordered_range(inode, alloc_start, in btrfs_fallocate()
2696 alloc_end - alloc_start); in btrfs_fallocate()
2707 lock_extent_bits(&BTRFS_I(inode)->io_tree, alloc_start, in btrfs_fallocate()
2712 ordered->file_offset + ordered->len > alloc_start && in btrfs_fallocate()
2716 alloc_start, locked_end, in btrfs_fallocate()
2722 ret = btrfs_wait_ordered_range(inode, alloc_start, in btrfs_fallocate()
2723 alloc_end - alloc_start); in btrfs_fallocate()
2735 cur_offset = alloc_start; in btrfs_fallocate()
2810 unlock_extent_cached(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, in btrfs_fallocate()
2820 btrfs_qgroup_free_data(inode, alloc_start, alloc_end - alloc_start); in btrfs_fallocate()
2823 btrfs_free_reserved_data_space(inode, alloc_start, in btrfs_fallocate()
2824 alloc_end - alloc_start); in btrfs_fallocate()