Lines Matching refs:alloc_end
3100 u64 alloc_end = round_up(offset + len, sectorsize); in btrfs_zero_range() local
3107 alloc_end - alloc_start); in btrfs_zero_range()
3174 alloc_end = alloc_start + sectorsize; in btrfs_zero_range()
3179 alloc_end = round_down(offset + len, sectorsize); in btrfs_zero_range()
3210 alloc_end = round_up(offset + len, sectorsize); in btrfs_zero_range()
3222 if (alloc_start < alloc_end) { in btrfs_zero_range()
3225 const u64 lockend = alloc_end - 1; in btrfs_zero_range()
3227 bytes_to_reserve = alloc_end - alloc_start; in btrfs_zero_range()
3242 alloc_end - alloc_start, in btrfs_zero_range()
3275 u64 alloc_end; in btrfs_fallocate() local
3284 alloc_end = round_up(offset + len, blocksize); in btrfs_fallocate()
3302 alloc_end - alloc_start); in btrfs_fallocate()
3343 alloc_end - alloc_start); in btrfs_fallocate()
3353 locked_end = alloc_end - 1; in btrfs_fallocate()
3367 ordered->file_offset < alloc_end) { in btrfs_fallocate()
3377 alloc_end - alloc_start); in btrfs_fallocate()
3389 while (cur_offset < alloc_end) { in btrfs_fallocate()
3391 alloc_end - cur_offset); in btrfs_fallocate()
3396 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
3463 cur_offset, alloc_end - cur_offset); in btrfs_fallocate()