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.c46 static int link_free_space(struct btrfs_free_space_ctl *ctl,
48 static void unlink_free_space(struct btrfs_free_space_ctl *ctl,
50 static int search_bitmap(struct btrfs_free_space_ctl *ctl,
53 static void free_bitmap(struct btrfs_free_space_ctl *ctl,
55 static void bitmap_clear_bits(struct btrfs_free_space_ctl *ctl,
64 static void __btrfs_remove_free_space_cache(struct btrfs_free_space_ctl *ctl) in __btrfs_remove_free_space_cache()
689 static void recalculate_thresholds(struct btrfs_free_space_ctl *ctl) in recalculate_thresholds()
734 struct btrfs_free_space_ctl *ctl, in __load_free_space_cache()
899 struct btrfs_free_space_ctl *ctl) in copy_free_space_cache()
942 struct btrfs_free_space_ctl *ct in load_free_space_cache()
[all...]
H A Dfree-space-cache.h68 * btrfs_free_space_ctl.
76 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.h173 struct btrfs_free_space_ctl *free_space_ctl;
H A Ddiscard.c651 struct btrfs_free_space_ctl *ctl; in btrfs_discard_update_discardable()
H A Dextent-tree.c3786 struct btrfs_free_space_ctl *free_space_ctl; in find_free_extent_unclustered()
3855 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()