Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dfree-space-cache.c47 static int link_free_space(struct btrfs_free_space_ctl *ctl,
49 static void unlink_free_space(struct btrfs_free_space_ctl *ctl,
51 static int search_bitmap(struct btrfs_free_space_ctl *ctl,
54 static void free_bitmap(struct btrfs_free_space_ctl *ctl,
56 static void bitmap_clear_bits(struct btrfs_free_space_ctl *ctl,
65 static void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache()
690 static void recalculate_thresholds(struct btrfs_free_space_ctl *ctl) in recalculate_thresholds()
735 struct btrfs_free_space_ctl *ctl, in __load_free_space_cache()
900 struct btrfs_free_space_ctl *ctl) in copy_free_space_cache()
943 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in load_free_space_cache()
[all …]
H A Dfree-space-cache.h76 struct btrfs_free_space_ctl { struct
95 bool (*use_bitmap)(struct btrfs_free_space_ctl *ctl, argument
135 struct btrfs_free_space_ctl *ctl);
H A Dblock-group.h185 struct btrfs_free_space_ctl *free_space_ctl;
H A Ddiscard.c689 struct btrfs_free_space_ctl *ctl; in btrfs_discard_update_discardable()
H A Dextent-tree.c3963 struct btrfs_free_space_ctl *free_space_ctl; in find_free_extent_unclustered()
4032 struct btrfs_free_space_ctl *ctl = block_group->free_space_ctl; in do_allocation_zoned()
/linux/fs/btrfs/tests/
H A Dfree-space-tests.c325 static bool test_use_bitmap(struct btrfs_free_space_ctl *ctl, in test_use_bitmap()
827 static bool bytes_index_use_bitmap(struct btrfs_free_space_ctl *ctl, in bytes_index_use_bitmap()
839 struct btrfs_free_space_ctl *ctl = cache->free_space_ctl; in test_bytes_index()