Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dblock-group.h135 u64 remap_bytes; member
298 bg->remap_bytes > 0); in btrfs_is_block_group_used()
H A Dblock-group.c2445 cache->remap_bytes = btrfs_stack_block_group_v2_remap_bytes(bgi); in read_one_block_group()
2446 cache->last_remap_bytes = cache->remap_bytes; in read_one_block_group()
2513 } else if (cache->used == 0 && cache->remap_bytes == 0) { in read_one_block_group()
2533 if (cache->used == 0 && cache->remap_bytes == 0) { in read_one_block_group()
2746 btrfs_set_stack_block_group_v2_remap_bytes(&bgi, block_group->remap_bytes); in insert_block_group_item()
2750 block_group->last_remap_bytes = block_group->remap_bytes; in insert_block_group_item()
3223 u64 used, remap_bytes; in update_block_group_item() local
3242 remap_bytes = cache->remap_bytes; in update_block_group_item()
3246 cache->last_remap_bytes == remap_bytes && in update_block_group_item()
3253 cache->last_remap_bytes = remap_bytes; in update_block_group_item()
[all …]
H A Daccessors.h255 struct btrfs_block_group_item_v2, remap_bytes, 64);
257 remap_bytes, 64);
H A Ddiscard.c234 return bg->used == 0 && bg->remap_bytes == 0; in block_group_is_empty()
H A Drelocation.c3948 bg->remap_bytes += diff; in adjust_block_group_remap_bytes()
3949 if (bg->used == 0 && bg->remap_bytes == 0) in adjust_block_group_remap_bytes()
4356 while (bg->remap_bytes > 0) { in move_existing_remaps()
4416 ASSERT(bg->remap_bytes == 0); in move_existing_remaps()
5409 if (bg->remap_bytes != 0) { in btrfs_relocate_block_group()
/linux/include/uapi/linux/
H A Dbtrfs_tree.h1239 __le64 remap_bytes; member