Searched refs:remap_bytes (Results 1 – 3 of 3) sorted by relevance
2476 cache->remap_bytes = btrfs_stack_block_group_v2_remap_bytes(bgi); in read_one_block_group()2477 cache->last_remap_bytes = cache->remap_bytes; in read_one_block_group()2544 } else if (cache->used == 0 && cache->remap_bytes == 0) { in read_one_block_group()2564 if (cache->used == 0 && cache->remap_bytes == 0) { in read_one_block_group()2777 btrfs_set_stack_block_group_v2_remap_bytes(&bgi, block_group->remap_bytes); in insert_block_group_item()2781 block_group->last_remap_bytes = block_group->remap_bytes; in insert_block_group_item()3254 u64 used, remap_bytes; in update_block_group_item() local3273 remap_bytes = cache->remap_bytes; in update_block_group_item()3277 cache->last_remap_bytes == remap_bytes && in update_block_group_item()3284 cache->last_remap_bytes = remap_bytes; in update_block_group_item()[all …]
797 u64 remap_bytes; in check_block_group_item() local801 remap_bytes = btrfs_block_group_v2_remap_bytes(leaf, bgi2); in check_block_group_item()803 if (unlikely(remap_bytes > key->offset)) { in check_block_group_item()806 remap_bytes, key->offset); in check_block_group_item()
3940 bg->remap_bytes += diff; in adjust_block_group_remap_bytes()3941 if (bg->used == 0 && bg->remap_bytes == 0) in adjust_block_group_remap_bytes()4354 while (bg->remap_bytes > 0) { in move_existing_remaps()4414 ASSERT(bg->remap_bytes == 0); in move_existing_remaps()5419 if (bg->remap_bytes != 0) { in btrfs_relocate_block_group()