Home
last modified time | relevance | path

Searched refs:remap_bytes (Results 1 – 4 of 4) sorted by relevance

/linux/fs/btrfs/
H A Dblock-group.h136 u64 remap_bytes; member
299 bg->remap_bytes > 0); in btrfs_is_block_group_used()
H A Dblock-group.c2510 cache->remap_bytes = btrfs_stack_block_group_v2_remap_bytes(bgi); in read_one_block_group()
2511 cache->last_remap_bytes = cache->remap_bytes; in read_one_block_group()
2578 } else if (cache->used == 0 && cache->remap_bytes == 0) { in read_one_block_group()
2598 if (cache->used == 0 && cache->remap_bytes == 0) { in read_one_block_group()
2810 btrfs_set_stack_block_group_v2_remap_bytes(&bgi, block_group->remap_bytes); in insert_block_group_item()
2814 block_group->last_remap_bytes = block_group->remap_bytes; in insert_block_group_item()
3287 u64 used, remap_bytes; in update_block_group_item() local
3306 remap_bytes = cache->remap_bytes; in update_block_group_item()
3310 cache->last_remap_bytes == remap_bytes && in update_block_group_item()
3317 cache->last_remap_bytes = remap_bytes; in update_block_group_item()
[all …]
H A Dtree-checker.c824 u64 remap_bytes; in check_block_group_item() local
828 remap_bytes = btrfs_block_group_v2_remap_bytes(leaf, bgi2); in check_block_group_item()
830 if (unlikely(remap_bytes > key->offset)) { in check_block_group_item()
833 remap_bytes, key->offset); in check_block_group_item()
H A Drelocation.c4063 bg->remap_bytes += diff; in adjust_block_group_remap_bytes()
4064 if (bg->used == 0 && bg->remap_bytes == 0) in adjust_block_group_remap_bytes()
4477 while (bg->remap_bytes > 0) { in move_existing_remaps()
4537 ASSERT(bg->remap_bytes == 0); in move_existing_remaps()
5543 if (bg->remap_bytes != 0) { in btrfs_relocate_block_group()