Lines Matching defs:bytenr
216 * This will return the block group at or after bytenr if contains is 0, else
217 * it will return the block group that contains the bytenr
220 struct btrfs_fs_info *info, u64 bytenr, int contains)
234 if (bytenr < start) {
238 } else if (bytenr > start) {
239 if (contains && bytenr <= end) {
257 * Return the block group that starts at or after bytenr
260 struct btrfs_fs_info *info, u64 bytenr)
262 return block_group_cache_tree_search(info, bytenr, 0);
266 * Return the block group that contains the given bytenr
269 struct btrfs_fs_info *info, u64 bytenr)
271 return block_group_cache_tree_search(info, bytenr, 1);
305 * @bytenr: Logical start address of the extent.
317 u64 bytenr)
322 bg = btrfs_lookup_block_group(fs_info, bytenr);
2075 u64 bytenr;
2124 bytenr = chunk_start + stripe_nr * io_stripe_size + offset;
2128 if (buf[j] == bytenr) {
2135 buf[nr++] = bytenr;
2150 u64 bytenr;
2166 bytenr = btrfs_sb_offset(i);
2168 bytenr, &logical, &nr, &stripe_len);
3588 u64 bytenr, u64 num_bytes, bool alloc)
3612 cache = btrfs_lookup_block_group(info, bytenr);
3629 byte_in_group = bytenr - cache->start;
3665 bytenr, bytenr + num_bytes - 1,
3693 bytenr += num_bytes;