Lines Matching refs:alloc_end
3113 u64 alloc_end = round_up(offset + len, sectorsize); in btrfs_zero_range() local
3120 alloc_end - alloc_start); in btrfs_zero_range()
3187 alloc_end = alloc_start + sectorsize; in btrfs_zero_range()
3192 alloc_end = round_down(offset + len, sectorsize); in btrfs_zero_range()
3223 alloc_end = round_up(offset + len, sectorsize); in btrfs_zero_range()
3235 if (alloc_start < alloc_end) { in btrfs_zero_range()
3238 const u64 lockend = alloc_end - 1; in btrfs_zero_range()
3240 bytes_to_reserve = alloc_end - alloc_start; in btrfs_zero_range()
3258 alloc_end - alloc_start, in btrfs_zero_range()
3291 u64 alloc_end; in btrfs_fallocate() local
3300 alloc_end = round_up(offset + len, blocksize); in btrfs_fallocate()
3318 alloc_end - alloc_start); in btrfs_fallocate()
3363 alloc_end - alloc_start); in btrfs_fallocate()
3373 locked_end = alloc_end - 1; in btrfs_fallocate()
3387 ordered->file_offset < alloc_end) { in btrfs_fallocate()
3397 alloc_end - alloc_start); in btrfs_fallocate()
3409 while (cur_offset < alloc_end) { in btrfs_fallocate()
3411 alloc_end - cur_offset); in btrfs_fallocate()
3416 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
3483 cur_offset, alloc_end - cur_offset); in btrfs_fallocate()