Lines Matching refs:alloc_end
2557 u64 alloc_end; in btrfs_fallocate() local
2565 alloc_end = round_up(offset + len, blocksize); in btrfs_fallocate()
2578 ret = btrfs_check_data_free_space(inode, alloc_end - alloc_start, alloc_end - alloc_start); in btrfs_fallocate()
2583 ret = inode_newsize_ok(inode, alloc_end); in btrfs_fallocate()
2608 alloc_end - alloc_start); in btrfs_fallocate()
2612 locked_end = alloc_end - 1; in btrfs_fallocate()
2622 alloc_end - 1); in btrfs_fallocate()
2625 ordered->file_offset < alloc_end) { in btrfs_fallocate()
2635 alloc_end - alloc_start); in btrfs_fallocate()
2650 alloc_end - cur_offset, 0); in btrfs_fallocate()
2658 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
2701 if (cur_offset >= alloc_end) { in btrfs_fallocate()
2711 btrfs_free_reserved_data_space(inode, alloc_end - alloc_start); in btrfs_fallocate()