Home
last modified time | relevance | path

Searched refs:alloc_offset (Results 1 – 5 of 5) sorted by relevance

/linux/fs/btrfs/
A Dzoned.c1336 cache->alloc_offset = 0; in btrfs_load_block_group_zone_info()
1342 cache->alloc_offset = last_alloc; in btrfs_load_block_group_zone_info()
1360 cache->alloc_offset = alloc_offsets[0]; in btrfs_load_block_group_zone_info()
1386 if (cache->alloc_offset > fs_info->zone_size) { in btrfs_load_block_group_zone_info()
1389 cache->alloc_offset, cache->start); in btrfs_load_block_group_zone_info()
1393 if (cache->alloc_offset > cache->zone_capacity) { in btrfs_load_block_group_zone_info()
1396 cache->alloc_offset, cache->zone_capacity, in btrfs_load_block_group_zone_info()
1405 logical, last_alloc, cache->alloc_offset); in btrfs_load_block_group_zone_info()
1432 unusable = (cache->alloc_offset - cache->used) + in btrfs_calc_zone_unusable()
1434 free = cache->zone_capacity - cache->alloc_offset; in btrfs_calc_zone_unusable()
[all …]
A Dblock-group.h204 u64 alloc_offset; member
A Dfree-space-cache.c2556 else if (offset >= block_group->alloc_offset) in __btrfs_add_free_space_zoned()
2558 else if (offset + size <= block_group->alloc_offset) in __btrfs_add_free_space_zoned()
2561 to_free = offset + size - block_group->alloc_offset; in __btrfs_add_free_space_zoned()
2574 block_group->alloc_offset -= size; in __btrfs_add_free_space_zoned()
2663 if (block_group->start + block_group->alloc_offset < in btrfs_remove_free_space()
2665 block_group->alloc_offset = in btrfs_remove_free_space()
2771 block_group->zone_capacity - block_group->alloc_offset, in btrfs_dump_free_space()
A Dextent-tree.c3796 block_group->alloc_offset == block_group->zone_capacity) { in do_allocation_zoned()
3842 WARN_ON_ONCE(block_group->alloc_offset > block_group->zone_capacity); in do_allocation_zoned()
3843 avail = block_group->zone_capacity - block_group->alloc_offset; in do_allocation_zoned()
3863 ffe_ctl->found_offset = start + block_group->alloc_offset; in do_allocation_zoned()
3864 block_group->alloc_offset += num_bytes; in do_allocation_zoned()
A Dblock-group.c2635 (cache->alloc_offset - cache->used) + in btrfs_dec_block_group_ro()

Completed in 33 milliseconds