Lines Matching refs:alloc_end
2989 u64 alloc_end = round_up(offset + len, sectorsize); in btrfs_zero_range() local
2996 alloc_start, alloc_end - alloc_start, 0); in btrfs_zero_range()
3063 alloc_end = alloc_start + sectorsize; in btrfs_zero_range()
3068 alloc_end = round_down(offset + len, sectorsize); in btrfs_zero_range()
3098 alloc_end = round_up(offset + len, sectorsize); in btrfs_zero_range()
3110 if (alloc_start < alloc_end) { in btrfs_zero_range()
3113 const u64 lockend = alloc_end - 1; in btrfs_zero_range()
3115 bytes_to_reserve = alloc_end - alloc_start; in btrfs_zero_range()
3130 alloc_end - alloc_start, in btrfs_zero_range()
3163 u64 alloc_end; in btrfs_fallocate() local
3172 alloc_end = round_up(offset + len, blocksize); in btrfs_fallocate()
3190 alloc_end - alloc_start); in btrfs_fallocate()
3231 alloc_end - alloc_start); in btrfs_fallocate()
3241 locked_end = alloc_end - 1; in btrfs_fallocate()
3254 ordered->file_offset < alloc_end) { in btrfs_fallocate()
3264 alloc_end - alloc_start); in btrfs_fallocate()
3276 while (cur_offset < alloc_end) { in btrfs_fallocate()
3278 alloc_end - cur_offset, 0); in btrfs_fallocate()
3283 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
3348 cur_offset, alloc_end - cur_offset); in btrfs_fallocate()