Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dfree-space-cache.c942 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache()
1075 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in write_cache_extent_entries()
1372 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_write_out_cache()
2625 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_add_free_space()
2694 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_add_free_space_zoned()
2803 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space()
2917 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_dump_free_space()
2977 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in __btrfs_return_cluster_to_free_space()
3030 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_remove_free_space_cache()
3056 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in btrfs_is_free_space_trimmed()
[all …]
H A Dblock-group.h183 struct btrfs_free_space_ctl *free_space_ctl; member
H A Dextent-tree.c3967 struct btrfs_free_space_ctl *free_space_ctl; in find_free_extent_unclustered() local
3969 free_space_ctl = bg->free_space_ctl; in find_free_extent_unclustered()
3970 spin_lock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()
3971 if (free_space_ctl->free_space < in find_free_extent_unclustered()
3976 free_space_ctl->free_space); in find_free_extent_unclustered()
3977 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()
3980 spin_unlock(&free_space_ctl->tree_lock); in find_free_extent_unclustered()
4034 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in do_allocation_zoned()
H A Dblock-group.c211 kmem_cache_free(free_space_ctl_cache, cache->free_space_ctl); in btrfs_put_block_group()
499 (cache->free_space_ctl->free_space >= num_bytes))); in btrfs_wait_block_group_cache_progress()
2412 cache->free_space_ctl = kmem_cache_zalloc(free_space_ctl_cache, GFP_NOFS); in btrfs_create_block_group()
2413 if (!cache->free_space_ctl) { in btrfs_create_block_group()
2436 btrfs_init_free_space_ctl(cache, cache->free_space_ctl); in btrfs_create_block_group()
H A Dzoned.c2037 cache->free_space_ctl->free_space = free; in btrfs_calc_zone_unusable()
2621 block_group->free_space_ctl->free_space = 0; in do_zone_finish()
3219 bg->free_space_ctl->free_space += reclaimed; in btrfs_reset_unused_block_groups()