Lines Matching refs:alloc_end
3152 u64 alloc_end = round_up(offset + len, sectorsize); in btrfs_zero_range() local
3159 alloc_end - alloc_start); in btrfs_zero_range()
3227 alloc_end = alloc_start + sectorsize; in btrfs_zero_range()
3232 alloc_end = round_down(offset + len, sectorsize); in btrfs_zero_range()
3263 alloc_end = round_up(offset + len, sectorsize); in btrfs_zero_range()
3276 if (alloc_start < alloc_end) { in btrfs_zero_range()
3279 const u64 lockend = alloc_end - 1; in btrfs_zero_range()
3281 bytes_to_reserve = alloc_end - alloc_start; in btrfs_zero_range()
3299 alloc_end - alloc_start, in btrfs_zero_range()
3332 u64 alloc_end; in btrfs_fallocate() local
3345 alloc_end = round_up(offset + len, blocksize); in btrfs_fallocate()
3363 alloc_end - alloc_start); in btrfs_fallocate()
3404 alloc_end - alloc_start); in btrfs_fallocate()
3414 locked_end = alloc_end - 1; in btrfs_fallocate()
3428 ordered->file_offset < alloc_end) { in btrfs_fallocate()
3438 alloc_end - alloc_start); in btrfs_fallocate()
3450 while (cur_offset < alloc_end) { in btrfs_fallocate()
3452 alloc_end - cur_offset); in btrfs_fallocate()
3457 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
3524 cur_offset, alloc_end - cur_offset); in btrfs_fallocate()