Lines Matching refs:alloc_end
2792 u64 alloc_end = round_up(offset + len, sectorsize); in btrfs_zero_range() local
2799 alloc_start, alloc_end - alloc_start, 0); in btrfs_zero_range()
2866 alloc_end = alloc_start + sectorsize; in btrfs_zero_range()
2871 alloc_end = round_down(offset + len, sectorsize); in btrfs_zero_range()
2901 alloc_end = round_up(offset + len, sectorsize); in btrfs_zero_range()
2913 if (alloc_start < alloc_end) { in btrfs_zero_range()
2916 const u64 lockend = alloc_end - 1; in btrfs_zero_range()
2918 bytes_to_reserve = alloc_end - alloc_start; in btrfs_zero_range()
2933 alloc_end - alloc_start, in btrfs_zero_range()
2966 u64 alloc_end; in btrfs_fallocate() local
2975 alloc_end = round_up(offset + len, blocksize); in btrfs_fallocate()
2993 alloc_end - alloc_start); in btrfs_fallocate()
3034 alloc_end - alloc_start); in btrfs_fallocate()
3044 locked_end = alloc_end - 1; in btrfs_fallocate()
3057 ordered->file_offset < alloc_end) { in btrfs_fallocate()
3067 alloc_end - alloc_start); in btrfs_fallocate()
3079 while (cur_offset < alloc_end) { in btrfs_fallocate()
3081 alloc_end - cur_offset, 0); in btrfs_fallocate()
3086 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
3150 alloc_start, alloc_end - cur_offset); in btrfs_fallocate()