Searched refs:free_space_ctl (Results 1 - 8 of 8) sorted by relevance

/linux-master/fs/btrfs/tests/
H A Dfree-space-tests.c337 if (cache->free_space_ctl->free_extents != num_extents) {
340 cache->free_space_ctl->free_extents, num_extents);
343 if (cache->free_space_ctl->total_bitmaps != num_bitmaps) {
346 cache->free_space_ctl->total_bitmaps, num_bitmaps);
362 if (cache->free_space_ctl->free_space != 0) {
419 * cache->free_space_ctl->extents_thresh, which currently is
426 orig_free_space_ops = cache->free_space_ctl->op;
427 cache->free_space_ctl->op = &test_free_space_ops;
591 if (cache->free_space_ctl->free_space != (SZ_1M + sectorsize)) {
614 if (cache->free_space_ctl
[all...]
H A Dbtrfs-tests.c223 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl),
225 if (!cache->free_space_ctl) {
238 btrfs_init_free_space_ctl(cache, cache->free_space_ctl);
249 kfree(cache->free_space_ctl);
/linux-master/fs/btrfs/
H A Dfree-space-cache.c944 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
1522 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2627 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2696 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2798 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2912 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
2978 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3031 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3057 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
3084 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
[all...]
H A Dblock-group.h171 struct btrfs_free_space_ctl *free_space_ctl; member in struct:btrfs_block_group
H A Ddiscard.c648 ctl = block_group->free_space_ctl;
H A Dextent-tree.c3795 struct btrfs_free_space_ctl *free_space_ctl; local
3797 free_space_ctl = bg->free_space_ctl;
3798 spin_lock(&free_space_ctl->tree_lock);
3799 if (free_space_ctl->free_space <
3804 free_space_ctl->free_space);
3805 spin_unlock(&free_space_ctl->tree_lock);
3808 spin_unlock(&free_space_ctl->tree_lock);
3864 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl;
H A Dblock-group.c170 kfree(cache->free_space_ctl);
460 (cache->free_space_ctl->free_space >= num_bytes)));
2201 cache->free_space_ctl = kzalloc(sizeof(*cache->free_space_ctl),
2203 if (!cache->free_space_ctl) {
2226 btrfs_init_free_space_ctl(cache, cache->free_space_ctl);
H A Dzoned.c1707 cache->free_space_ctl->free_space = free;
2244 block_group->free_space_ctl->free_space = 0;

Completed in 303 milliseconds