Lines Matching refs:alloc_start
2556 u64 alloc_start; in btrfs_fallocate() local
2564 alloc_start = round_down(offset, blocksize); in btrfs_fallocate()
2578 ret = btrfs_check_data_free_space(inode, alloc_end - alloc_start, alloc_end - alloc_start); in btrfs_fallocate()
2587 if (alloc_start > inode->i_size) { in btrfs_fallocate()
2589 alloc_start); in btrfs_fallocate()
2607 ret = btrfs_wait_ordered_range(inode, alloc_start, in btrfs_fallocate()
2608 alloc_end - alloc_start); in btrfs_fallocate()
2619 lock_extent_bits(&BTRFS_I(inode)->io_tree, alloc_start, in btrfs_fallocate()
2624 ordered->file_offset + ordered->len > alloc_start && in btrfs_fallocate()
2628 alloc_start, locked_end, in btrfs_fallocate()
2634 ret = btrfs_wait_ordered_range(inode, alloc_start, in btrfs_fallocate()
2635 alloc_end - alloc_start); in btrfs_fallocate()
2645 cur_offset = alloc_start; in btrfs_fallocate()
2706 unlock_extent_cached(&BTRFS_I(inode)->io_tree, alloc_start, locked_end, in btrfs_fallocate()
2711 btrfs_free_reserved_data_space(inode, alloc_end - alloc_start); in btrfs_fallocate()