Lines Matching refs:alloc_end
3219 u64 alloc_end = round_up(offset + len, sectorsize); in btrfs_zero_range() local
3226 alloc_end - alloc_start); in btrfs_zero_range()
3294 alloc_end = alloc_start + sectorsize; in btrfs_zero_range()
3299 alloc_end = round_down(offset + len, sectorsize); in btrfs_zero_range()
3330 alloc_end = round_up(offset + len, sectorsize); in btrfs_zero_range()
3343 if (alloc_start < alloc_end) { in btrfs_zero_range()
3346 const u64 lockend = alloc_end - 1; in btrfs_zero_range()
3348 bytes_to_reserve = alloc_end - alloc_start; in btrfs_zero_range()
3366 alloc_end - alloc_start, in btrfs_zero_range()
3399 u64 alloc_end; in btrfs_fallocate() local
3412 alloc_end = round_up(offset + len, blocksize); in btrfs_fallocate()
3430 alloc_end - alloc_start); in btrfs_fallocate()
3471 alloc_end - alloc_start); in btrfs_fallocate()
3481 locked_end = alloc_end - 1; in btrfs_fallocate()
3495 ordered->file_offset < alloc_end) { in btrfs_fallocate()
3505 alloc_end - alloc_start); in btrfs_fallocate()
3517 while (cur_offset < alloc_end) { in btrfs_fallocate()
3519 alloc_end - cur_offset); in btrfs_fallocate()
3524 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
3591 cur_offset, alloc_end - cur_offset); in btrfs_fallocate()