Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Dzoned.c1453 cache->alloc_offset = last_alloc; in btrfs_load_block_group_zone_info()
1468 cache->alloc_offset = alloc_offsets[0]; in btrfs_load_block_group_zone_info()
1509 cache->alloc_offset = alloc_offsets[0]; in btrfs_load_block_group_zone_info()
1526 if (cache->alloc_offset > fs_info->zone_size) { in btrfs_load_block_group_zone_info()
1529 cache->alloc_offset, cache->start); in btrfs_load_block_group_zone_info()
1533 if (cache->alloc_offset > cache->zone_capacity) { in btrfs_load_block_group_zone_info()
1536 cache->alloc_offset, cache->zone_capacity, in btrfs_load_block_group_zone_info()
1542 if (!ret && num_conventional && last_alloc > cache->alloc_offset) { in btrfs_load_block_group_zone_info()
1545 logical, last_alloc, cache->alloc_offset); in btrfs_load_block_group_zone_info()
1550 cache->meta_write_pointer = cache->alloc_offset + cache->start; in btrfs_load_block_group_zone_info()
[all …]
Dblock-group.h227 u64 alloc_offset; member
Dzoned.h417 return (bg->alloc_offset == bg->zone_capacity); in btrfs_zoned_bg_is_full()
Dfree-space-cache.c2691 else if (offset >= block_group->alloc_offset) in __btrfs_add_free_space_zoned()
2693 else if (offset + size <= block_group->alloc_offset) in __btrfs_add_free_space_zoned()
2696 to_free = offset + size - block_group->alloc_offset; in __btrfs_add_free_space_zoned()
2709 block_group->alloc_offset -= size; in __btrfs_add_free_space_zoned()
2794 if (block_group->start + block_group->alloc_offset < in btrfs_remove_free_space()
2796 block_group->alloc_offset = in btrfs_remove_free_space()
2902 block_group->zone_capacity - block_group->alloc_offset, in btrfs_dump_free_space()
Dextent-tree.c3838 WARN_ON_ONCE(block_group->alloc_offset > block_group->zone_capacity); in do_allocation_zoned()
3839 avail = block_group->zone_capacity - block_group->alloc_offset; in do_allocation_zoned()
3859 ffe_ctl->found_offset = start + block_group->alloc_offset; in do_allocation_zoned()
3860 block_group->alloc_offset += num_bytes; in do_allocation_zoned()
Dblock-group.c2669 (cache->alloc_offset - cache->used) + in btrfs_dec_block_group_ro()